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
feat(data): shot-down planes blast and burn where they hit
Olcay Seygan44a46335c104
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex c7a91a1aa..14218a416 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -18,6 +18,13 @@ found and fixed — EA's own, not port damage.**- On the ground a jet taxis on its wheels. It rounds the taxiway corners, rolls straight out of the landing into the taxi and turns into its parking spot in one smooth sweep.- Helicopters are untouched and fly as they did.+## A plane that is shot down hits the ground hard++- A shot-down jet now hits the ground with a blast: 80 damage in a small radius. A B-52, a B-3, a cargo plane, the carpet bomber or a Spectre does 160 in a wider one.+- The wreck leaves fire burning for about 6 seconds, and the fire sets infantry alight. A big plane leaves a line of fires along the length of the wreck.+- The blast and the fire do not pick sides. A bomber brought down over your own army hurts your own army.+- Bombers and cargo planes no longer vanish silently when they hit the ground. A jet destroyed while it sits parked is unchanged.+## A tank shell kills the man it hits- A cannon shell did 6 damage to a soldier. A Ranger has 180 health, so thirty shells that actually hit him left him standing, a full minute of fire from a Crusader, while the same shell does 60 to another tank. It now does that 60 to him as well. Three hits kill a Ranger. Two kill a Red Guard or a Rebel.diff --git a/GeneralsMD/Code/Data/INI/BalanceReforged.ini b/GeneralsMD/Code/Data/INI/BalanceReforged.iniindex 0bd300c44..25fc066f7 100644--- a/GeneralsMD/Code/Data/INI/BalanceReforged.ini+++ b/GeneralsMD/Code/Data/INI/BalanceReforged.ini@@ -1808,3 +1808,644 @@ Armor DemoGenTerroristArmorArmor = COMANCHE_VULCAN 80%Armor = POISON 50%End++; ---- a plane shot down blows up and burns where it lands -----------------------------------------+;+; ObjectCreationListReforged.ini says when a crash goes off; this is what goes off. All three+; objects are ObjectReskins of EA's FireFieldSmall, the napalm missile's patch of fire, because a+; reskin may be a new name in this file where a plain Object may not. A reskin changes only the+; draw module, so a second block under each name swaps the rest.+;+; Reforged_JetCrashFire keeps EA's SmallFireFieldWeapon, 5 FLAME across 30 every quarter second,+; BURNED and hitting every side, and burns 6 seconds where the napalm field burns 2.5: 120 to a+; tank's hull before armour, 180 to a man in HumanArmor who stays in it. Its flames are EA's+; inferno burst for the first moments, then the burning-building fire and smoke for as long as it+; stands; the smoke drifts off after it goes. Reforged_JetCrashImpact and Reforged_BigJetCrashImpact+; draw nothing, fire their one-shot blast from WeaponReforged.ini the frame they appear and are gone+; a second later.+;+; The Aurora, the Stealth Fighter and every big plane had no list for hitting the ground, so their+; death module is restated with one. Every other line is EA's, the same in each general's copy. A+; big plane is also given its crash for dying on the ground, which none of them ever does: they are+; made at cruising height and leave the map at it. The campaign's CINE_ copies are left alone.++ObjectReskin Reforged_JetCrashFire FireFieldSmall+ Draw = W3DModelDraw ModuleTag_01_Crash+ DefaultConditionState+ Model = NONE+ ParticleSysBone = None InfernoCannonFire+ ParticleSysBone = None InfernoCannonFlare+ ParticleSysBone = None InfernoCannonRing+ ParticleSysBone = None FireFactionLarge+ ParticleSysBone = None SmokeFactionLarge+ End+ End+End++Object Reforged_JetCrashFire+ ReplaceModule ModuleTag_04+ Behavior = DeletionUpdate ModuleTag_04_Crash+ MinLifetime = 6000+ MaxLifetime = 6000+ End+ End+End++ObjectReskin Reforged_JetCrashImpact FireFieldSmall+ Draw = W3DModelDraw ModuleTag_01_Crash+ DefaultConditionState+ Model = NONE+ End+ End+End++Object Reforged_JetCrashImpact+ ReplaceModule ModuleTag_03+ Behavior = FireWeaponUpdate ModuleTag_03_Crash+ Weapon = Reforged_JetCrashBlast+ End+ End+ ReplaceModule ModuleTag_04+ Behavior = DeletionUpdate ModuleTag_04_Crash+ MinLifetime = 1000+ MaxLifetime = 1000+ End+ End+End++ObjectReskin Reforged_BigJetCrashImpact FireFieldSmall+ Draw = W3DModelDraw ModuleTag_01_Crash+ DefaultConditionState+ Model = NONE+ End+ End+End++Object Reforged_BigJetCrashImpact+ ReplaceModule ModuleTag_03+ Behavior = FireWeaponUpdate ModuleTag_03_Crash+ Weapon = Reforged_BigJetCrashBlast+ End+ End+ ReplaceModule ModuleTag_04+ Behavior = DeletionUpdate ModuleTag_04_Crash+ MinLifetime = 1000+ MaxLifetime = 1000+ End+ End+End++Object AmericaJetAurora+ ReplaceModule ModuleTag_03+ Behavior = JetSlowDeathBehavior ModuleTag_03_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_AuroraDeathFinalBlowUp+ DestructionDelay = 99999999+ RollRate = 0.2+ RollRateDelta = 100%+ PitchRate = 0.0+ FallHowFast = 110.0%+ FXInitialDeath = FX_AuroraDeathInitial+ DelaySecondaryFromInitialDeath = 500+ FXSecondary = FX_JetDeathSecondary+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_JetCrash+ DelayFinalBlowUpFromHitGround = 200+ FXFinalBlowUp = FX_JetDeathFinalBlowUp+ OCLFinalBlowUp = OCL_AuroraDeathFinalBlowUp+ End+ End+End++Object AirF_AmericaJetAurora+ ReplaceModule ModuleTag_03+ Behavior = JetSlowDeathBehavior ModuleTag_03_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_AuroraDeathFinalBlowUp+ DestructionDelay = 99999999+ RollRate = 0.2+ RollRateDelta = 100%+ PitchRate = 0.0+ FallHowFast = 110.0%+ FXInitialDeath = FX_AuroraDeathInitial+ DelaySecondaryFromInitialDeath = 500+ FXSecondary = FX_JetDeathSecondary+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_JetCrash+ DelayFinalBlowUpFromHitGround = 200+ FXFinalBlowUp = FX_JetDeathFinalBlowUp+ OCLFinalBlowUp = OCL_AuroraDeathFinalBlowUp+ End+ End+End++Object Boss_JetAurora+ ReplaceModule ModuleTag_03+ Behavior = JetSlowDeathBehavior ModuleTag_03_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_AuroraDeathFinalBlowUp+ DestructionDelay = 99999999+ RollRate = 0.2+ RollRateDelta = 100%+ PitchRate = 0.0+ FallHowFast = 110.0%+ FXInitialDeath = FX_AuroraDeathInitial+ DelaySecondaryFromInitialDeath = 500+ FXSecondary = FX_JetDeathSecondary+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_JetCrash+ DelayFinalBlowUpFromHitGround = 200+ FXFinalBlowUp = FX_JetDeathFinalBlowUp+ OCLFinalBlowUp = OCL_AuroraDeathFinalBlowUp+ End+ End+End++Object Lazr_AmericaJetAurora+ ReplaceModule ModuleTag_03+ Behavior = JetSlowDeathBehavior ModuleTag_03_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_AuroraDeathFinalBlowUp+ DestructionDelay = 99999999+ RollRate = 0.2+ RollRateDelta = 100%+ PitchRate = 0.0+ FallHowFast = 110.0%+ FXInitialDeath = FX_AuroraDeathInitial+ DelaySecondaryFromInitialDeath = 500+ FXSecondary = FX_JetDeathSecondary+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_JetCrash+ DelayFinalBlowUpFromHitGround = 200+ FXFinalBlowUp = FX_JetDeathFinalBlowUp+ OCLFinalBlowUp = OCL_AuroraDeathFinalBlowUp+ End+ End+End++Object SupW_AmericaJetAurora+ ReplaceModule ModuleTag_03+ Behavior = JetSlowDeathBehavior ModuleTag_03_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_AuroraDeathFinalBlowUp+ DestructionDelay = 99999999+ RollRate = 0.2+ RollRateDelta = 100%+ PitchRate = 0.0+ FallHowFast = 110.0%+ FXInitialDeath = FX_AuroraDeathInitial+ DelaySecondaryFromInitialDeath = 500+ FXSecondary = FX_JetDeathSecondary+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_JetCrash+ DelayFinalBlowUpFromHitGround = 200+ FXFinalBlowUp = FX_JetDeathFinalBlowUp+ OCLFinalBlowUp = OCL_AuroraDeathFinalBlowUp+ End+ End+End++Object AmericaJetStealthFighter+ ReplaceModule ModuleTag_03+ Behavior = JetSlowDeathBehavior ModuleTag_03_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_StealthDeathFinalBlowUp+ DestructionDelay = 99999999+ RollRate = 0.2+ RollRateDelta = 100%+ PitchRate = 0.0+ FallHowFast = 110.0%+ FXInitialDeath = FX_StealthFighterDeathInitial+ DelaySecondaryFromInitialDeath = 500+ FXSecondary = FX_JetDeathSecondary+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_JetCrash+ DelayFinalBlowUpFromHitGround = 200+ FXFinalBlowUp = FX_JetDeathFinalBlowUp+ OCLFinalBlowUp = OCL_StealthDeathFinalBlowUp+ End+ End+End++Object AirF_AmericaJetStealthFighter+ ReplaceModule ModuleTag_03+ Behavior = JetSlowDeathBehavior ModuleTag_03_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_StealthDeathFinalBlowUp+ DestructionDelay = 99999999+ RollRate = 0.2+ RollRateDelta = 100%+ PitchRate = 0.0+ FallHowFast = 110.0%+ FXInitialDeath = FX_StealthFighterDeathInitial+ DelaySecondaryFromInitialDeath = 500+ FXSecondary = FX_JetDeathSecondary+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_JetCrash+ DelayFinalBlowUpFromHitGround = 200+ FXFinalBlowUp = FX_JetDeathFinalBlowUp+ OCLFinalBlowUp = OCL_StealthDeathFinalBlowUp+ End+ End+End++Object Lazr_AmericaJetStealthFighter+ ReplaceModule ModuleTag_03+ Behavior = JetSlowDeathBehavior ModuleTag_03_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_StealthDeathFinalBlowUp+ DestructionDelay = 99999999+ RollRate = 0.2+ RollRateDelta = 100%+ PitchRate = 0.0+ FallHowFast = 110.0%+ FXInitialDeath = FX_StealthFighterDeathInitial+ DelaySecondaryFromInitialDeath = 500+ FXSecondary = FX_JetDeathSecondary+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_JetCrash+ DelayFinalBlowUpFromHitGround = 200+ FXFinalBlowUp = FX_JetDeathFinalBlowUp+ OCLFinalBlowUp = OCL_StealthDeathFinalBlowUp+ End+ End+End++Object SupW_AmericaJetStealthFighter+ ReplaceModule ModuleTag_03+ Behavior = JetSlowDeathBehavior ModuleTag_03_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_StealthDeathFinalBlowUp+ DestructionDelay = 99999999+ RollRate = 0.2+ RollRateDelta = 100%+ PitchRate = 0.0+ FallHowFast = 110.0%+ FXInitialDeath = FX_StealthFighterDeathInitial+ DelaySecondaryFromInitialDeath = 500+ FXSecondary = FX_JetDeathSecondary+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_JetCrash+ DelayFinalBlowUpFromHitGround = 200+ FXFinalBlowUp = FX_JetDeathFinalBlowUp+ OCLFinalBlowUp = OCL_StealthDeathFinalBlowUp+ End+ End+End++Object AmericaJetB52+ ReplaceModule ModuleTag_10+ Behavior = JetSlowDeathBehavior ModuleTag_10_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object AirF_AmericaJetB52+ ReplaceModule ModuleTag_10+ Behavior = JetSlowDeathBehavior ModuleTag_10_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object Lazr_AmericaJetB52+ ReplaceModule ModuleTag_10+ Behavior = JetSlowDeathBehavior ModuleTag_10_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object SupW_AmericaJetB52+ ReplaceModule ModuleTag_10+ Behavior = JetSlowDeathBehavior ModuleTag_10_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object AmericaJetB3+ ReplaceModule ModuleTag_10+ Behavior = JetSlowDeathBehavior ModuleTag_10_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object AirF_AmericaJetB3+ ReplaceModule ModuleTag_10+ Behavior = JetSlowDeathBehavior ModuleTag_10_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object SupW_AmericaJetB3+ ReplaceModule ModuleTag_10+ Behavior = JetSlowDeathBehavior ModuleTag_10_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object AmericaJetCargoPlane+ ReplaceModule ModuleTag_11+ Behavior = JetSlowDeathBehavior ModuleTag_11_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object AirF_AmericaJetCargoPlane+ ReplaceModule ModuleTag_11+ Behavior = JetSlowDeathBehavior ModuleTag_11_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object Lazr_AmericaJetCargoPlane+ ReplaceModule ModuleTag_11+ Behavior = JetSlowDeathBehavior ModuleTag_11_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object SupW_AmericaJetCargoPlane+ ReplaceModule ModuleTag_11+ Behavior = JetSlowDeathBehavior ModuleTag_11_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object ChinaJetCargoPlane+ ReplaceModule ModuleTag_12+ Behavior = JetSlowDeathBehavior ModuleTag_12_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object Infa_ChinaJetCargoPlane+ ReplaceModule ModuleTag_12+ Behavior = JetSlowDeathBehavior ModuleTag_12_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object Nuke_ChinaJetCargoPlane+ ReplaceModule ModuleTag_12+ Behavior = JetSlowDeathBehavior ModuleTag_12_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object Tank_ChinaJetCargoPlane+ ReplaceModule ModuleTag_12+ Behavior = JetSlowDeathBehavior ModuleTag_12_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object GLAJetCargoPlane+ ReplaceModule ModuleTag_10+ Behavior = JetSlowDeathBehavior ModuleTag_10_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+End++Object ChinaJetCarpetBomber+ ReplaceModule ModuleTag_12+ Behavior = JetSlowDeathBehavior ModuleTag_12_Crash+ FXOnGroundDeath = FX_JetOnGroundDeath+ OCLOnGroundDeath = OCL_Reforged_BigJetCrash+ DestructionDelay = 2000+ RollRate = 0.0+ RollRateDelta = 100%+ PitchRate = 0+ FallHowFast = 25.0%+ FXInitialDeath = FX_JetBigDeathInitial+ OCLInitialDeath = OCL_AmericaJetCargoDeathStart+ DelaySecondaryFromInitialDeath = 2000+ OCLSecondary = OCL_AmericaJetCargoHulkDeath+ FXSecondary = FX_BigPlaneDeath+ FXHitGround = FX_JetDeathHitGround+ OCLHitGround = OCL_Reforged_BigJetCrash+ End+ End+Enddiff --git a/GeneralsMD/Code/Data/INI/ObjectCreationListReforged.ini b/GeneralsMD/Code/Data/INI/ObjectCreationListReforged.iniindex 53998128b..09c5a5c33 100644--- a/GeneralsMD/Code/Data/INI/ObjectCreationListReforged.ini+++ b/GeneralsMD/Code/Data/INI/ObjectCreationListReforged.ini@@ -1905,6 +1905,218 @@ ObjectCreationList OCL_StructureCollapseFinalEndEnd+; ==== Plane crashes ===============================================================================++; A plane shot down hit the ground with a flash and a few flying parts and hurt nobody. Where it+; lands now it blows up and the spot burns on for six seconds, flames and smoke, setting alight+; whoever stands in it, whichever side. A fighter's crash is Reforged_JetCrashImpact (80 EXPLOSION+; across 35) and one Reforged_JetCrashFire (EA's napalm fire field kept burning longer); a big+; plane's is Reforged_BigJetCrashImpact (160 across 70) and four of those fires laid along its line+; of flight, 30 apart. The objects are in BalanceReforged.ini, the blasts in WeaponReforged.ini.+;+; A fighter's crash goes only on a list it plays after coming down out of the air, never on the one+; it plays when killed parked or taxiing: one dead jet on an airfield would otherwise set off every+; jet parked beside it. For the Raptor and the MiG that is EA's hit-ground list. The A-10 and the+; Spectre share EA's A-10 hit-ground debris, so theirs goes on the final blow-up 200 ms after the+; hit, which they play only after a fall. The Aurora, the Stealth Fighter and the big planes had+; no hit-ground list and get the two new ones below from BalanceReforged.ini. EA's debris and hulks+; in the four lists are unchanged.++ObjectCreationList OCL_Reforged_JetCrash+ CreateObject+ ObjectNames = Reforged_JetCrashImpact+ Disposition = ON_GROUND_ALIGNED+ End+ CreateObject+ ObjectNames = Reforged_JetCrashFire+ Disposition = ON_GROUND_ALIGNED+ End+End++; The offsets turn with the plane, so the four fires lie along the fuselage whichever way it fell.+ObjectCreationList OCL_Reforged_BigJetCrash+ CreateObject+ ObjectNames = Reforged_BigJetCrashImpact+ Disposition = ON_GROUND_ALIGNED+ End+ CreateObject+ ObjectNames = Reforged_JetCrashFire+ Offset = X:-45.0 Y:0.0 Z:0.0+ Disposition = ON_GROUND_ALIGNED+ End+ CreateObject+ ObjectNames = Reforged_JetCrashFire+ Offset = X:-15.0 Y:0.0 Z:0.0+ Disposition = ON_GROUND_ALIGNED+ End+ CreateObject+ ObjectNames = Reforged_JetCrashFire+ Offset = X:15.0 Y:0.0 Z:0.0+ Disposition = ON_GROUND_ALIGNED+ End+ CreateObject+ ObjectNames = Reforged_JetCrashFire+ Offset = X:45.0 Y:0.0 Z:0.0+ Disposition = ON_GROUND_ALIGNED+ End+End++ObjectCreationList OCL_RaptorDeathHitGround+ ; the vertical stabilizer that rips off+ CreateDebris+ ModelNames = AVRaptor_D2+ Offset = X:-7.999 Y:4.314 Z:2.86+ Mass = 3+ Count = 1+ Disposition = SEND_IT_FLYING INHERIT_VELOCITY RANDOM_FORCE+ DispositionIntensity = 0.5+ MinForcePitch = 0.0+ MaxForcePitch = 20.0+ SpinRate = 50.0+ End+ ; the horizontal stabilizer broken off+ CreateDebris+ ModelNames = AVRaptor_D3+ Offset = X:-12.822 Y:-6.425 Z:0.234+ Mass = 3+ Count = 1+ Disposition = SEND_IT_FLYING INHERIT_VELOCITY RANDOM_FORCE+ DispositionIntensity = 0.5+ MinForcePitch = 0.0+ MaxForcePitch = 30.0+ SpinRate = 30.0+ End+ ; the left wing broken off+ CreateDebris+ ModelNames = AVRaptor_D4+ Offset = X:-5.598 Y:8.188 Z:0.04+ Mass = 3+ Count = 1+ Disposition = SEND_IT_FLYING INHERIT_VELOCITY RANDOM_FORCE+ DispositionIntensity = 0.5+ MinForcePitch = 0.0+ MaxForcePitch = 40.0+ SpinRate = 20.0+ End+ CreateObject+ ObjectNames = Reforged_JetCrashImpact+ Disposition = ON_GROUND_ALIGNED+ End+ CreateObject+ ObjectNames = Reforged_JetCrashFire+ Disposition = ON_GROUND_ALIGNED+ End+End++ObjectCreationList OCL_MIGDeathHitGround+ ; the vertical stabilizer that rips off+ CreateDebris+ ModelNames = NVMIG_D2+ Offset = X:-10.388 Y:3.573 Z:2.872+ Mass = 3+ Count = 1+ Disposition = SEND_IT_FLYING INHERIT_VELOCITY RANDOM_FORCE+ DispositionIntensity = 0.5+ MinForcePitch = 0.0+ MaxForcePitch = 20.0+ SpinRate = 50.0+ End+ ; the horizontal stabilizer broken off+ CreateDebris+ ModelNames = NVMIG_D3+ Offset = X:-9.536 Y:3.573 Z:1.334+ Mass = 3+ Count = 1+ Disposition = SEND_IT_FLYING INHERIT_VELOCITY RANDOM_FORCE+ DispositionIntensity = 0.5+ MinForcePitch = 0.0+ MaxForcePitch = 30.0+ SpinRate = 30.0+ End+ ; the left wing broken off+ CreateDebris+ ModelNames = NVMIG_D4+ Offset = X:7.027 Y:-3.033 Z:3.008+ Mass = 3+ Count = 1+ Disposition = SEND_IT_FLYING INHERIT_VELOCITY RANDOM_FORCE+ DispositionIntensity = 0.5+ MinForcePitch = 0.0+ MaxForcePitch = 40.0+ SpinRate = 20.0+ End+ CreateObject+ ObjectNames = Reforged_JetCrashImpact+ Disposition = ON_GROUND_ALIGNED+ End+ CreateObject+ ObjectNames = Reforged_JetCrashFire+ Disposition = ON_GROUND_ALIGNED+ End+End++ObjectCreationList OCL_A10DeathFinalBlowUp+ CreateObject+ ObjectNames = AmericaJetA10Hulk+ Offset = X:0.0 Y:0.0 Z:0.0+ Count = 1+ Disposition = SEND_IT_FLYING INHERIT_VELOCITY RANDOM_FORCE+ DispositionIntensity = 0.4+ MinForcePitch = 0.0+ MaxForcePitch = 10.0+ RollRate = 0.0+ PitchRate = 0.0+ YawRate = 0.0+ End+ CreateObject+ ObjectNames = Reforged_JetCrashImpact+ Disposition = ON_GROUND_ALIGNED+ End+ CreateObject+ ObjectNames = Reforged_JetCrashFire+ Disposition = ON_GROUND_ALIGNED+ End+End++ObjectCreationList OCL_SpectreDeathFinalBlowUp+ CreateObject+ ObjectNames = SpectreHulk+ Offset = X:0.0 Y:0.0 Z:0.0+ Count = 1+ Disposition = SEND_IT_FLYING INHERIT_VELOCITY RANDOM_FORCE+ DispositionIntensity = 0.4+ MinForcePitch = 0.0+ MaxForcePitch = 10.0+ RollRate = 0.0+ PitchRate = 0.0+ YawRate = 0.0+ End+ CreateObject+ ObjectNames = Reforged_BigJetCrashImpact+ Disposition = ON_GROUND_ALIGNED+ End+ CreateObject+ ObjectNames = Reforged_JetCrashFire+ Offset = X:-45.0 Y:0.0 Z:0.0+ Disposition = ON_GROUND_ALIGNED+ End+ CreateObject+ ObjectNames = Reforged_JetCrashFire+ Offset = X:-15.0 Y:0.0 Z:0.0+ Disposition = ON_GROUND_ALIGNED+ End+ CreateObject+ ObjectNames = Reforged_JetCrashFire+ Offset = X:15.0 Y:0.0 Z:0.0+ Disposition = ON_GROUND_ALIGNED+ End+ CreateObject+ ObjectNames = Reforged_JetCrashFire+ Offset = X:45.0 Y:0.0 Z:0.0+ Disposition = ON_GROUND_ALIGNED+ End+End+; ==== Particle Uplink death lasers ================================================================; The Superweapon General's cannon fires a pink beam, and its dying uplink still threw the bluediff --git a/GeneralsMD/Code/Data/INI/WeaponReforged.ini b/GeneralsMD/Code/Data/INI/WeaponReforged.iniindex 6f597c9b8..f3c3315b2 100644--- a/GeneralsMD/Code/Data/INI/WeaponReforged.ini+++ b/GeneralsMD/Code/Data/INI/WeaponReforged.ini@@ -30,6 +30,44 @@ Weapon Reforged_PaladinInfantryLaserVeterancyFireFX = HEROIC WeaponFX_PaladinPointDefenseLaserEnd+; Where a shot-down plane hits the ground. BalanceReforged.ini's Reforged_JetCrashImpact and+; Reforged_BigJetCrashImpact fire one of these once from the impact point and are gone; the fire+; that burns on after them is EA's SmallFireFieldWeapon on Reforged_JetCrashFire. A crash spares+; nobody, so allies and the plane's own side take it too. The fighter's blast plays+; FX_RaptorCrashExplosion, which EA named for a Raptor crash and never gave to anything. B-52s,+; B-3s, the cargo planes, the carpet bomber and the Spectre take the big one.+Weapon Reforged_JetCrashBlast+ PrimaryDamage = 80.0+ PrimaryDamageRadius = 35.0+ AttackRange = 10.0+ DamageType = EXPLOSION+ DeathType = EXPLODED+ WeaponSpeed = 99999.0+ ProjectileObject = NONE+ FireFX = FX_RaptorCrashExplosion+ RadiusDamageAffects = ALLIES ENEMIES NEUTRALS+ DelayBetweenShots = 0+ ClipSize = 1+ ClipReloadTime = 0+ AutoReloadsClip = No+End++Weapon Reforged_BigJetCrashBlast+ PrimaryDamage = 160.0+ PrimaryDamageRadius = 70.0+ AttackRange = 10.0+ DamageType = EXPLOSION+ DeathType = EXPLODED+ WeaponSpeed = 99999.0+ ProjectileObject = NONE+ FireFX = FX_SpectreHowitzerExplosion+ RadiusDamageAffects = ALLIES ENEMIES NEUTRALS+ DelayBetweenShots = 0+ ClipSize = 1+ ClipReloadTime = 0+ AutoReloadsClip = No+End+; ---- EA's own, for a mod that dropped them ---------------------------------------------------------;; FixesReforged.ini replaces death modules on the GLA's Demolition and Toxin vehicles and traps withdiff --git a/GeneralsMD/Code/Data/Scenarios/jetcrash.txt b/GeneralsMD/Code/Data/Scenarios/jetcrash.txtnew file mode 100644index 000000000..3b9394799--- /dev/null+++ b/GeneralsMD/Code/Data/Scenarios/jetcrash.txt@@ -0,0 +1,112 @@+# A Raptor and then a B-52 shot down by Avengers over a strip of infantry from both sides, for the+# crash blast and fire (Reforged_JetCrashImpact, Reforged_BigJetCrashImpact and Reforged_JetCrashFire+# in BalanceReforged.ini). Seat 0 owns the planes, seat 1 the anti-air. Two lanes on Twilight Flame's+# open middle, 450 apart so neither lane's Avengers reach the other lane's plane: the Raptor flies+# east along y 3650 from frame 30, the B-52 along y 4100 from frame 600, each from x 900.+#+# 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 2700+# -scenario jetcrash -logPrefix jetcrash_+#+# Filming it: swap -headless for -win -xres 1280 -yres 720 -particlecap 2500 -fps 120; the Raptor+# should come down round 2200-2450,3650 near frame 300 and the B-52 round 2250-2500,4100 near frame+# 990, each burning about 180 frames after.+#+# Every unit on the ground is one that cannot hurt another: Hackers carry no weapon, and an Avenger's+# laser only shoots aircraft (its designator paints and does no damage). So nothing but the crashes+# takes health, and the tallies read the crash alone. Pilots would have climbed into the Avengers.+# Each lane is a strip of 11 stations 50 apart from x 2200 to 2700, four of seat 0's Hackers 10 to+# 30 below the line in y and four of seat 1's 10 to 30 above it, with one Avenger of each seat at+# the strip's middle, 60 off the line.+# The anti-air stands just short of the strip, four Avengers on the Raptor's lane round x 2120 and+# eight on the B-52's round 2100. Where a plane dies is not known before a run: the estimate is the+# Raptor at x 1950-2100 and the B-52 at 2050-2200, each carrying on 200-450 forward while it+# falls, so the strip runs long.+#+# Reading the log: the HEADLESS TALLY lines at 40, 560 and 1260 for ChinaInfantryHacker and+# AmericaTankAvenger, both seats. 40 to 560 is the Raptor's crash, 560 to 1260 the B-52's; seat 0's+# losses are the plane's own side. AmericaJetRaptor at 560 and AmericaJetB52 at 1260 must read 0+# alive, or the plane got through and the delta means nothing. A Hacker inside the blast loses 80+# (Raptor) or 160 (B-52), and the fire takes 7.5 every quarter second off one standing in it.+# Not yet run: a crash outside the strip shows no change, and then the strip moves, not the data.++# lane A: the Raptor's+20 spawn 1 AmericaTankAvenger 4 2120 3650 40+20 spawn 0 ChinaInfantryHacker 4 2200 3630 20+20 spawn 1 ChinaInfantryHacker 4 2200 3670 20+20 spawn 0 ChinaInfantryHacker 4 2250 3630 20+20 spawn 1 ChinaInfantryHacker 4 2250 3670 20+20 spawn 0 ChinaInfantryHacker 4 2300 3630 20+20 spawn 1 ChinaInfantryHacker 4 2300 3670 20+20 spawn 0 ChinaInfantryHacker 4 2350 3630 20+20 spawn 1 ChinaInfantryHacker 4 2350 3670 20+20 spawn 0 ChinaInfantryHacker 4 2400 3630 20+20 spawn 1 ChinaInfantryHacker 4 2400 3670 20+20 spawn 0 ChinaInfantryHacker 4 2450 3630 20+20 spawn 1 ChinaInfantryHacker 4 2450 3670 20+20 spawn 0 ChinaInfantryHacker 4 2500 3630 20+20 spawn 1 ChinaInfantryHacker 4 2500 3670 20+20 spawn 0 ChinaInfantryHacker 4 2550 3630 20+20 spawn 1 ChinaInfantryHacker 4 2550 3670 20+20 spawn 0 ChinaInfantryHacker 4 2600 3630 20+20 spawn 1 ChinaInfantryHacker 4 2600 3670 20+20 spawn 0 ChinaInfantryHacker 4 2650 3630 20+20 spawn 1 ChinaInfantryHacker 4 2650 3670 20+20 spawn 0 ChinaInfantryHacker 4 2700 3630 20+20 spawn 1 ChinaInfantryHacker 4 2700 3670 20+20 spawn 0 AmericaTankAvenger 1 2425 3590+20 spawn 1 AmericaTankAvenger 1 2475 3710++# lane B: the B-52's, more Avengers for 1000 health+20 spawn 1 AmericaTankAvenger 8 2100 4100 40+20 spawn 0 ChinaInfantryHacker 4 2200 4080 20+20 spawn 1 ChinaInfantryHacker 4 2200 4120 20+20 spawn 0 ChinaInfantryHacker 4 2250 4080 20+20 spawn 1 ChinaInfantryHacker 4 2250 4120 20+20 spawn 0 ChinaInfantryHacker 4 2300 4080 20+20 spawn 1 ChinaInfantryHacker 4 2300 4120 20+20 spawn 0 ChinaInfantryHacker 4 2350 4080 20+20 spawn 1 ChinaInfantryHacker 4 2350 4120 20+20 spawn 0 ChinaInfantryHacker 4 2400 4080 20+20 spawn 1 ChinaInfantryHacker 4 2400 4120 20+20 spawn 0 ChinaInfantryHacker 4 2450 4080 20+20 spawn 1 ChinaInfantryHacker 4 2450 4120 20+20 spawn 0 ChinaInfantryHacker 4 2500 4080 20+20 spawn 1 ChinaInfantryHacker 4 2500 4120 20+20 spawn 0 ChinaInfantryHacker 4 2550 4080 20+20 spawn 1 ChinaInfantryHacker 4 2550 4120 20+20 spawn 0 ChinaInfantryHacker 4 2600 4080 20+20 spawn 1 ChinaInfantryHacker 4 2600 4120 20+20 spawn 0 ChinaInfantryHacker 4 2650 4080 20+20 spawn 1 ChinaInfantryHacker 4 2650 4120 20+20 spawn 0 ChinaInfantryHacker 4 2700 4080 20+20 spawn 1 ChinaInfantryHacker 4 2700 4120 20+20 spawn 0 AmericaTankAvenger 1 2425 4040+20 spawn 1 AmericaTankAvenger 1 2475 4160++# the Raptor+30 spawn 0 AmericaJetRaptor 1 900 3650+31 move 0 AmericaJetRaptor 4400 3650++40 tally 0 ChinaInfantryHacker+40 tally 1 ChinaInfantryHacker+40 tally 0 AmericaTankAvenger+40 tally 1 AmericaTankAvenger++560 tally 0 AmericaJetRaptor+560 tally 0 ChinaInfantryHacker+560 tally 1 ChinaInfantryHacker+560 tally 0 AmericaTankAvenger+560 tally 1 AmericaTankAvenger++# the B-52, made on its own rather than by a power so its line is known; it climbs to cruise+# height on the way+600 spawn 0 AmericaJetB52 1 900 4100+601 move 0 AmericaJetB52 4400 4100++1260 tally 0 AmericaJetB52+1260 tally 0 ChinaInfantryHacker+1260 tally 1 ChinaInfantryHacker+1260 tally 0 AmericaTankAvenger+1260 tally 1 AmericaTankAvenger