Skip to content

Commit 9f09c20

Browse files
[Minor] Weekly Regular Documentation Revisions 03.31-04.06 - develop (#1597)
1 parent 2548b55 commit 9f09c20

12 files changed

+2839
-2227
lines changed

CREDITS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ This page lists all the individual contributions to the project by their author.
363363
- Fix [EIP 004C2C19](https://modenc.renegadeprojects.com/Internal_Error#eip_004C2C19) concerning the electric bolt
364364
- Fix `DefaultDisguise` showing wrong house colors for different players
365365
- Taking over Ares' AlphaImage respawn logic to reduce lags from it
366-
- Allow voxel projectiles to use AnimPalette and FirersPalette
366+
- Allow voxel projectiles to use `AnimPalette` and `FirersPalette`
367367
- Customize damaged speed ratio of drive/ship loco
368368
- Customize overpower logic
369369
- **Apollo** - Translucent SHP drawing patches

docs/Fixed-or-Improved-Logics.md

Lines changed: 41 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ This page describes all ingame logics that are fixed or improved in Phobos witho
203203
- Fixed an issue that in air aircraft carriers being unable to attack when it is near by elevated bridges.
204204
- Fixed an issue that aircraft carriers cannot retract its spawned aircraft when on the bridge.
205205
- Fixed an issue where the shadow of jumpjet remained on the ground when it was above the elevated bridge.
206-
- Fixed an issue that laser, electric bolt and rad beam not support `Inviso=true` projectiles with `FlakScatter=true` to scatter
206+
- Fixed an issue that laser, electric bolt and rad beam not support `Inviso=true` projectiles with `FlakScatter=true` to scatter.
207207
- Fixed the bug that healing weapons could not automatically acquire aerial targets.
208-
- Allow voxel projectiles to use AnimPalette and FirersPalette.
208+
- Allow voxel projectiles to use `AnimPalette` and `FirersPalette`.
209209
- Fixed an issue where AI would select unreachable buildings and get stuck when looking for buildings like tank bunkers, bio reactors, etc.
210210

211211
## Fixes / interactions with other extensions
@@ -240,7 +240,7 @@ VoicePickup= ; Sound entry
240240
### Extended Aircraft Missions
241241

242242
- Aircraft will now be able to use waypoints.
243-
- Aircraft can fly at a certain speed as much as possible, when the distance to the destination is less than half of `SlowdownDistance` or 8 cell distances divided by ROT, it will return to the airport. And now aircraft not have to fly directly above the airport before starting to descend.
243+
- Aircraft can fly at a certain speed as much as possible, when the distance to the destination is less than half of `SlowdownDistance` or 8 cell distances divided by `ROT`, it will return to the airport. And now aircraft not have to fly directly above the airport before starting to descend.
244244
- When a `guard` command (`[G]` by default) is issued, the aircraft will search for targets around the current location and return immediately when target is not found, target is destroyed or ammos are depleted.
245245
- If the target is destroyed but ammos are not depleted yet, it will also return because the aircraft's command is one-time.
246246
- When an `attack move` command (`[Ctrl]+[Shift]`) is issued, the aircraft will move towards the destination and search for nearby targets on the route for attack. Once ammo is depleted or the destination is reached, it will return.
@@ -492,6 +492,24 @@ Grinding.Weapon= ; WeaponType
492492
Grinding.Weapon.RequiredCredits=0 ; integer
493493
```
494494

495+
### Customize overpower logic
496+
497+
- Now you can specific how building can be overpowerd.
498+
499+
In `rulesmd.ini`:
500+
```ini
501+
[SOMEWARHEAD]
502+
ElectricAssaultLevel=1 ; integer
503+
504+
[SOMEBUILDING]
505+
Overpower.KeepOnline=2 ; integer, negative values mean that cannot keep online
506+
Overpower.ChargeWeapon=1 ; integer, negative values mean that weapons can never be switched
507+
```
508+
509+
```{note}
510+
Ares' [Battery Super Weapon](https://ares-developers.github.io/Ares-docs/new/superweapons/types/battery.html) won't be affected by this.
511+
```
512+
495513
### Exclude Factory from providing multiple factory bonus
496514

497515
- It is now possible to exclude a building with `Factory` from counting towards `MultipleFactory` bonus.
@@ -530,24 +548,6 @@ In `rulesmd.ini`:
530548
BuildingWaypoints=false ; boolean
531549
```
532550

533-
### Customize overpower logic
534-
535-
- Now you can specific how building can be overpowerd.
536-
537-
In `rulesmd.ini`:
538-
```ini
539-
[SOMEWARHEAD]
540-
ElectricAssaultLevel=1 ; integer
541-
542-
[SOMEBUILDING]
543-
Overpower.KeepOnline=2 ; integer, negative values mean that cannot keep online
544-
Overpower.ChargeWeapon=1 ; integer, negative values mean that weapons can never be switched
545-
```
546-
547-
```{note}
548-
Ares' [Battery Super Weapon](https://ares-developers.github.io/Ares-docs/new/superweapons/types/battery.html) won't be affected by this.
549-
```
550-
551551
## Infantry
552552

553553
### Prone speed customization
@@ -564,22 +564,6 @@ ProneSpeed.NoCrawls=1.5 ; floating point value, multiplier
564564
ProneSpeed= ; floating point value, multiplier, by default, use the corresponding global value according to Crawls
565565
```
566566

567-
## Unit
568-
569-
### Damaged speed customization
570-
571-
- In vanilla, units using drive/ship loco will has hardcoded speed multiplier when damaged. Now you can customize it.
572-
- The max valuebale value is 1.0, you cannot make unit get faster on yellow condition by it.
573-
574-
In `rulesmd.ini`
575-
```ini
576-
[General]
577-
DamagedSpeed=0.75 ; double
578-
579-
[SOMEUNIT]
580-
DamagedSpeed= ; double
581-
```
582-
583567
## Particle systems
584568

585569
### Fire particle target coordinate adjustment when firer rotates
@@ -920,6 +904,20 @@ AircraftLevelLightMultiplier=1.0 ; floating point value, percents or absolute
920904
JumpjetLevelLightMultiplier=0.0 ; floating point value, percents or absolute
921905
```
922906

907+
### Damaged speed customization
908+
909+
- In vanilla, units using drive/ship loco will has hardcoded speed multiplier when damaged. Now you can customize it.
910+
- The max valuebale value is 1.0, you cannot make unit get faster on yellow condition by it.
911+
912+
In `rulesmd.ini`:
913+
```ini
914+
[General]
915+
DamagedSpeed=0.75 ; floating point value, multiplier
916+
917+
[SOMETECHNO] ; TechnoType
918+
DamagedSpeed= ; floating point value, multiplier
919+
```
920+
923921
### Exploding object customizations
924922

925923
- By default `Explodes=true` TechnoTypes have all of their passengers killed when they are destroyed. This behaviour can now be disabled by setting `Explodes.KillPassengers=false`.
@@ -1117,7 +1115,7 @@ In `rulesmd.ini`:
11171115
```ini
11181116
[General]
11191117
SubterraneanHeight=-256 ; integer, height in leptons (1/256th of a cell)
1120-
SubterraneanSpeed=7.5 ; floating point value
1118+
SubterraneanSpeed=19 ; floating point value
11211119

11221120
[SOMETECHNO] ; TechnoType
11231121
SubterraneanHeight= ; integer, height in leptons (1/256th of a cell)
@@ -1426,10 +1424,10 @@ KeepTargetOnMove.ExtraDistance=0 ; floating point value, distance in cells
14261424

14271425
In `rulesmd.ini`:
14281426
```ini
1429-
[SOMEVEHICLE] ; VehicleType
1430-
Sinkable= ; bool
1431-
SinkSpeed=5 ; integer, lepton per frame
1432-
Sinkable.SquidGrab=true ; bool
1427+
[SOMEVEHICLE] ; VehicleType
1428+
Sinkable= ; boolean
1429+
SinkSpeed=5 ; integer, leptons per frame
1430+
Sinkable.SquidGrab=true ; boolean
14331431
```
14341432

14351433
### Stationary vehicles
@@ -1604,7 +1602,7 @@ Debris.Conventional=false ; boolean
16041602
In `rulesmd.ini`:
16051603
```ini
16061604
[SOMEWARHEAD] ; WarheadType
1607-
Rocker.AmplitudeMultiplier=1.0 ; double
1605+
Rocker.AmplitudeMultiplier=1.0 ; floating point value, multiplier
16081606
Rocker.AmplitudeOverride= ; integer
16091607
```
16101608

docs/New-or-Enhanced-Logics.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,7 @@ RecountBurst= ; boolean
16191619
- Similar to `DeathWeapon` in that it is fired after a TechnoType is killed, but with the difference that it will be fired on whoever dealt the damage that killed the TechnoType. If TechnoType died of sources other than direct damage dealt by another TechnoType, `RevengeWeapon` will not be fired.
16201620
- `RevengeWeapon.AffectsHouses` can be used to filter which houses the damage that killed the TechnoType is allowed to come from to fire the weapon.
16211621
- It is possible to grant revenge weapons through [attached effects](#attached-effects) as well.
1622-
- Ìf a Warhead has `SuppressRevengeWeapons` set to true, it will not trigger revenge weapons. `SuppressRevengeWeapons.Types` can be used to list WeaponTypes affected by this, if none are listed all WeaponTypes are affected.
1622+
- If a Warhead has `SuppressRevengeWeapons` set to true, it will not trigger revenge weapons. `SuppressRevengeWeapons.Types` can be used to list WeaponTypes affected by this, if none are listed all WeaponTypes are affected.
16231623

16241624
In `rulesmd.ini`:
16251625
```ini
@@ -1681,7 +1681,7 @@ WarpOutWeapon= ; WeaponType
16811681

16821682
### Fast access vehicle
16831683

1684-
- Now you can let infantry or vehicle passengers quickly enter or leave the transport vehicles without queuing. Defaults to `[General]->NoQueueUpToEnter` or `[General]->NoQueueUpToUnload`.
1684+
- Now you can let infantry or vehicle passengers quickly enter or leave the transport vehicles without queuing. Defaults to `[General] -> NoQueueUpToEnter` or `[General] -> NoQueueUpToUnload`.
16851685

16861686
In `rulesmd.ini`:
16871687
```ini
@@ -1898,18 +1898,18 @@ While this feature can provide better performance than a large `CellSpread` valu
18981898
### Fire weapon when kill
18991899

19001900
- `KillWeapon` will be fired at the target TechnoType's location once it's been killed by this Warhead.
1901-
- `KillWeapon.AffectsHouses` is used to filter which houses targets can belong to be considered valid for KillWeapon.
1902-
- Ìf a TechnoType has `SuppressKillWeapons` set to true, it will not trigger KillWeapon upon being killed. `SuppressKillWeapons.Types` can be used to list WeaponTypes affected by this, if none are listed all WeaponTypes are affected.
1901+
- `KillWeapon.AffectsHouses` is used to filter which houses targets can belong to be considered valid for `KillWeapon`.
1902+
- If a TechnoType has `SuppressKillWeapons` set to true, it will not trigger `KillWeapon` upon being killed. `SuppressKillWeapons.Types` can be used to list WeaponTypes affected by this, if none are listed all WeaponTypes are affected.
19031903

19041904
In `rulesmd.ini`:
19051905
```ini
1906-
[SOMEWARHEAD] ; Warhead
1906+
[SOMEWARHEAD] ; WarheadType
19071907
KillWeapon= ; WeaponType
1908-
KillWeapon.AffectsHouses=all ; list of Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|all)
1908+
KillWeapon.AffectsHouses=all ; List of Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|all)
19091909

19101910
[SOMETECHNO] ; TechnoType
19111911
SuppressKillWeapons=false ; boolean
1912-
SuppressKillWeapons.Types= ; list of WeaponTypes
1912+
SuppressKillWeapons.Types= ; List of WeaponTypes
19131913
```
19141914

19151915
### Generate credits on impact
@@ -2174,21 +2174,6 @@ Strafing.UseAmmoPerShot=false ; boolean
21742174
Strafing.EndDelay= ; integer, game frames
21752175
```
21762176

2177-
### Weapon targeting filter
2178-
2179-
![image](_static/images/weaponfilter.gif)
2180-
*`Weapon target filter - different weapon used against enemies & allies as well as units & buildings in [Project Phantom](https://www.moddb.com/mods/project-phantom)*
2181-
2182-
- You can now specify which targets or houses a weapon can fire at. This also affects weapon selection, other than certain special cases where the selection is fixed.
2183-
- Note that `CanTarget` explicitly requires either `all` or `empty` to be listed for the weapon to be able to fire at cells containing no TechnoTypes.
2184-
2185-
In `rulesmd.ini`:
2186-
```ini
2187-
[SOMEWEAPON] ; WeaponType
2188-
CanTarget=all ; List of Affected Target Enumeration (none|land|water|empty|infantry|units|buildings|all)
2189-
CanTargetHouses=all ; List of Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|all)
2190-
```
2191-
21922177
### Visual effect scatter
21932178

21942179
- You can now add a random offset to visual effect's (`IsLaser=true`, `IsElectricBolt=true` or `IsRadBeam=true`) target location if set `VisualScatter` to true.
@@ -2204,5 +2189,20 @@ VisualScatter=false ; boolean
22042189
```
22052190

22062191
```{note}
2207-
This function is only used as an additional scattering visual display, which is different from `BallisticScatter` and can be used simultaneously, without affecting the actual explosion position of the projectile.
2192+
This function is only used as an additional scattering visual display, which is different from `BallisticScatter.(Min/Max)` and can be used simultaneously, without affecting the actual explosion position of the projectile.
2193+
```
2194+
2195+
### Weapon targeting filter
2196+
2197+
![image](_static/images/weaponfilter.gif)
2198+
*`Weapon target filter - different weapon used against enemies & allies as well as units & buildings in [Project Phantom](https://www.moddb.com/mods/project-phantom)*
2199+
2200+
- You can now specify which targets or houses a weapon can fire at. This also affects weapon selection, other than certain special cases where the selection is fixed.
2201+
- Note that `CanTarget` explicitly requires either `all` or `empty` to be listed for the weapon to be able to fire at cells containing no TechnoTypes.
2202+
2203+
In `rulesmd.ini`:
2204+
```ini
2205+
[SOMEWEAPON] ; WeaponType
2206+
CanTarget=all ; List of Affected Target Enumeration (none|land|water|empty|infantry|units|buildings|all)
2207+
CanTargetHouses=all ; List of Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|all)
22082208
```

docs/Whats-New.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ New:
319319
- Custom exit cell for infantry factory (by Starkku)
320320
- Option for vehicles to keep target when issued move command (by Starkku)
321321
- Skip anim delay for burst fire (by TaranDahl)
322+
- Extending `Power` to all TechnoTypes (by Morton)
322323
- New Parabola trajectory (by CrimRecya)
323324
- Type select for buildings (code by TaranDahl, doc by Ollerus)
324325
- Raise alert when technos are taking damage (by TaranDahl)
@@ -332,7 +333,6 @@ New:
332333
- Extended gattling rate down logic (by CrimRecya)
333334
- Sell or undeploy building on impact (by CrimRecya)
334335
- No rearm and reload in EMP or temporal (by CrimRecya)
335-
- Draw visual effects for airburst weapons (by CrimRecya)
336336
- Technos recount current burst index when change the firing weapon (by CrimRecya)
337337
- Shield armor inheritance customization (by Ollerus)
338338
- Damaged unit image changes (by Fryone)
@@ -351,9 +351,10 @@ New:
351351
- Laser, electric bolt and rad beam scatter (by CrimRecya)
352352
- [Airburst weapon firing/source coordinate customizations](Fixed-or-Improved-Logics.md#airburst--splits) (by Starkku)
353353
- [AlternateFLH on-turret toggle](Fixed-or-Improved-Logics.md#alternate-flh-customizations) (by Starkku)
354-
- Prone speed customization (by TaranDahl)
355-
- Customize damaged speed ratio of drive/ship loco (by NetsuNegi)
356-
- Customize overpower logic (by NetsuNegi)
354+
- [Fire weapon when kill](New-or-Enhanced-Logics.md#fire-weapon-when-kill) (by Ollerus)
355+
- [Prone speed customization](Fixed-or-Improved-Logics.md#prone-speed-customization) (by TaranDahl)
356+
- [Customize damaged speed ratio of drive/ship loco](Fixed-or-Improved-Logics.md#damaged-speed-customization) (by NetsuNegi)
357+
- [Customize overpower logic](Fixed-or-Improved-Logics.md#customize-overpower-logic) (by NetsuNegi)
357358
358359
Vanilla fixes:
359360
- Prevent the units with locomotors that cause problems from entering the tank bunker (by TaranDahl)
@@ -533,9 +534,8 @@ New:
533534
- Allow infantry to use land sequences in water (by Starkku)
534535
- `<Player @ X>` can now be used as owner for pre-placed objects on skirmish and multiplayer maps (by Starkku)
535536
- Allow customizing charge turret delays per burst on a weapon (by Starkku)
537+
- Draw visual effects for airburst weapons (by CrimRecya)
536538
- Unit `Speed` setting now accepts floating point values (by Starkku)
537-
- Extending `Power` to all TechnoTypes (by Morton)
538-
- Fire weapon when kill (by Ollerus)
539539
540540
Vanilla fixes:
541541
- Allow AI to repair structures built from base nodes/trigger action 125/SW delivery in single player missions (by Trsdy)
@@ -710,6 +710,7 @@ Fixes / interactions with other extensions:
710710
- Suppressed Ares' swizzle warning when parsing `Tags` and `TaskForces` (by Trsdy)
711711
- Fixed Academy *(Ares feature)* not working on the initial payloads *(Ares feature)* of vehicles built from a war factory (by Trsdy, supersedes Aephiex impl.)
712712
- Fixed Ares' InitialPayload not being created for vehicles spawned by trigger actions (by Trsdy)
713+
- Taking over Ares' AlphaImage respawn logic to reduce lags from it (by NetsuNegi)
713714
</details>
714715
715716
### 0.3.0.1
@@ -882,7 +883,7 @@ Vanilla fixes:
882883
- Fixed railgun particles being drawn to wrong coordinate against buildings with non-default `TargetCoordOffset` or when force-firing on bridges (by Starkku)
883884
- Fixed building `TargetCoordOffset` not being taken into accord for several things like fire angle calculations and target lines (by Starkku)
884885
- Allowed observers to see a selected building's radial indicator (by Trsdy)
885-
- Allow voxel projectiles to use AnimPalette and FirersPalette (by NetsuNegi)
886+
- Allow voxel projectiles to use `AnimPalette` and `FirersPalette` (by NetsuNegi)
886887
887888
Phobos fixes:
888889
- Fixed shields being able to take damage when the parent TechnoType was under effects of a `Temporal` Warhead (by Starkku)

0 commit comments

Comments
 (0)