Feature #536

Improve objective visual indicator display

Added by Spyhawk over 4 years ago. Updated over 4 years ago.

Status:New% Done:


Category:Mod CGAME
Target version:2.77
OS: Arch:


This is an idea that was discussed on Silent’s forums, but has been on my mind for quite some time.

Currently, the "objective" icon shows up when you are the objective carrier. However, the only way to check if the objective has been taken by a teammate or the enemy team is to check the scoreboard or/and refers to the audio announcement. Showing a visual indicator at all time might improve objective gameplay.

Silent’s implementation is proposed as follow:
- show a green icon when you are carrying the objective (as currently done)
- show a blue icon when a teammate carry the objective
- show a red icon when an enemy carry the objective

I’m not sure about the best implementation, but this might be a good start. Showing a half-red/half-blue icon when both team carry the obj might be useful too (baserace, darji, ..).


#1 Updated by IR4T4 over 4 years ago

How to deal with maps like baserace? Mabye some players don’t like additional stuff on the screeny. I’m not saying I don’t like this idea in general but isn’t ET about sounds which are given? I doubt this is an improvement of objective gameplay - beginners don’t know these icons anyway and advanced players know the sounds.

For implementation we just have to loop (or find an existing loop) over all clients and extract the info from clientInfo_t: ci→powerups & ((1 << PW_REDFLAG)) and ci→powerups & ((1 << PW_BLUEFLAG))

#2 Updated by Spyhawk over 4 years ago

For the records, and after an IRC discussion, we’ll add this feature with the following implementation:

- different colors according to the team (see above)
- a picked up objectives counter (on the icon)
- a new cvar to fit player preference (0 = disabled/only green icon displayed, x = displayed after x seconds)

#3 Updated by Radegast over 4 years ago

Spyhawk wrote:

- a new cvar to fit player preference (0 = disabled/only green icon displayed, x = displayed after x seconds)

I would rather reuse Jacker’s HUD configuration for this. I cannot test this at the moment, but from what I see in source:etmain/ui/huds.hud#L22 it’s already possible to toggle visibility of HUD elements, so we can just extend it to switch styles as well. UI configuration is something you do once to fit your taste and then you don’t touch it ever again.

#4 Updated by IR4T4 over 4 years ago

A cvar might be forced to disable possible icon flodding on maps like baserace. But this solution isn’t best practise. We have to find a way to deal with multi objective maps.

Also available in: Atom PDF