Skip to content

Commit 3178a90

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into random-anims
# Conflicts: # CREDITS.md # docs/New-or-Enhanced-Logics.md # src/Ext/Anim/Body.cpp # src/Ext/Anim/Body.h # src/New/Type/Affiliated/PassengerDeletionTypeClass.cpp # src/New/Type/Affiliated/PassengerDeletionTypeClass.h
2 parents 8939d2a + c317e0c commit 3178a90

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+3333
-729
lines changed

CREDITS.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ This page lists all the individual contributions to the project by their author.
364364
- `TurretOffset` support for SHP vehicles
365365
- Customizable rocker amplitude
366366
- Customizable wake anim
367-
- Initial effort on optimization for crates' random distribution
367+
- Initial effort on optimization for crates' random distribution
368368
- **Fryone**
369369
- Customizable ElectricBolt Arcs
370370
- Sound entry on unit's creation
@@ -384,16 +384,29 @@ This page lists all the individual contributions to the project by their author.
384384
- Enhanced Straight trajectory
385385
- Enable Building Production Queue
386386
- Fix for sidebar not updating queued unit numbers when on hold
387+
- New Parabola trajectory
388+
- Enhanced Bombard trajectory
387389
- **Ollerus**
388390
- Build limit group enhancement
389391
- Customizable rocker amplitude
392+
- Allowed `AuxBuilding` and Ares' `SW.Aux/NegBuildings` to count building upgrades
393+
- Type select for buildings (doc)
394+
- Enhanced Bombard trajectory
390395
- Randomized anims for several behaviors
396+
- **NaotoYuuki**
397+
- Vertical & meteor trajectory projectile prototypes
391398
- **handama** - AI script action to jump back to previous script
392399
- **TaranDahl (航味麻酱)**
393400
- Skirmish AI "sell all buildings and set all technos to hunt" behavior dehardcode
394401
- Skirmish AI "gather when MCV deploy" behavior dehardcode
395402
- Global value of `RepairBaseNodes`
396403
- Skip anim delay for burst fire
404+
- Type select for buildings (code)
405+
- Raise alert when technos are taking damage
406+
- Toggle waypoint for building
407+
- Parasite returning bug fix
408+
- Bunkerable checks dehardcode
409+
- Prevent the units with locomotors that cause problems from entering the tank bunker
397410
- **tyuah8** - Drive/Jumpjet/Ship/Teleport locomotor did not power on when it is un-piggybacked bugfix
398411
- **Aephiex** - initial fix for Ares academy not working on the initial payloads of vehicles built from a war factory
399412
- **Ares developers**

Phobos.vcxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<ClCompile Include="src\Ext\Bullet\Trajectories\BombardTrajectory.cpp" />
3939
<ClCompile Include="src\Ext\Bullet\Trajectories\PhobosTrajectory.cpp" />
4040
<ClCompile Include="src\Ext\Bullet\Trajectories\StraightTrajectory.cpp" />
41+
<ClCompile Include="src\Ext\Bullet\Trajectories\ParabolaTrajectory.cpp" />
4142
<ClCompile Include="src\Ext\CaptureManager\Hooks.cpp" />
4243
<ClCompile Include="src\Ext\CaptureManager\Body.cpp" />
4344
<ClCompile Include="src\Ext\OverlayType\Body.cpp" />
@@ -199,6 +200,7 @@
199200
<ClInclude Include="src\Ext\Bullet\Trajectories\BombardTrajectory.h" />
200201
<ClInclude Include="src\Ext\Bullet\Trajectories\PhobosTrajectory.h" />
201202
<ClInclude Include="src\Ext\Bullet\Trajectories\StraightTrajectory.h" />
203+
<ClInclude Include="src\Ext\Bullet\Trajectories\ParabolaTrajectory.h" />
202204
<ClInclude Include="src\Ext\OverlayType\Body.h" />
203205
<ClInclude Include="src\Ext\ParticleType\Body.h" />
204206
<ClInclude Include="src\Ext\Sidebar\Body.h" />

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Community
2121
As the project is international and English is currently studied the most commonly as a second language, it's the main project language. We do not limit the creation of language-specific community groups though, because we understand that many may not know English as well as their native language and/or may have trouble accessing Discord.
2222

2323
- **[🌐 International Discord channel on C&C Mod Haven](https://discord.gg/sZeMzz6qVg)**
24-
- [🇨🇳 Chinese QQ Phobos group / Phobos 中文用户QQ群 (630590659)](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=f_h7TZoVX_8--ZedVFBMmjRrLBIzjMKJ&authKey=QfNyW4DZUFqL3ZKzGL5PgLUWTnISj0myWn4WGtPPQmi3F%2FP3vfnuBd3YjLFk%2BU94&noverify=0&group_code=630590659)
24+
- [🇨🇳 Chinese QQ Phobos group](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=f_h7TZoVX_8--ZedVFBMmjRrLBIzjMKJ&authKey=QfNyW4DZUFqL3ZKzGL5PgLUWTnISj0myWn4WGtPPQmi3F%2FP3vfnuBd3YjLFk%2BU94&noverify=0&group_code=630590659)(630590659)
2525

2626
Downloads
2727
---------
@@ -55,7 +55,7 @@ Documentation
5555

5656
- [Official docs](https://phobos.readthedocs.io) (also available in [Chinese](https://phobos.readthedocs.io/zh_CN/latest))
5757

58-
You can switch between versions (displays latest develop nightly version by default) in the bottom left corner, as well as download a PDF version.
58+
You can switch between versions (displays latest develop nightly version by default) in the bottom right corner, as well as download a PDF version.
5959

6060
The documentation is split by a few major categories, each represented with a page on the sidebar. Each page has its contents grouped into multiple subcategories, be it buildings, technotypes, infantries, superweapons or something else.
6161

docs/AI-Scripting-and-Mapping.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ This page describes all AI scripting and mapping related additions and changes i
66

77
- Script action `Move to cell` now obeys YR cell calculation now. Using `1000 * Y + X` as its cell value. (was `128 * Y + X` as it's a RA1 leftover)
88
- The game now can reads waypoints ranges in [0, 2147483647]. (was [0,701])
9-
- Map trigger action `41 Play Animation At...` can now create 'non-inert' animations which can play sounds, deal damage and apply `TiberiumChainReaction` if a parameter is set (needs [following changes to `fadata.ini`](Whats-New.md#for-map-editor-final-alert-2).
10-
- Map trigger action `125 Build At...` can now play buildup anim and becomes singleplayer-AI-repairable optionally (needs [following changes to `fadata.ini`](Whats-New.md#for-map-editor-final-alert-2).
9+
- Map trigger action `41 Play Animation At...` can now create 'non-inert' animations which can play sounds, deal damage and apply `TiberiumChainReaction` if a parameter is set (needs [following changes to `fadata.ini`](Whats-New.md#for-map-editor-final-alert-2)).
10+
- Map trigger action `125 Build At...` can now play buildup anim and becomes singleplayer-AI-repairable optionally (needs [following changes to `fadata.ini`](Whats-New.md#for-map-editor-final-alert-2)).
1111
- Both Global Variables (`VariableNames` in `rulesmd.ini`) and Local Variables (`VariableNames` in map) are now unlimited.
1212
- Script action `Deploy` now has vehicles with `DeploysInto` searching for free space to deploy at if failing to do so at initial location, instead of simply getting stuck.
1313
- Teams spawned by trigger action 7,80,107 can use IFV and opentopped logic normally. `InitialPayload` logic from Ares is not supported yet.

docs/Fixed-or-Improved-Logics.md

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This page describes all ingame logics that are fixed or improved in Phobos witho
1818
- Fixed building and defense tab hotkeys not enabling the placement mode after `Cannot build here.` triggered and the placement mode cancelled.
1919
- Fixed buildings with `UndeployInto` playing `EVA_NewRallypointEstablished` on undeploying.
2020
- Fixed buildings with `Naval=yes` ignoring `WaterBound=no` to be forced to place onto water.
21-
- Fixed AI Aircraft docks bug when Ares tag `[GlobalControls]` > `AllowParallelAIQueues=no` is set.
21+
- Fixed AI Aircraft docks bug when Ares tag `[GlobalControls]` -> `AllowParallelAIQueues=no` is set.
2222
- Fixed laser drawing code to allow for thicker lasers in house color draw mode.
2323
- Fixed `DeathWeapon` not detonating properly.
2424
- Some settings are still ignored like `PreImpactAnim` *(Ares feature)*, this might change in future.
@@ -127,7 +127,7 @@ This page describes all ingame logics that are fixed or improved in Phobos witho
127127
- Fixed `DeployToFire` not recalculating firer's position on land if it cannot currently deploy.
128128
- `Arcing=true` projectile elevation inaccuracy can now be fixed by setting `Arcing.AllowElevationInaccuracy=false`.
129129
- Wall overlays are now drawn with the custom palette defined in `Palette` in `artmd.ini` if possible.
130-
- `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.
130+
- 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.
131131
- Setting `ReloadInTransport` to true on units with `Ammo` will allow the ammo to be reloaded according to `Reload` or `EmptyReload` timers even while the unit is inside a transport.
132132
- It is now possible to enable `Verses` and `PercentAtMax` to be applied on negative damage by setting `ApplyModifiersOnNegativeDamage` to true on the Warhead.
133133
- Attached animations on flying units now have their layer updated immediately after the parent unit, if on same layer they always draw above the parent.
@@ -187,6 +187,9 @@ This page describes all ingame logics that are fixed or improved in Phobos witho
187187
- Unit `Speed` setting now accepts floating-point values. Internally parsed values are clamped down to maximum of 100, multiplied by 256 and divided by 100, the result (which at this point is converted to an integer) then clamped down to maximum of 255 giving effective internal speed value range of 0 to 255, e.g leptons traveled per game frame.
188188
- Subterranean movement now benefits from speed multipliers from all sources such as veterancy, AttachEffect etc.
189189
- Aircraft will now behave as expected according to it's `MovementZone` and `SpeedType` when moving onto different surfaces. In particular, this fixes erratic behavior when vanilla aircraft is ordered to move onto water surface and instead the movement order changes to a shore nearby.
190+
- Allowed `AuxBuilding` to count building upgrades.
191+
- Fix the bug that parasite will vanish if it missed its target when its previous cell is occupied.
192+
- Prevent the units with locomotors that cause problems from entering the tank bunker.
190193

191194
## Fixes / interactions with other extensions
192195

@@ -202,6 +205,7 @@ This page describes all ingame logics that are fixed or improved in Phobos witho
202205
- Suppressed Ares' swizzle warning when parsing `Tags` and `TaskForces` (typically begin with `[Developer fatal]Pointer 00000000 declared change to both`).
203206
- Fixed Academy *(Ares feature)* not working on the initial payloads *(Ares feature)* of vehicles built from a war factory.
204207
- Fixed Ares' InitialPayload not being created for vehicles spawned by trigger actions.
208+
- Allowed Ares' `SW.AuxBuildings` and `SW.NegBuildings` to count building upgrades.
205209

206210
## Aircraft
207211

@@ -497,6 +501,16 @@ Units.RepairPercent= ; floating point value, percents or absolute
497501
Units.UseRepairCost= ; boolean
498502
```
499503

504+
### Waypoints for buildings
505+
506+
- In vanilla, buildings are forbidden to use waypoints. Now you can allow that using the following flag.
507+
508+
In `rulesmd.ini`:
509+
```ini
510+
[General]
511+
BuildingWaypoints=false ; boolean
512+
```
513+
500514
## Particle systems
501515

502516
### Fire particle target coordinate adjustment when firer rotates
@@ -1176,6 +1190,23 @@ MinimapColor= ; integer - Red,Green,Blue
11761190

11771191
## Vehicles
11781192

1193+
### Bunker entering check dehardcode
1194+
1195+
- In vanilla, vehicles entering tank bunkers are subject to a series of hardcoding restrictions, including having to have turrets, having to have weapons, and not having Hover speed types. Now you can skip these restrictions.
1196+
- This needs to be used with `Bunkerable=yes`.
1197+
- This flag only skips the static check, that is, the check on the unit type. The dynamic check (cannot be parasitized) remains unchanged.
1198+
1199+
In `rulesmd.ini`:
1200+
```ini
1201+
[SOMEVEHICLE] ; VehicleType
1202+
BunkerableAnyway=false ; boolean
1203+
```
1204+
1205+
```{warning}
1206+
Skipping checks with this feature doesn't mean that vehicles and tank bunkers will interact correctly. Following the simple checks performed by the provider of this feature, bunkerability is mainly determined by Locomotor. The details about locomotors' bunkerability can be found on [ModEnc](https://modenc.renegadeprojects.com/Bunkerable).
1207+
```
1208+
1209+
11791210
### Customizing crushing tilt and slowdown
11801211

11811212
- Vehicles with `Crusher=true` and `OmniCrusher=true` / `MovementZone=CrusherAll` were hardcoded to tilt when crushing vehicles / walls respectively. This now obeys `TiltsWhenCrushes` but can be customized individually for these two scenarios using `TiltsWhenCrusher.Vehicles` and `TiltsWhenCrusher.Overlays`, which both default to `TiltsWhenCrushes`.
@@ -1681,11 +1712,15 @@ DropPod.AtmosphereEntry = ; anim, default to [AudioVisual]->AtmosphereEntry
16811712
DropPod.GroundAnim = ; 2 anims, default to [General]->DropPod
16821713
DropPod.AirImage = ; SHP file, the pod's shape, default to POD
16831714
DropPod.Height = ; int, default to [General]->DropPodHeight
1684-
DropPod.Puff = ; anim, default to [General]->DropPodPuff
1715+
DropPod.Puff = ; anim, default to [AudioVisual]->DropPodPuff
16851716
DropPod.Speed = ; int, default to [General]->DropPodSpeed
16861717
DropPod.Trailer = ; anim, default to [General]->DropPodTrailer, which by default is SMOKEY
16871718
DropPod.Trailer.Attached = ; boolean, default to no
16881719
DropPod.Trailer.SpawnDelay = ; int, number of frames between each spawn of DropPod.Trailer, default to 6
16891720
DropPod.Weapon = ; weapon, default to [General]->DropPodWeapon
16901721
DropPod.Weapon.HitLandOnly = ; boolean, default to no
16911722
```
1723+
1724+
```{note}
1725+
`[General]` -> `DropPodTrailer`is [Ares features](https://ares-developers.github.io/Ares-docs/new/droppod.html).
1726+
```

0 commit comments

Comments
 (0)