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
New InfoType: ROF timer, Reload timer, Spawn timer, Gattling timer,
Produce cash timer, Passenger kill timer, Auto death timer, SW timer,
IronCurtain timer, Temporal remainder, Factory process.
- `InfoIndex` defines the specific `InfoType`.
- In `InfoType=Spawns`, 0 - alive spawns, 1 - docked spawns, 2 -
launching spawns.
- In `InfoType=Tiberium`, 0 - all, 1 - the first tiberium, 2 - the
second tiberium, ...
- In `InfoType=SpawnTimer`, 0 - the fastest spawnee, 1 - the first
spawnee, 2 - the second spawnee, ...
- In `InfoType=SuperWeapon`, 0 - the first SW of all, 1 - SW, 2 - SW2, 3
- the first SWs' SW, ...
- In `InfoType=FactoryProcess`, 0 - the first factory in production, 1 -
primary factory, 2 - secondary factory.
- If `Shape.PercentageFrame` set to true, it will only draw one frame
that corresponds to total frames by percentage.
- `VisibleInSpecialState` controls whether this display type will show
when the owner is in ironcurtain or is attacked by a temporal weapon.
- `ValueAsTimer` controls whether the value will be displayed in the
form of a timer (i.e. 5:00, 25:00 or 1:00:00).
In `rulesmd.ini`:
```ini
InfoType=Health ; Displayed value enumeration (health|shield|ammo|mindcontrol|spawns|passengers|tiberium|experience|occupants|gattlingstage|ROF|Reload|SpawnTimer|GattlingTimer|ProduceCash|PassengerKill|AutoDeath|SuperWeapon|IronCurtain|TemporalLife|FactoryProcess)
InfoIndex= ; integer
Shape.PercentageFrame=false ; boolean
VisibleInSpecialState=true ; boolean
ValueAsTimer=false ; boolean
```
---------
Co-authored-by: Netsu_Negi <[email protected]>
Co-authored-by: Coronia <[email protected]>
Co-authored-by: Fryone <[email protected]>
Co-authored-by: 航味麻酱 <[email protected]>
Co-authored-by: Starkku <[email protected]>
Co-authored-by: Starkku <[email protected]>
Copy file name to clipboardExpand all lines: CREDITS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -486,6 +486,7 @@ This page lists all the individual contributions to the project by their author.
486
486
- Fix an issue that spawned `Strafe` aircraft on aircraft carriers may not be able to return normally if aircraft carriers moved a short distance when the aircraft is landing
487
487
- Exclusive SuperWeapon Sidebar
488
488
- Fix an issue that the widespread damage caused by detonation on the bridge/ground cannot affect objects on the ground/bridge who are in the opposite case
489
+
- Several new Infotypes, no display in specific status and a new single frame display method
Copy file name to clipboardExpand all lines: docs/User-Interface.md
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,19 +35,27 @@ IngameScore.LoseTheme= ; Soundtrack theme ID
35
35
*Default configuration of digital display using example shapes from [Phobos supplementaries](https://github.com/Phobos-developers/PhobosSupplementaries).*
36
36
37
37
- 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 and can be turned on or off via a [new hotkey](#toggle-digital-display).
- In `InfoType=Tiberium`, 0 - all, 1 - the first tiberium, 2 - the second tiberium, ...
41
+
- In `InfoType=SpawnTimer`, 0 - the fastest spawnee, 1 - the first spawnee, 2 - the second spawnee, ...
42
+
- In `InfoType=SuperWeapon`, 0 - the first SW of all, 1 - SW, 2 - SW2, 3 - the first SWs' SW, ...
43
+
- In `InfoType=FactoryProcess`, 0 - the first factory in production, 1 - primary factory, 2 - secondary factory.
38
44
-`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.
39
45
-`Offset` and `Offset.ShieldDelta` (the latter applied when a shield is active) can be used to further modify the position.
40
46
- By default, values are displayed in `current/maximum` format (i.e. `20/40`).
41
47
-`HideMaxValue=yes` will make the counter show only the current value (i.e. `20`), default to whether the techno is infantry or not.
42
48
-`Percentage=yes` changes the format to `percent%` (i.e. `50%`).
49
+
-`ValueAsTimer` controls whether the value will be displayed in the form of a timer (i.e. `0:30`, `5:00` or `1:00:00`).
43
50
-`VisibleToHouses` and `VisibleToHouses.Observer` can limit visibility to specific players.
51
+
-`VisibleInSpecialState` controls whether this display type will show when the owner is in ironcurtain or is attacked by a temporal weapon.
44
52
- The digits can be either a custom shape (.shp) or text drawn using the game font. This depends on whether `Shape` is set.
45
53
-`Text.Color`, `Text.Color.ConditionYellow` and `Text.Color.ConditionRed` allow customization of the font color. `Text.Background=yes` will additionally draw a black rectangle background.
46
-
- When using shapes, a custom palette can be specified with `Palette`. `Shape.Spacing` controls pixel buffer between characters.
47
-
- Frames 0-9 will be used as digits when the owner's health bar is green, 10-19 when yellow, 20-29 when red. For `/` and `%` characters, frame numbers are 30-31, 32-33, 34-35, respectively.
54
+
- When using shapes, a custom palette can be specified with `Palette`. `Shape.Spacing` controls pixel buffer between characters. If `Shape.PercentageFrame` set to true, it will only draw one frame that corresponds to total frames by percentage.
55
+
- Frames 0-9 will be used as digits when the owner's health bar is green, 10-19 when yellow, 20-29 when red. For `/` and `%`(or `:` if set `ValueAsTimer` to true) characters, frame numbers are 30-31, 32-33, 34-35, respectively.
48
56
- Default `Offset.ShieldDelta` for `InfoType=Shield` is `0,-10`, `0,0` for others.
49
57
- Default `Shape.Spacing` for buildings is `4,-2`, `4,0` for others.
50
-
-`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.
58
+
-`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. Default to 1 (or 15 when set `ValueAsTimer` to true).
51
59
52
60
In `rulesmd.ini`:
53
61
```ini
@@ -62,7 +70,8 @@ Aircraft.DefaultDigitalDisplayTypes= ; List of DigitalDisplayTypes
62
70
63
71
[SOMEDIGITALDISPLAYTYPE]; DigitalDisplayType
64
72
; Generic
65
-
InfoType=Health ; Displayed value enumeration (health|shield|ammo|mindcontrol|spawns|passengers|tiberium|experience|occupants|gattlingstage)
73
+
InfoType=Health ; Displayed value enumeration (Health|Shield|Ammo|Mindcontrol|Spawns|Passengers|Tiberium|Experience|Occupants|GattlingStage|ROF|Reload|SpawnTimer|GattlingTimer|ProduceCash|PassengerKill|AutoDeath|SuperWeapon|IronCurtain|TemporalLife|FactoryProcess)
0 commit comments