Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

RadialIndicator visible to observer/allies & Different PowerDelta label when power sabotaged

Open chaserli opened this issue 3 years ago • 2 comments

In vanilla game, when the player selects a defense building, the radial indicator is shown only if it belongs to the player. Now the indicator is also drawn for observers. For other houses it can be specified by

In rulesmd.ini

[AudioVisual]
RadialIndicatorVisibility=allies  ; list of Affected House Enumeration (allies/ally | enemies/enemy | all)

When your power is sabotaged by a spy, the number given by the power delta counter may look confusing to players. Now I replaced it by ⚡✄, which can also be replaced by

In uimd.ini

[ToolTips]
PowerBlackoutLabel=  ; CSF entry key

If [GlobalControls]->DebugKeysEnabled=yes power delta is still displayed

chaserli avatar Sep 29 '22 10:09 chaserli

Nightly build for this pull request:

github-actions[bot] avatar Sep 29 '22 10:09 github-actions[bot]

Code looks alright to me. The visibility control could also be implemented at per-building level with it defaulting to the global setting but I am unsure if there would be need for that degree of customization.

The per-building customization can be used for example for showing the sensors range in defenses capable to detect stealth/diguised units.

In LOL and similar games have it and if I'm not wrong SC2 have this too.

FS-21 avatar Oct 01 '22 09:10 FS-21