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): Alpha Aurora bomb leaves no endless green fuel haze

Olcay Seygandd3e2d18cb22
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3d50fe189..40112c709 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -629,6 +629,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.
+- An Alpha Aurora strike no longer leaves a pale green fog over the battlefield for the rest of the match. Moving the blast to the impact also set off a cloud of fuel puffs that EA's game never shows, and nothing ever ended it: a minute after one bomb it was still rolling out a fresh puff every second, and a few strikes covered the middle of a map. The bomb now goes off with EA's fireball, dust ring and scorch and leaves nothing hanging, exactly as the Air Force General's Aurora always has.
- 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/Data/Cinema/aurorafog.txt b/GeneralsMD/Code/Data/Cinema/aurorafog.txt
new file mode 100644
index 000000000..52adab2ad
--- /dev/null
+++ b/GeneralsMD/Code/Data/Cinema/aurorafog.txt
@@ -0,0 +1,17 @@
+# Scenarios/aurorafog.txt: the two Aurora bombs on Twilight Flame. Each time is a pair of shots, the
+# Alpha Aurora's bomb (2200 3700) and then the Air Force Aurora's (2200 3200), from just after the
+# impacts to a minute in, when EA's effects are long gone.
+
+11.0 cut 2200 3700 1.2 -45 8
+12.0 shot
+12.5 cut 2200 3200 1.2 -45 8
+13.5 shot
+26.0 cut 2200 3700 1.2 -45 8
+27.0 shot
+27.5 cut 2200 3200 1.2 -45 8
+28.5 shot
+59.0 cut 2200 3700 1.2 -45 8
+60.0 shot
+60.5 cut 2200 3200 1.2 -45 8
+61.5 shot
+62.0 end
diff --git a/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini b/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini
index 537bd5149..c36437a16 100644
--- a/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini
+++ b/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini
@@ -3212,6 +3212,73 @@ ParticleSystem SmokeFactionMedium
WindPingPongEndAngleMax = 6.283185
End
+; The pale green haze an Alpha Aurora bomb left on the ground for the rest of the match. This system
+; never ends by itself: every 30 frames it throws ten scorch flecks, and each fleck trails a puff of
+; AirF_AuroraBombGas1 in R:213 G:236 B:159 that swells to a hundred units across. EA only ever
+; played it through AirF_FX_AuroraBombExplode with AttachToObject on the bomb's own FXListDie, and the
+; bomb is gone before the particles next update, so the system died without emitting once: the Air
+; Force General's Aurora never shows it. FixesReforged.ini plays the same FXList as the Alpha Aurora
+; weapon's ProjectileDetonationFX, at a position with nothing to attach to, and there it emitted
+; forever. EA's block with no burst and a one-frame life draws what EA drew on both routes.
+
+ParticleSystem AirF_AuroraBombScatter1
+ Priority = CRITICAL
+ IsOneShot = No
+ Shader = ALPHA_TEST
+ Type = PARTICLE
+ ParticleName = EXScorch01.tga
+ AngleZ = 0.00 1.00
+ AngularRateZ = -0.01 0.01
+ AngularDamping = 1.00 1.00
+ VelocityDamping = 0.23 0.70
+ Gravity = 0.00
+ PerParticleAttachedSystem = AirF_AuroraBombGas1
+ Lifetime = 100.00 100.00
+ SystemLifetime = 1
+ Size = 0.10 0.10
+ StartSizeRate = 0.00 0.00
+ SizeRate = 0.10 0.10
+ SizeRateDamping = 0.50 0.80
+ Alpha1 = 0.60 0.60 0
+ Alpha2 = 0.00 0.00 100
+ Alpha3 = 0.00 0.00 0
+ Alpha4 = 0.00 0.00 0
+ Alpha5 = 0.00 0.00 0
+ Alpha6 = 0.00 0.00 0
+ Alpha7 = 0.00 0.00 0
+ Alpha8 = 0.00 0.00 0
+ Color1 = R:118 G:121 B:254 0
+ Color2 = R:0 G:0 B:0 0
+ Color3 = R:0 G:0 B:0 0
+ Color4 = R:0 G:0 B:0 0
+ Color5 = R:0 G:0 B:0 0
+ Color6 = R:0 G:0 B:0 0
+ Color7 = R:0 G:0 B:0 0
+ Color8 = R:0 G:0 B:0 0
+ ColorScale = 0.00 0.00
+ BurstDelay = 30.00 30.00
+ BurstCount = 0.00 0.00
+ InitialDelay = 0.00 0.00
+ DriftVelocity = X:0.00 Y:0.00 Z:-0.10
+ VelocityType = OUTWARD
+ VelOutward = 50.00 50.00
+ VelOutwardOther = 5.00 20.00
+ VolumeType = CYLINDER
+ VolCylinderRadius = 1.00
+ VolCylinderLength = 0.00
+ IsHollow = Yes
+ IsGroundAligned = No
+ IsEmitAboveGroundOnly = No
+ IsParticleUpTowardsEmitter = No
+ WindMotion = Unused
+ WindAngleChangeMin = 0.149924
+ WindAngleChangeMax = 0.449946
+ WindPingPongStartAngleMin = 0.000000
+ WindPingPongStartAngleMax = 0.785398
+ WindPingPongEndAngleMin = 5.497787
+ WindPingPongEndAngleMax = 6.283185
+End
+
ParticleSystem SmokeFactionLarge
Priority = WEAPON_EXPLOSION
IsOneShot = No
diff --git a/GeneralsMD/Code/Data/Scenarios/aurorafog.txt b/GeneralsMD/Code/Data/Scenarios/aurorafog.txt
new file mode 100644
index 000000000..70aeb64c8
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/aurorafog.txt
@@ -0,0 +1,17 @@
+# The pale green fuel-air haze an Alpha Aurora bomb left behind. An Alpha Aurora and an Air Force
+# Aurora, each ordered onto its own parked target, the two bombs landing about 500 apart, so EA's
+# own route for the same FXList (the Air Force bomb's FXListDie) sits in the same picture.
+#
+# generals.exe -win -xres 1920 -yres 1080 -msaa 0 -turbo -quickstart -noshellmap -observer
+# -multiInstance -noFPSLimit -map "Maps\Twilight Flame\Twilight Flame.map" -autoskirmish 2
+# -takeover -side 0 FactionAmerica -side 1 FactionGLA -seed 7 -scenario aurorafog
+# -cinema aurorafog -maxframes 1860 -logPrefix aurorafog_
+
+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 GLAVehicleTechnical 1 2200 3200
+30 spawn 0 AirF_AmericaJetAurora 1 1000 3320
+31 move 0 AirF_AmericaJetAurora 4400 3320
+250 attack 0 SupW_AmericaJetAurora 1 GLATankScorpion
+250 attack 0 AirF_AmericaJetAurora 1 GLAVehicleTechnical*