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): bring back the Paladin and Avenger point defense beams
Olcay Seygan5ec353940231
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 32f932e65..ec83710b4 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -64,12 +64,12 @@ found and fixed — EA's own, not port damage.**- The Gattling cannon on an Overlord's back turns at the Gattling Tank's 180 degrees a second instead of 60 and opens fire the same way. A target appearing behind the Overlord is under fire 22 frames sooner and took 66 hits where it took 41.- A replay recorded before this change plays back differently.-## Flares and hard-kill charges instead of lasers+## Flares on the planes, lasers in clips on the tanks- The Air Force General's King Raptor, Aurora, Stealth Fighter, B-3 and Chinooks carried a laser that burned every missile out of the air as it came near. They drop flares now. A Stinger fired at a King Raptor sees the flares leave its tail, turns onto one and burns out behind the plane. The flares come fitted from the factory with no upgrade to buy: three volleys, then six seconds to reload. Two King Raptors making seven passes over a Stinger Site took between 60 and 180 damage of 480 over the measured runs, where the lasers let through 150 and 270.- Flares cannot do everything the laser did. A Chinook sitting on the ground has no missile defence at all, an Aurora on its supersonic run is too fast to throw them, and no flare fools a SCUD or a Tomahawk, which the laser used to shoot down near these aircraft. Bought anyway, Countermeasures still gives the Air Force General's planes its armor.-- The Paladin and the Avenger fire a small charge from the hull that bursts an incoming missile short of the tank. You see a puff and hear a bang at the hull, and the missile goes up in a blast. A Paladin holds two charges and reloads in four seconds, and each of the Avenger's two launchers holds four and reloads in three. Under five Tank Hunters an Avenger bursts 8 missiles where the laser stopped 14 or 16, but it dies on the same frame, because fifteen hits kill it either way. A Paladin under four Rocket Buggies stops 4 rockets of 36, as it did before.-- The Paladin's laser also hit infantry that came within 65 of the tank. A second launcher with its own two charges does that now, so shooting at a soldier never leaves the tank without a charge for a missile. The blast throws a soldier where the laser burned him.+- The Paladin and the Avenger keep their point defense lasers, and you can see them again. In 2.4.0 they fired an invisible charge: a puff at the hull and a missile bursting in the air with nothing between them. The beam is back, drawn from the same spot on the tank EA drew it from, and a missile it touches still goes in one shot with a small burst. What 2.4.0 changed stays. The lasers fire in short bursts: a Paladin gets two shots and four seconds to recharge, each of the Avenger's two lasers gets four and three seconds. Under five Tank Hunters an Avenger stops 8 missiles where EA's endless laser stopped 14 or 16, but it dies on the same frame, because fifteen hits kill it either way. A Paladin under four Rocket Buggies stops 4 rockets of 36, as it always did.+- The Paladin's laser also burns any soldier who comes within 65 of the tank, and a soldier it kills burns up again instead of being thrown by a blast. It has a second laser of its own for that, with its own two shots, so firing at a soldier never leaves the tank empty when a missile arrives.- A replay recorded before this change plays back differently.## Helicopters fly like helicoptersdiff --git a/GeneralsMD/Code/Data/INI/BalanceReforged.ini b/GeneralsMD/Code/Data/INI/BalanceReforged.iniindex 832042dd3..9e9ed133d 100644--- a/GeneralsMD/Code/Data/INI/BalanceReforged.ini+++ b/GeneralsMD/Code/Data/INI/BalanceReforged.ini@@ -817,24 +817,24 @@ Object AFG_AmericaVehicleChinookEndEnd-; The Paladin and the Avenger fire a small charge from the hull instead, which bursts the missile-; short of the tank: a puff and a bang at the hull, a blast at the missile. The weapons keep their-; reach and the laser's damage, which a missile cannot survive, but they come in clips now. The-; point defense module counts the clip itself (PointDefenseLaserUpdate), since it fires a fresh-; copy of its weapon every shot.+; The Paladin and the Avenger keep their lasers, in clips now. From 2026-10-03 to 2026-10-06 they+; fired an invisible charge instead (LaserName emptied, a launch puff for FireFX); players lost the+; beam, so EA's beam, bone and fire FX are back and only the clip and the blast at the missile stay.+; The weapons keep their reach and the laser's damage, which a missile cannot survive. The point+; defense module counts the clip itself (PointDefenseLaserUpdate), since it fires a fresh copy of+; its weapon every shot, and plays the ProjectileDetonationFX where the target was.;; A missile picks its death by DeathType, the same three ways in every missile EA made: LASERED; plays a laser disintegration, DETONATED plays nothing (it is how a missile that reached its target; leaves the world), and anything else plays a full Explosion with ExplosionSmoke, a grey cloud the-; size of a tank that stacked into a column under repeated intercepts. The charge kills with-; DETONATED, so the burst it plays itself is all there is to see.+; size of a tank that stacked into a column under repeated intercepts. The laser kills with+; DETONATED, so the small blast it plays itself is all there is to see at the missile.;-; The Paladin's laser also burned down infantry that came within 65. A second launcher with its own-; clip does that, so a Tank Hunter's missile and the Tank Hunter himself no longer share one gun, and-; it kills with EXPLODED, which throws a soldier where the laser burned him. That needs a second-; weapon and a MULTIFILE file cannot add one, so it is AirF_RaptorPointDefenseLaser, which nothing-; fires any more since the King Raptor and the Boss Raptor took flares: every field that matters is-; set here, to the Paladin charge's numbers.+; The Paladin's laser also burns down infantry that come within 65. A second laser with its own clip+; does that, so a Tank Hunter's missile and the Tank Hunter himself do not share one gun. That needs+; a second weapon and a MULTIFILE file cannot add one, so it is AirF_RaptorPointDefenseLaser, which+; nothing fires any more since the King Raptor and the Boss Raptor took flares: every field that+; matters is set here, with the Paladin's beam from its LASER bone.;; The Paladin's laser had already been slowed to one shot in two seconds, because at EA's one a; second it shot down every Patriot missile: Paladins killed a Patriot four times of four for 0.28@@ -848,12 +848,10 @@ Weapon PaladinPointDefenseLaserClipSize = 2 ; EA: 0ClipReloadTime = 4000DeathType = DETONATED- LaserName =- FireFX = FX_ActiveProtectionLaunchProjectileDetonationFX = FX_ActiveProtectionBlastEnd-Weapon AirF_RaptorPointDefenseLaser ; the Paladin's anti-personnel charge, see above+Weapon AirF_RaptorPointDefenseLaser ; the Paladin's anti-personnel laser, see abovePrimaryDamage = 100.0PrimaryDamageRadius = 0.0AttackRange = 65.0@@ -861,10 +859,10 @@ Weapon AirF_RaptorPointDefenseLaser ; the Paladin's anti-personnel charge, seDelayBetweenShots = 250ClipSize = 2ClipReloadTime = 4000- DeathType = EXPLODED- LaserName =- FireFX = FX_ActiveProtectionLaunch- ProjectileDetonationFX = FX_ActiveProtectionBlast+ DeathType = LASERED+ LaserName = PointDefenseLaserBeam+ LaserBoneName = LASER+ FireFX = WeaponFX_PaladinPointDefenseLaserEndWeapon AvengerPointDefenseLaserOne@@ -872,8 +870,6 @@ Weapon AvengerPointDefenseLaserOneClipSize = 4 ; EA: 0ClipReloadTime = 3000DeathType = DETONATED- LaserName =- FireFX = FX_ActiveProtectionLaunchProjectileDetonationFX = FX_ActiveProtectionBlastEnd@@ -882,8 +878,6 @@ Weapon AvengerPointDefenseLaserTwoClipSize = 4 ; EA: 0ClipReloadTime = 3000DeathType = DETONATED- LaserName =- FireFX = FX_ActiveProtectionLaunchProjectileDetonationFX = FX_ActiveProtectionBlastEnddiff --git a/GeneralsMD/Code/Data/INI/FXListReforged.ini b/GeneralsMD/Code/Data/INI/FXListReforged.iniindex caee792e4..4ccb02bdd 100644--- a/GeneralsMD/Code/Data/INI/FXListReforged.ini+++ b/GeneralsMD/Code/Data/INI/FXListReforged.ini@@ -2609,30 +2609,7 @@ FXList SupW_FX_ParticleUplinkDeathInitialEnd; -----------------------------------------------; The Paladin's and the Avenger's hard-kill charge leaving the hull (the weapon's FireFX). The tanks-; have no bone for it, so it plays at the tank's own position and the offset lifts it to the deck.-FXList FX_ActiveProtectionLaunch- Sound- Name = RangerFlashBangWeapon- End- ParticleSystem- Name = TankSmallMuzzleFlare- Offset = X:0 Y:0 Z:12- End- ParticleSystem- Name = MissileBackblastClouds- Offset = X:0 Y:0 Z:12- End- LightPulse- Color = R:255 G:200 B:140- Radius = 30- IncreaseTime = 0- DecreaseTime = 150- End-End--; -----------------------------------------------; The charge bursting at the missile, or at the infantryman the Paladin fires it at+; The Paladin's and the Avenger's point defense laser bursting a missile; (ProjectileDetonationFX, played by PointDefenseLaserUpdate where the target was). A small sharp; burst, gone in half a second: its three systems are in ParticleSystemReforged.ini.FXList FX_ActiveProtectionBlastdiff --git a/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini b/GeneralsMD/Code/Data/INI/ParticleSystemReforged.iniindex 36fbc1fac..d0db06adf 100644--- a/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini+++ b/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini@@ -176,7 +176,7 @@ ParticleSystem SupW_ParticleDeathImplodeWindPingPongEndAngleMax = 6.283185End-; The Paladin's and the Avenger's hard-kill charge bursting at a missile (FX_ActiveProtectionBlast in+; The Paladin's and the Avenger's point defense laser bursting a missile (FX_ActiveProtectionBlast in; FXListReforged.ini). The Rocket Buggy's explosion it first borrowed lives 100 frames and grew into a; cloud the size of the tank, stacking into a column under a run of intercepts. These three are over; inside half a second and stay about a quarter of a tank across: a flash of 8 frames, a handful ofdiff --git a/GeneralsMD/Code/Data/Scenarios/missiledefence.txt b/GeneralsMD/Code/Data/Scenarios/missiledefence.txtindex 408205541..f2a102710 100644--- a/GeneralsMD/Code/Data/Scenarios/missiledefence.txt+++ b/GeneralsMD/Code/Data/Scenarios/missiledefence.txt@@ -28,6 +28,12 @@# and 150, the Avenger died on 261 and 261, the Paladin under buggies on 381 and 381, the Paladin# under Terrorists on 397 and 450, and its infantry charge killed a Terrorist on frame 385 of seed 7.#+# 2026-10-06 the beam came back (EA's LaserName, bone and FireFX; clips, damage and DETONATED kept)+# and the infantry shot burns again (LASERED). Seeds 7 and 8: the Avenger shot down 8 and 8 and died+# on 258 and 258, the Paladin under buggies shot down 4 rockets and died on 381 and 381, the Paladin+# under Terrorists died on 386 and 396 with no Terrorist killed. Its laser never one-shot a soldier:+# 100 LASER against HumanArmor's 50% is 50 of a Rebel's or Terrorist's 120.+## Worth filming: flares come off a Raptor and Stingers turn onto them around 2620,3005 at about 95# high on frames 250 to 256 (seed 7); the Avenger at 2195,3906 bursts Tank Hunter missiles about 90# north of it on frames 150 to 190, and the Paladin at 3300,3800 a buggy rocket 60 north on 146.