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/Fixed-or-Improved-Logics.md
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -230,7 +230,7 @@ This page describes all ingame logics that are fixed or improved in Phobos witho
230
230
- Fixed the bug that uncontrolled scatter when elite techno attacked by aircraft or some unit try crush it.
231
231
- Second weapon with `ElectricAssault=yes` will not unconditionally attack your building with `Overpowerable=yes`.
232
232
- Infantry support `IsGattling=yes`.
233
-
- Fixed the 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.
233
+
- Fixed 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.
234
234
- Fixed the bug that `DamageSelf` and `AllowDamageOnSelf` are ineffective on airforce.
235
235
- Fixed the bug that damaged particle dont disappear after building has repaired by engineer.
236
236
- Fixed the issue of incorrect position of `TrailerAnim` in `VoxelAnim`.
@@ -294,7 +294,7 @@ In `rulesmd.ini`:
294
294
[General]
295
295
ExtendedAircraftMissions=false ; boolean
296
296
297
-
[SOMEAIRCRAFT]; AircraftType
297
+
[SOMEAIRCRAFT]; AircraftType
298
298
ExtendedAircraftMissions.SmoothMoving= ; boolean, default to [General] -> ExtendedAircraftMissions
299
299
ExtendedAircraftMissions.EarlyDescend= ; boolean, default to [General] -> ExtendedAircraftMissions
300
300
ExtendedAircraftMissions.RearApproach= ; boolean, default to [General] -> ExtendedAircraftMissions
@@ -1796,7 +1796,7 @@ UseWeeds.ReadinessAnimationPercentage=0.9 ; double - when this many weeds
1796
1796
1797
1797
### Customizable debris trailer anim spawn delay
1798
1798
1799
-
- You can now customize the generation interval of VoxelAnim's trailer animation
1799
+
- You can now customize the generation interval of VoxelAnim's trailer animation.
1800
1800
1801
1801
In `rulesmd.ini`:
1802
1802
```ini
@@ -1858,20 +1858,6 @@ Rocker.AmplitudeMultiplier=1.0 ; floating point value, multiplier
1858
1858
Rocker.AmplitudeOverride= ; integer
1859
1859
```
1860
1860
1861
-
### Customizable Warhead trigger conditions
1862
-
1863
-
- It is now possible to make warheads only trigger when target's HP is above and/or below certain percentage.
1864
-
- Both conditions need to evaluate to true in order for the warhead to trigger.
1865
-
- If set to `false`, `EffectsRequireVerses` makes the Phobos-introduced warhead effects trigger even if it can't damage the target because of it's current ArmorType (e.g. 0% in `Verses`).
1866
-
1867
-
In `rulesmd.ini`:
1868
-
```ini
1869
-
[SOMEWARHEAD]; WarheadType
1870
-
AffectsAbovePercent=0.0 ; floating point value, percents or absolute
1871
-
AffectsBelowPercent=1.0 ; floating point value, percents or absolute
1872
-
EffectsRequireVerses=false ; boolean
1873
-
```
1874
-
1875
1861
### Customizable Warhead animation behaviour
1876
1862
1877
1863
- It is possible to make game play random animation from `AnimList` by setting `AnimList.PickRandom` to true. The result is similar to what `EMEffect=true` produces, however it comes with no side-effects (`EMEffect=true` prevents `Inviso=true` projectiles from snapping on targets, making them miss moving targets).
- It is now possible to make warheads only trigger when target's HP is above and/or below certain percentage.
1893
+
- Both conditions need to evaluate to true in order for the warhead to trigger.
1894
+
- If set to `false`, `EffectsRequireVerses` makes the Phobos-introduced warhead effects trigger even if it can't damage the target because of it's current ArmorType (e.g. 0% in `Verses`).
1895
+
1896
+
In `rulesmd.ini`:
1897
+
```ini
1898
+
[SOMEWARHEAD]; WarheadType
1899
+
AffectsAbovePercent=0.0 ; floating point value, percents or absolute
1900
+
AffectsBelowPercent=1.0 ; floating point value, percents or absolute
1901
+
EffectsRequireVerses=false ; boolean
1902
+
```
1903
+
1904
1904
### Customizing decloak on damaging targets
1905
1905
1906
1906
- You can now specify whether or not the warhead decloaks objects that are damaged by the warhead.
Copy file name to clipboardExpand all lines: docs/General-Info.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,10 @@ There are three main types of Phobos builds:
9
9
-*development builds* - those are the builds which contain functionality that needs to be tested. They are numbered plainly starting from 0 and incrementing the number on each release. Mod authors still can include those versions with their mods if they want latest features, though we can't guarantee lack of bugs;
10
10
-*nightly builds* - bleeding edge versions which can include prototypes, proofs of concepts, scrapped features etc., in other words - we can't guarantee anything in those builds and they absolutely should NOT be used in mod releases and should only be used to help with development and testing.
11
11
12
+
```{hint}
13
+
You can find the downloads for these versions on the document's [main page](index.md#downloads).
14
+
```
15
+
12
16
### Disabling development build warning
13
17
14
18
**DISCLAIMER:** We understand that everyone wants to try and use the new features as soon as they're released, but we can't do all the testing ourselves, so we only test the functionality on a basic level. We ask everyone who uses the new development build first to **test the new changes in every possible way first before disabling the development build warning** and proceeding to include the build in your mod release. This would allow us to concentrate on implementing the actual features, which is the most complex task. Learn more on testing [here](Contributing.md#testing).
- Can be used with `CellSpread` and Ares' GenericWarhead superweapon where applicable.
1896
1896
- Cannot be used with `MindControl.Permanent=yes` of Ares.
1897
-
- Respect `Verses` where applicable unless `EffectsRequireVerses` is set to `false`. If target has an active shield, its armor type is used instead unless warhead can penetrate the shield.
1897
+
- Respect `Verses` where applicable unless `EffectsRequireVerses` is set to `false`.
1898
+
- If target has an active [shield](#shields), its armor type is used instead unless warhead can penetrate the shield.
1898
1899
```
1899
1900
1900
1901
### Break Mind Control on impact
@@ -2105,7 +2106,7 @@ In `rulesmd.ini`:
2105
2106
TransactMoney=0 ; integer - credits added or subtracted
2106
2107
TransactMoney.Display=false ; boolean
2107
2108
TransactMoney.Display.AtFirer=false ; boolean
2108
-
TransactMoney.Display.Houses=All; Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|all)
2109
+
TransactMoney.Display.Houses=all; Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|all)
2109
2110
TransactMoney.Display.Offset=0,0 ; X,Y, pixels relative to default
Copy file name to clipboardExpand all lines: docs/User-Interface.md
+48-12Lines changed: 48 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -36,11 +36,32 @@ IngameScore.LoseTheme= ; Soundtrack theme ID
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.
39
+
- In `InfoType=Spawns`,
40
+
- 0 - alive spawns,
41
+
- 1 - docked spawns,
42
+
- 2 - launching spawns.
43
+
<br><br>
44
+
- In `InfoType=Tiberium`,
45
+
- 0 - all,
46
+
- 1 - the first tiberium,
47
+
- 2 - the second tiberium,
48
+
<br>...
49
+
- In `InfoType=SpawnTimer`,
50
+
- 0 - the fastest spawnee,
51
+
- 1 - the first spawnee,
52
+
- 2 - the second spawnee,
53
+
<br>...
54
+
- In `InfoType=SuperWeapon`,
55
+
- 0 - the first SW of all,
56
+
- 1 - `[BuildingType] -> SuperWeapon`,
57
+
- 2 - `[BuildingType] -> SuperWeapon2`,
58
+
- 3 - the first SW in `[BuildingType] -> SuperWeapons`,
59
+
<br>...
60
+
- In `InfoType=FactoryProcess`,
61
+
- 0 - the first factory in production,
62
+
- 1 - primary factory,
63
+
- 2 - secondary factory.
64
+
<br><br>
44
65
-`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.
45
66
-`Offset` and `Offset.ShieldDelta` (the latter applied when a shield is active) can be used to further modify the position.
46
67
- By default, values are displayed in `current/maximum` format (i.e. `20/40`).
@@ -65,10 +86,10 @@ In `rulesmd.ini`:
65
86
0=SOMEDIGITALDISPLAYTYPE
66
87
67
88
[AudioVisual]
68
-
Buildings.DefaultDigitalDisplayTypes= ;list of DigitalDisplayTypes
69
-
Infantry.DefaultDigitalDisplayTypes= ;list of DigitalDisplayTypes
70
-
Vehicles.DefaultDigitalDisplayTypes= ;list of DigitalDisplayTypes
71
-
Aircraft.DefaultDigitalDisplayTypes= ;list of DigitalDisplayTypes
89
+
Buildings.DefaultDigitalDisplayTypes= ;List of DigitalDisplayTypes
90
+
Infantry.DefaultDigitalDisplayTypes= ;List of DigitalDisplayTypes
91
+
Vehicles.DefaultDigitalDisplayTypes= ;List of DigitalDisplayTypes
92
+
Aircraft.DefaultDigitalDisplayTypes= ;List of DigitalDisplayTypes
72
93
73
94
[SOMEDIGITALDISPLAYTYPE]; DigitalDisplayType
74
95
; Generic
@@ -82,7 +103,7 @@ Anchor.Vertical=top ; Vertical position enumeration (
An example shape file for digits can be found on [Phobos supplementaries repo](https://github.com/Phobos-developers/PhobosSupplementaries).
115
136
```
116
137
138
+
````{note}
139
+
`Shape.PercentageFrame` effectively provides the ultimate solution for all static data display effects: it allows mapping the current value to a specific static frame index in a shape file sequence by calculating its proportional ratio to the total value, where the concrete image on this frame is entirely user-defined.
140
+
141
+
```{hint}
142
+
You can create a circular health bar for technos, where the different frames of this ring Shape file correspond to the state of the circular health bar at varying degrees of damage.
143
+
144
+

145
+
*Example of a ring-shaped health bar*
146
+
147
+
The arrangement of static images on the plane is entirely up to you to draw freely, without being constrained by pre-established frameworks (e.g., the original rule for health bars was to start at a fixed coordinate, fetch a pip from a fixed frame of a fixed file at fixed intervals, and then arrange them horizontally), choosing from inherently limited options.
148
+
```
149
+
150
+
Of course, this is just the implementation method. To balance freedom with efficiency—that is, how to efficiently draw the patterns you need—you still need to independently explore a workflow that suits you.
151
+
````
152
+
117
153
### Flashing Technos on selecting
118
154
119
155
- Selecting technos, controlled by player, now may show a flash effect by setting `SelectionFlashDuration` parameter higher than 0.
- Fixed sidebar not updating queued unit numbers when adding or removing units when the production is on hold (by CrimRecya)
@@ -418,7 +419,7 @@ Vanilla fixes:
418
419
- Fixed an issue where airstrike flare line drawn to target at lower elevation would clip (by Starkku)
419
420
- Fixed the bug that uncontrolled scatter when elite techno attacked by aircraft or some unit try crush it (by NetsuNegi)
420
421
- Second weapon with `ElectricAssault=yes` will not unconditionally attack your building with `Overpowerable=yes` (by FlyStar)
421
-
- Fixed the 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 (by CrimRecya)
422
+
- Fixed 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 (by CrimRecya)
422
423
- Fixed the bug that `DamageSelf` and `AllowDamageOnSelf` are ineffective on airforce (by NetsuNegi)
423
424
- Fixed the bug that damaged particle dont disappear after building has repaired by engineer (by NetsuNegi)
424
425
- Fixed the issue of incorrect position of `TrailerAnim` in `VoxelAnim` (by CrimRecya)
@@ -603,7 +604,6 @@ New:
603
604
- Draw visual effects for airburst weapons (by CrimRecya)
604
605
- Unit `Speed` setting now accepts floating point values (by Starkku)
605
606
- `Strafing` is now disabled by default when using `Trajectory` (by CrimRecya)
606
-
- Warhead activation target health thresholds (by FS-21, Kerbiter)
607
607
608
608
Vanilla fixes:
609
609
- Allow AI to repair structures built from base nodes/trigger action 125/SW delivery in single player missions (by Trsdy)
0 commit comments