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.
C++ cmakecnccommand-and-conquercppdirectx11game-enginegame-preservationgeneralsrtssage-enginex64zero-hour
fix(data): let the alpha aurora pick a target again
Olcay Seyganb1416513ddf5
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 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.manifestindex fb4630444..f5cc25f1f 100644--- a/GeneralsMD/Code/BuildFingerprint.manifest+++ b/GeneralsMD/Code/BuildFingerprint.manifest@@ -16,6 +16,7 @@ Data/Art/Textures/ReforgedSignalLook.tgaData/Cinema/demo.txtData/Cinema/inf_jam.txtData/Cinema/inf_walk.txt+Data/Cinema/missileapex_film.txtData/Cinema/mobwatch.txtData/Cinema/nohud.txtData/Cinema/rf_ai.txt@@ -49,6 +50,7 @@ Data/Cinema/s240_md.txtData/Cinema/s240_snow.txtData/Cinema/s240_tank.txtData/Cinema/s240_town.txt+Data/Cinema/scudlaunch_film.txtData/Cinema/tr_arrival.txtData/Cinema/tr_chaos.txtData/Cinema/tr_clash.txt@@ -78,12 +80,15 @@ Data/Install_Final.bmpData/Patch.strData/Scenarios/airbelow.txtData/Scenarios/airbelowfar.txt+Data/Scenarios/alphaaurora.txtData/Scenarios/bridgecross.txtData/Scenarios/bridgelong.txtData/Scenarios/chokeprobe.txtData/Scenarios/comturret.txtData/Scenarios/crowdbattle.txt+Data/Scenarios/defencereach.txtData/Scenarios/driveby.txt+Data/Scenarios/empfriendly.txtData/Scenarios/guardradius.txtData/Scenarios/helislide.txtData/Scenarios/helitypes.txt@@ -101,6 +106,8 @@ Data/Scenarios/mappers.txtData/Scenarios/mass420x2.txtData/Scenarios/mass840.txtData/Scenarios/massmove.txt+Data/Scenarios/missileapex.txt+Data/Scenarios/missileapex_film.txtData/Scenarios/missiledefence.txtData/Scenarios/mob100.txtData/Scenarios/mob250.txt@@ -134,7 +141,10 @@ Data/Scenarios/s240_hud.txtData/Scenarios/s240_snow.txtData/Scenarios/s240_tank.txtData/Scenarios/s240_town.txt+Data/Scenarios/scudlaunch_film.txtData/Scenarios/scudstorm.txt+Data/Scenarios/sentryattack.txt+Data/Scenarios/sentrydrone.txtData/Scenarios/shiftorders.txtData/Scenarios/shiftqueue.txtData/Scenarios/squad30.txtdiff --git a/GeneralsMD/Code/Data/INI/FixesReforged.ini b/GeneralsMD/Code/Data/INI/FixesReforged.iniindex 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.0ProjectileDetonationOCL = SupW_OCL_FuelAirBombProjectileDetonationFX = AirF_FX_AuroraBombExplodeEnddiff --git a/GeneralsMD/Code/Data/Scenarios/alphaaurora.txt b/GeneralsMD/Code/Data/Scenarios/alphaaurora.txtnew file mode 100644index 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