Skip to content

Commit 54ae125

Browse files
Weekly Regular Documentation Revisions 12.01-12.07 - develop (#1980)
1 parent 5372206 commit 54ae125

File tree

7 files changed

+4369
-4069
lines changed

7 files changed

+4369
-4069
lines changed

docs/Fixed-or-Improved-Logics.md

Lines changed: 404 additions & 348 deletions
Large diffs are not rendered by default.

docs/New-or-Enhanced-Logics.md

Lines changed: 45 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,6 +1355,30 @@ Spawner.RecycleOnTurret=false ; boolean
13551355
If you set recycle FLH, it is best to set a recycle range of at least `0.5` at the same time. Otherwise, the spawner may not recycle correctly.
13561356
```
13571357

1358+
### Automatic conversion based on ammo
1359+
1360+
- Units can now be converted into another unit by ammo count.
1361+
- `Ammo.AutoConvertMinimumAmount` determines the minimal number of ammo at which a unit converts automatically after the ammo update.
1362+
- `Ammo.AutoConvertMaximumAmount` determines the maximum number of ammo at which a unit converts automatically after the ammo update.
1363+
- `Ammo.AutoConvertType` specify the new techno after the conversion. This unit must be of the same type of the original (infantry -> infantry, vehicle -> vehicle or aircraft -> aircraft).
1364+
- Setting a negative number will disable the ammo count check, and when both checks are disabled, conversion will not occur.
1365+
1366+
In `rulesmd.ini`:
1367+
```ini
1368+
[SOMETECHNO] ; TechnoType, before conversion
1369+
Ammo.AutoConvertMinimumAmount=-1 ; integer
1370+
Ammo.AutoConvertMaximumAmount=-1 ; integer
1371+
Ammo.AutoConvertType= ; TechnoType, after conversion
1372+
```
1373+
1374+
```{warning}
1375+
This feature has the same limitations as [Ares' Type Conversion](https://ares-developers.github.io/Ares-docs/new/typeconversion.html). This feature does not support BuildingTypes.
1376+
```
1377+
1378+
```{warning}
1379+
This feature requires Ares 3.0 or higher to function! When Ares 3.0+ is not detected, not all properties of a unit may be updated.
1380+
```
1381+
13581382
### Automatic passenger deletion
13591383

13601384
- Transports can erase passengers over time. Passengers are deleted in order of entering the transport, from first to last.
@@ -1506,6 +1530,23 @@ Spawns.Queue= ; List of AircraftTypes, in order
15061530
Note that all spawnees in a queue should have `MissileSpawn` set to the same value (all to true or false). Mixing them will make missile spawnees can't hit their targets.
15071531
```
15081532

1533+
### Customize Ares's radar jam logic
1534+
1535+
- It is now possible to customize some properties of Ares's radar jam logic.
1536+
- `RadarJamHouses` determines which houses will be affected by the jam.
1537+
- `RadarJamDelay` determines the interval of the jam, default to 30 frames like Ares did. Shorter interval means the jam will be applied more timely, but worse for performance.
1538+
- `RadarJamAffect` determines a list of buildings with `Radar=yes` or `SpySat=yes` that could be affected by the jam. If it's empty, all radar buildings will be affected.
1539+
- `RadarJamIgnore` determines a list of buildings with `Radar=yes` or `SpySat=yes` that couldn't be affected by the jam.
1540+
1541+
In `rulesmd.ini`:
1542+
```ini
1543+
[SOMETECHNO] ; TechnoType, with RadarJamRadius=
1544+
RadarJamHouses=enemies ; List of Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|all)
1545+
RadarJamDelay=30 ; integer
1546+
RadarJamAffect= ; List of BuildingTypes
1547+
RadarJamIgnore= ; List of BuildingTypes
1548+
```
1549+
15091550
### Customize EVA voice and `SellSound` when selling units
15101551

15111552
- When a building or a unit is sold, a sell sound as well as an EVA is played to the owner. These configurations have been deglobalized.
@@ -1534,9 +1575,13 @@ Vanilla game played vehicles' `SellSound` globally. This has been changed in con
15341575
- Weapons with `ElectricAssault=true` set on `Warhead` against `Overpowerable=true` buildings belonging to owner or allies.
15351576
- `Overpowerable=true` buildings that are currently overpowered.
15361577
- Any system using `(Elite)WeaponX`, f.ex `Gunner=true` or `IsGattling=true` is also wholly exempt.
1578+
- If `[CombatDamage] -> AllowWeaponSelectAgainstWalls` is set to true, `Secondary` will now be used against walls if `Primary` weapon Warhead has `Wall=false`, `Secondary` has `Wall=true` and the firer does not have `NoSecondaryWeaponFallback` set to true.
15371579

15381580
In `rulesmd.ini`:
15391581
```ini
1582+
[CombatDamage]
1583+
AllowWeaponSelectAgainstWalls=false ; boolean
1584+
15401585
[SOMETECHNO] ; TechnoType
15411586
NoSecondaryWeaponFallback=false ; boolean
15421587
NoSecondaryWeaponFallback.AllowAA=false ; boolean
@@ -2037,47 +2082,6 @@ WarpInWeapon.UseDistanceAsDamage=false ; boolean
20372082
WarpOutWeapon= ; WeaponType
20382083
```
20392084

2040-
### Customize Ares's radar jam logic
2041-
2042-
- It is now possible to customize some properties of Ares's radar jam logic.
2043-
- `RadarJamHouses` determines which houses will be affected by the jam.
2044-
- `RadarJamDelay` determines the interval of the jam, default to 30 frames like Ares did. Shorter interval means the jam will be applied more timely, but worse for performance.
2045-
- `RadarJamAffect` determines a list of buildings with `Radar=yes` or `SpySat=yes` that could be affected by the jam. If it's empty, all radar buildings will be affected.
2046-
- `RadarJamIgnore` determines a list of buildings with `Radar=yes` or `SpySat=yes` that couldn't be affected by the jam.
2047-
2048-
In `rulesmd.ini`:
2049-
```ini
2050-
[SOMETECHNO] ; TechnoType, with RadarJamRadius=
2051-
RadarJamHouses=enemies ; List of Affected House Enumeration (none|owner/self|allies/ally|team|enemies/enemy|all)
2052-
RadarJamDelay=30 ; integer
2053-
RadarJamAffect= ; List of BuildingTypes
2054-
RadarJamIgnore= ; List of BuildingTypes
2055-
```
2056-
2057-
### Automatic conversion based on ammo
2058-
2059-
- Units can now be converted into another unit by ammo count.
2060-
- `Ammo.AutoConvertMinimumAmount` determines the minimal number of ammo at which a unit converts automatically after the ammo update.
2061-
- `Ammo.AutoConvertMaximumAmount` determines the maximum number of ammo at which a unit converts automatically after the ammo update.
2062-
- `Ammo.AutoConvertType` specify the new techno after the conversion. This unit must be of the same type of the original (infantry -> infantry, vehicle -> vehicle or aircraft -> aircraft).
2063-
- Setting a negative number will disable the ammo count check, and when both checks are disabled, conversion will not occur.
2064-
2065-
In `rulesmd.ini`:
2066-
```ini
2067-
[SOMETECHNO] ; TechnoType, before conversion
2068-
Ammo.AutoConvertMinimumAmount=-1 ; integer
2069-
Ammo.AutoConvertMaximumAmount=-1 ; integer
2070-
Ammo.AutoConvertType= ; TechnoType, after conversion
2071-
```
2072-
2073-
```{warning}
2074-
This feature has the same limitations as [Ares' Type Conversion](https://ares-developers.github.io/Ares-docs/new/typeconversion.html). This feature does not support BuildingTypes.
2075-
```
2076-
2077-
```{warning}
2078-
This feature requires Ares 3.0 or higher to function! When Ares 3.0+ is not detected, not all properties of a unit may be updated.
2079-
```
2080-
20812085
## Terrain
20822086

20832087
### Destroy animation & sound

docs/locale/zh_CN/LC_MESSAGES/AI-Scripting-and-Mapping.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ msgstr "2"
614614

615615
#: ../../AI-Scripting-and-Mapping.md:66
616616
msgid "Structures"
617-
msgstr "结构"
617+
msgstr "建筑"
618618

619619
#: ../../AI-Scripting-and-Mapping.md:66
620620
msgid "Any enemy `BuildingTypes` that are not considered as vehicles"
@@ -1065,7 +1065,7 @@ msgstr "36"
10651065

10661066
#: ../../AI-Scripting-and-Mapping.md:66
10671067
msgid "Non-defensive Structures"
1068-
msgstr "非防御结构"
1068+
msgstr "非防御建筑"
10691069

10701070
#: ../../AI-Scripting-and-Mapping.md:66
10711071
msgid "Any enemy `BuildingTypes` with `IsBaseDefense=no`"

0 commit comments

Comments
 (0)