RadialIndicator visible to observer/allies & Different PowerDelta label when power sabotaged
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
Nightly build for this pull request:
- compiled-dll-25fe7d661dad47e57eef792bf5c9799f846c6da1.zip This comment is automatic and is meant to allow guests to get latest nightly builds without registering. It is updated on every successful build.
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.