You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/User-Interface.md
+34-28Lines changed: 34 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ IngameScore.LoseTheme= ; Soundtrack theme ID
34
34
*Default configuration of digital display using example shapes from [Phobos supplementaries](https://github.com/Phobos-developers/PhobosSupplementaries).*
35
35
36
36
- You can now configure various types of numerical counters to be displayed over Techno to represent its attributes, such as health points or shield points.
37
-
-`Anchor.Horizontal` and `Anchor.Vertical` set the anchor point from which the display is drawn (depending on `Align`) relative to unit's center/selection box. For buildings, `Anchor.Building` is used instead.
37
+
-`Anchor.Horizontal` and `Anchor.Vertical` set the anchor point from which the display is drawn (depending on `Align`) relative to unit's center/selection box. For buildings, `Anchor.Building` is used instead.
38
38
-`Offset` and `Offset.ShieldDelta` (the latter applied when a shield is active) can be used to further modify the position.
39
39
- By default, values are displayed in `current/maximum` format (i.e. 20/40). `HideMaxValue=yes` will make the counter show only the current value (i.e. 20). `Percentage=yes` changes the format to `percent%` (i.e. 50%).
40
40
-`CanSee` and `CanSee.Observer` can limit visibility to specific players.
@@ -46,50 +46,56 @@ IngameScore.LoseTheme= ; Soundtrack theme ID
46
46
- Default `Shape.Spacing` for buildings is `4,-2`, `4,0` for others.
47
47
-`ValueScaleDivisor` can be used to adjust scale of displayed values. Both the current & maximum value will be divided by the integer number given, if higher than 1.
48
48
49
+
- If a TechnoType has a DigitalDisplayType with `InfoType=Health`, it's allowed to display fake values to enemy players.
50
+
-`DigitalDisplay.Health.FakeStrength`, if set, will be used as the maximum value of health display. The current value will be displayed as the percentage of its current health multiplies the new maximum value.
51
+
-`DigitalDisplay.Health.FakeAtDisguise`, if set to true on an InfantryType with Disguise, will use the disguised TechnoType's `Strength` value as the maximum value of health display. The current value will be displayed as the percentage of its current health multiplies the new maximum value. This will be applied before `DigitalDisplay.Health.FakeStrength`.
52
+
49
53
In `rulesmd.ini`:
50
54
```ini
51
55
[DigitalDisplayTypes]
52
56
0=SOMEDIGITALDISPLAYTYPE
53
57
54
58
[AudioVisual]
55
-
Buildings.DefaultDigitalDisplayTypes= ; list of DigitalDisplayTypes
56
-
Infantry.DefaultDigitalDisplayTypes= ; list of DigitalDisplayTypes
57
-
Vehicles.DefaultDigitalDisplayTypes= ; list of DigitalDisplayTypes
58
-
Aircraft.DefaultDigitalDisplayTypes= ; list of DigitalDisplayTypes
59
+
Buildings.DefaultDigitalDisplayTypes= ; list of DigitalDisplayTypes
60
+
Infantry.DefaultDigitalDisplayTypes= ; list of DigitalDisplayTypes
61
+
Vehicles.DefaultDigitalDisplayTypes= ; list of DigitalDisplayTypes
62
+
Aircraft.DefaultDigitalDisplayTypes= ; list of DigitalDisplayTypes
59
63
60
-
[SOMEDIGITALDISPLAYTYPE]; DigitalDisplayType
64
+
[SOMEDIGITALDISPLAYTYPE]; DigitalDisplayType
61
65
; Generic
62
-
InfoType=Health ; Displayed value enumeration (health|shield|ammo|mindcontrol|spawns|passengers|tiberium|experience|occupants|gattlingstage)
0 commit comments