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): emp pulse bursts on the ground and disables with the flash
Olcay Seygana787c0132473
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 6ba3bcce7..751b52b64 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1038,6 +1038,7 @@ A second pass went through the same nine generals and the base units they build,- 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. The same Scorpion that sat untouched at full health is destroyed by the first bomb under every one of those five orders.- The Alpha Aurora's bomb hits for its full damage on impact again before the blast. Moving the blast to the impact had cut the bomb's own 400-point hit, so every strike did less than EA's game: an Overlord that dies to one bomb in retail drove away on 197 of 1100, and a War Factory lost 900 where it should lose 1900. Both hits land now, the bomb first and the fuel-air blast about a second later, as in retail.+- China's EMP Pulse goes off where the bomb lands. EA's bomb burst 15 above the ground, so the flash and the blue sphere opened in the air over the target while the bomb was still falling, and the vehicles under it only went dark a third of a second after the flash. The bomb now bursts on the ground and the vehicles go dark with the flash. Replays with an EMP Pulse in them, recorded before this, can play out differently.A third pass went through the generals' powers, promotions and unit abilities.diff --git a/GeneralsMD/Code/Data/INI/FixesReforged.ini b/GeneralsMD/Code/Data/INI/FixesReforged.iniindex 4301f6de5..36deda2d2 100644--- a/GeneralsMD/Code/Data/INI/FixesReforged.ini+++ b/GeneralsMD/Code/Data/INI/FixesReforged.ini@@ -6784,6 +6784,41 @@ Object SupW_AuroraFuelAirBombGeometryMajorRadius = 2.0End+; ==== EMP Pulse bomb ==============================================================================++; China's EMP Pulse bomb died 15 above the ground, so its flash and the EMP sphere went off in the+; air while the bomb was still falling. The sphere then waited 300 ms before it disabled anything,+; so the vehicles went dark a third of a second after the flash. The bomb now dies on the ground and+; the sphere disables three ticks after it appears, with the flash. The sphere's colour fade starts+; at that tick, so it turns from blue to black over the same three seconds as before.++Object EMPPulseBomb+ ReplaceModule ModuleTag_05+ Behavior = HeightDieUpdate ModuleTag_05_Fix+ TargetHeight = 1.0+ TargetHeightIncludesStructures = No+ SnapToGroundOnDeath = Yes+ End+ End+End++Object EMPPulseEffectSpheroid+ ReplaceModule ModuleTag_02+ Behavior = EMPUpdate ModuleTag_02_Fix+ DisabledDuration = 30000+ Lifetime = 3000+ StartFadeTime = 50+ StartScale = 0.01+ TargetScaleMin = 3.00+ TargetScaleMax = 4.00+ StartColor = R:32 G:64 B:255+ EndColor = R:0 G:0 B:0+ DoesNotAffectMyOwnBuildings = No+ DisableFXParticleSystem = EMPSparks+ End+ End+End+; ==== Campaign battleships ========================================================================; The battleships name a flash bone at each muzzle and no launch bone, so a shell left from the