Skip to content

Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.

fix(data): let the alpha aurora pick a target again

Olcay Seyganb1416513ddf5
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d78630124..7c4e4d095 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -613,6 +613,7 @@ A second pass went through the same nine generals and the base units they build,
- The three American generals' Paradrop drops their own Rangers, and a destroyed Particle Uplink lets their own Rangers out of the rubble. Both used to give the plain American Ranger, who could not be double-click selected with the rest.
- A Saboteur thrown off a dying Combat Bike is thrown, instead of vanishing.
- The Alpha Aurora's fuel-air blast goes off where the bomb lands, not in the air above the first roof it passes, and the bomb no longer hangs in the air for a frame before landing.
+- The Alpha Aurora attacks again. Since 2.2.0 it flew straight past whatever you sent it at: an attack order, a force attack, an attack move and a guard all came to nothing, and the A key said it had nothing that could shoot. The bomb's own hit had been set to zero when its blast moved to the impact, and a plane whose only weapon promises no damage never picks a target. It carries a token two points now, as EA gave the Air Force General's Aurora, and the fuel-air blast still does the killing: the same Scorpion that sat untouched at full health is destroyed by the first bomb under every one of those five orders.
A third pass went through the generals' powers, promotions and unit abilities.
diff --git a/GeneralsMD/Code/BuildFingerprint.manifest b/GeneralsMD/Code/BuildFingerprint.manifest
index fb4630444..f5cc25f1f 100644
--- a/GeneralsMD/Code/BuildFingerprint.manifest
+++ b/GeneralsMD/Code/BuildFingerprint.manifest
@@ -16,6 +16,7 @@ Data/Art/Textures/ReforgedSignalLook.tga
Data/Cinema/demo.txt
Data/Cinema/inf_jam.txt
Data/Cinema/inf_walk.txt
+Data/Cinema/missileapex_film.txt
Data/Cinema/mobwatch.txt
Data/Cinema/nohud.txt
Data/Cinema/rf_ai.txt
@@ -49,6 +50,7 @@ Data/Cinema/s240_md.txt
Data/Cinema/s240_snow.txt
Data/Cinema/s240_tank.txt
Data/Cinema/s240_town.txt
+Data/Cinema/scudlaunch_film.txt
Data/Cinema/tr_arrival.txt
Data/Cinema/tr_chaos.txt
Data/Cinema/tr_clash.txt
@@ -78,12 +80,15 @@ Data/Install_Final.bmp
Data/Patch.str
Data/Scenarios/airbelow.txt
Data/Scenarios/airbelowfar.txt
+Data/Scenarios/alphaaurora.txt
Data/Scenarios/bridgecross.txt
Data/Scenarios/bridgelong.txt
Data/Scenarios/chokeprobe.txt
Data/Scenarios/comturret.txt
Data/Scenarios/crowdbattle.txt
+Data/Scenarios/defencereach.txt
Data/Scenarios/driveby.txt
+Data/Scenarios/empfriendly.txt
Data/Scenarios/guardradius.txt
Data/Scenarios/helislide.txt
Data/Scenarios/helitypes.txt
@@ -101,6 +106,8 @@ Data/Scenarios/mappers.txt
Data/Scenarios/mass420x2.txt
Data/Scenarios/mass840.txt
Data/Scenarios/massmove.txt
+Data/Scenarios/missileapex.txt
+Data/Scenarios/missileapex_film.txt
Data/Scenarios/missiledefence.txt
Data/Scenarios/mob100.txt
Data/Scenarios/mob250.txt
@@ -134,7 +141,10 @@ Data/Scenarios/s240_hud.txt
Data/Scenarios/s240_snow.txt
Data/Scenarios/s240_tank.txt
Data/Scenarios/s240_town.txt
+Data/Scenarios/scudlaunch_film.txt
Data/Scenarios/scudstorm.txt
+Data/Scenarios/sentryattack.txt
+Data/Scenarios/sentrydrone.txt
Data/Scenarios/shiftorders.txt
Data/Scenarios/shiftqueue.txt
Data/Scenarios/squad30.txt
diff --git a/GeneralsMD/Code/Data/INI/FixesReforged.ini b/GeneralsMD/Code/Data/INI/FixesReforged.ini
index 41d0e52f6..a523cb824 100644
--- a/GeneralsMD/Code/Data/INI/FixesReforged.ini
+++ b/GeneralsMD/Code/Data/INI/FixesReforged.ini
@@ -6740,10 +6740,14 @@ End
; hit buildings early, so the fuel-air blast went off in the air over the target instead of on it.
; Its drag was also sixteen times the plain Aurora bomb's, and it hung for a frame or two before
; landing. The blast now comes from the impact, as the plain bomb's does. The weapon's 400 damage
-; was never dealt, since a bomb killed in the air does not detonate, and stays out.
+; was never dealt, since a bomb killed in the air does not detonate, and stays out. It cannot go to
+; zero: a weapon that estimates no damage against a target is never chosen, so the Alpha Aurora
+; took no attack order, no force attack, no attack move and no guard target. 2 over a radius of 4
+; is what EA gave AirF_AuroraBombWeapon, whose blast also comes from the gas its bomb leaves.
Weapon SupW_AuroraFuelBombWeapon
- PrimaryDamage = 0.0
+ PrimaryDamage = 2.0
+ PrimaryDamageRadius = 4.0
ProjectileDetonationOCL = SupW_OCL_FuelAirBomb
ProjectileDetonationFX = AirF_FX_AuroraBombExplode
End
diff --git a/GeneralsMD/Code/Data/Scenarios/alphaaurora.txt b/GeneralsMD/Code/Data/Scenarios/alphaaurora.txt
new file mode 100644
index 000000000..6d7af8463
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/alphaaurora.txt
@@ -0,0 +1,25 @@
+# Does the Alpha Aurora take an attack order? An Alpha Aurora and a plain Aurora at cruise, each
+# ordered onto its own parked tank 120 off its wing.
+#
+# generals.exe -headless -quickstart -noshellmap -observer -multiInstance -noFPSLimit
+# -map "Maps\Twilight Flame\Twilight Flame.map" -autoskirmish 2 -takeover
+# -side 0 FactionAmerica -side 1 FactionChina -seed 7 -maxframes 700
+# -scenario alphaaurora -logPrefix alphaaurora_
+#
+# Measured 2026-10-05. Before the fix the Alpha Aurora refused the order (AIAttackState::onEnter
+# found no weapon, since SupW_AuroraFuelBombWeapon estimated zero damage) and the Scorpion ended on
+# 370 of 370. After it the Alpha Aurora drops at frame 269 and the Scorpion dies at 332 (frames from
+# a temporary log), and the plain Aurora's Crusader ends on 80 of 480. Swapping attack for
+# shiftattack, forceattack, attackmove to the Scorpion's spot or shiftguard on it gave the same
+# before and after; forceattack before the fix was refused outright ("can shoot ... sends nothing").
+
+30 spawn 1 GLATankScorpion 1 2200 3700
+30 spawn 0 SupW_AmericaJetAurora 1 1000 3820
+31 move 0 SupW_AmericaJetAurora 4400 3820
+30 spawn 1 AmericaTankCrusader 1 2200 3200
+30 spawn 0 AmericaJetAurora 1 1000 3320
+31 move 0 AmericaJetAurora 4400 3320
+250 attack 0 SupW_AmericaJetAurora 1 GLATankScorpion
+250 attack 0 AmericaJetAurora 1 AmericaTankCrusader
+650 tally 1 GLATankScorpion
+650 tally 1 AmericaTankCrusader