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(gameengine): light the ground under 89 explosions
Olcay Seygan1ac09356e572
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex ba0bc7a0a..d8fce5316 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -251,6 +251,9 @@ found and fixed — EA's own, not port damage.**- `Bloom = 60` in `Options.ini` makes bright things bleed light into the air.- Off until you add that line; `BloomThreshold` sets how much of the picture joins in.+- Explosions light what is around them: 89 of them, from a tank shell to the Scud Storm,+ throw a warm flash that fades over a third of a second. A night fight used to be muzzle+ smoke over unlit ground.## It does not crashdiff --git a/GeneralsMD/Code/CMakeLists.txt b/GeneralsMD/Code/CMakeLists.txtindex e7f5753ad..d3069da06 100644--- a/GeneralsMD/Code/CMakeLists.txt+++ b/GeneralsMD/Code/CMakeLists.txt@@ -489,6 +489,12 @@ add_custom_command(TARGET generals POST_BUILDCOMMAND ${CMAKE_COMMAND} -E copy_if_different${CMAKE_CURRENT_SOURCE_DIR}/Data/INI/CommandMap.ini${CMAKE_CURRENT_SOURCE_DIR}/../Run/Data/INI/+ # The fork's detonation light, loaded after EA's FXList.ini. It is inside the+ # multiplayer INI CRC, so it has to be here, in the zip, and identical on every+ # machine in a game.+ COMMAND ${CMAKE_COMMAND} -E copy_if_different+ ${CMAKE_CURRENT_SOURCE_DIR}/Data/INI/FXListReborn.ini+ ${CMAKE_CURRENT_SOURCE_DIR}/../Run/Data/INI/COMMAND ${CMAKE_COMMAND} -E copy_if_different${CMAKE_CURRENT_SOURCE_DIR}/Data/Patch.str${CMAKE_CURRENT_SOURCE_DIR}/../Run/Data/)@@ -548,8 +554,11 @@ target_sources(test_gameengine PRIVATE ${TESTS}/test_gameengine_stubs.cpp)set_target_properties(test_gameengine PROPERTIES CXX_STANDARD 17)# simulation_uses_no_runtime_trig reads the engine's own sources back off disk to prove nothing in# GameLogic or Common has gone back to calling sinf().+# fxlist_reborn_ini_parses_and_keeps_its_light runs the fork's own FXList file through the real+# INI parser, so it needs the tracked master rather than whatever sits in Run/.target_compile_definitions(test_gameengine PRIVATE- GAMEENGINE_SOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}/GameEngine")+ GAMEENGINE_SOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}/GameEngine"+ FXLIST_REBORN_INI="${CMAKE_CURRENT_SOURCE_DIR}/Data/INI/FXListReborn.ini")# The three hand-written self-checks predate the harness; run them from ctest# too so one command covers everything.diff --git a/GeneralsMD/Code/Data/INI/FXListReborn.ini b/GeneralsMD/Code/Data/INI/FXListReborn.ininew file mode 100644index 000000000..2fb26e04e--- /dev/null+++ b/GeneralsMD/Code/Data/INI/FXListReborn.ini@@ -0,0 +1,2598 @@+;//////////////////////////////////////////////////////////////////////////////+;FILE: FXListReborn.ini ////////////////////////////////////////////////////////+;//////////////////////////////////////////////////////////////////////////////+;+; Muzzle and detonation light. EA's explosions throw particles and sound but no+; light, so a shell landing at night lit nothing around it. Each FXList below is+; EA's own, re-declared with one LightPulse added; FXListStore::parseFXListDefinition+; clears an entry before re-reading it, so a whole block has to be repeated to+; change one line of it.+;+; Loaded after Data\INI\FXList.ini and folded into the multiplayer INI CRC, so+; every machine in a game has to have this file - it ships in the release zip and+; the build copies it next to generals.exe. Editing it changes that CRC: rebuild,+; repackage, and hand the same zip to everyone.+;+; Generated once from a loose FXList.ini override; the 89 entries are the ones that+; differed from the shipped file.+;//////////////////////////////////////////////////////////////////////////////++; ----------------------------------------------+FXList ScudStormMissileDetonation+ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = ScudMissleExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = ScudMissleLenzFlare+ Offset = X:0.0 Y:0.0 Z:1.0+ End++ ParticleSystem+ Name = ScudMissleExplosionTrailArms+ InitialDelay = 100 100 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:25.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_GenericTankShellDetonation+ Sound+ Name = ExplosionRocketBuggyMissile+ End+ ParticleSystem+ Name = BuggyMissileExplosion+ UseCallersRadius = Yes ; Override the radius with the damage radius of the weapon.+ End+ ParticleSystem+ Name = BuggyMissileExplosionSmoke+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_InfernoTankShellDetonation+ Sound+ Name = ExplosionFire+ End+ ParticleSystem+ Name = BuggyMissileExplosion+ UseCallersRadius = Yes ; Override the radius with the damage radius of the weapon.+ End+ ParticleSystem+ Name = BuggyMissileExplosionSmoke+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_BombExplosion+ ParticleSystem+ Name = CarpetBombExplosionSmoke+ End+ ParticleSystem+ Name = CarpetBombExplosionShockwave+ End+ ViewShake+ Type = NORMAL+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = Explosion+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_JetDeathExplosion+ ParticleSystem+ Name = JetExplosion+ OrientToObject = Yes+ End+ ParticleSystem+ Name = JetDebris+ OrientToObject = Yes+ End+ ParticleSystem+ Name = MammothTankSubExplosionSmoke+ Count = 3+ Radius = 15 30 UNIFORM+ Height = 0 0 UNIFORM+ InitialDelay = 50 667 UNIFORM+ OrientToObject = Yes+ End+ ViewShake+ Type = NORMAL+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_RaptorDeathExplosion+ ParticleSystem+ Name = JetExplosion+ OrientToObject = Yes+ End+ ParticleSystem+ Name = JetDebris+ OrientToObject = Yes+ End+ ParticleSystem+ Name = MammothTankSubExplosionSmoke+ Count = 3+ Radius = 15 30 UNIFORM+ Height = 0 0 UNIFORM+ InitialDelay = 50 667 UNIFORM+ OrientToObject = Yes+ End+ ViewShake+ Type = NORMAL+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_GenericTankDeathExplosion+ ParticleSystem+ Name = MammothTankExplosionSmoke+ End+ ParticleSystem+ Name = MammothTankSubExplosionSmoke+ Radius = 15 30 UNIFORM+ Height = 0 20 UNIFORM+ InitialDelay = 167 667 UNIFORM+ End+ ParticleSystem+ Name = MammothTankExplosionDebris+ End+ ParticleSystem+ Name = MammothTankExplosionLenzflare+ Offset = X:0.0 Y:0.0 Z:10.0+ End+ ParticleSystem+ Name = MammothTankExplosionShockwave+ End+ ViewShake+ Type = STRONG+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = TankDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_AmericaVehicleTomahawkDeathExplosion+ ParticleSystem+ Name = MammothTankExplosionSmoke+ End+ ParticleSystem+ Name = MammothTankSubExplosionSmoke+ Count = 3+ Radius = 15 30 UNIFORM+ Height = 0 20 UNIFORM+ InitialDelay = 167 667 UNIFORM+ End+ ParticleSystem+ Name = MammothTankExplosionDebris+ End+ ParticleSystem+ Name = MammothTankExplosionShockwave+ End+ ViewShake+ Type = STRONG+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = TankDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_ChinaVehicleNukeCannonDeathExplosion+; -----------------------------------------------------------------------------++ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionMiniNuke+ End++ ParticleSystem+ Name = NukeCannonFlare+ InitialDelay = 0 0 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:40.0+ End++ ParticleSystem+ Name = NukeCannonMushroomExplosion+ InitialDelay = 200 200 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:40.0+ End++ ParticleSystem+ Name = NukeCannonMushroomCloudRing+ InitialDelay = 2000 2000 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:45.0+ End++ ParticleSystem+ Name = NukeCannonRing+ Offset = X:0.0 Y:0.0 Z:5.0+ End++ ParticleSystem+ Name = NukeCannonBlastWave+ InitialDelay = 300 300 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:10.0+ End++ ParticleSystem+ Name = NukeCannonShockwaveInverted+ InitialDelay = 300 300 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:20.0+ End++ ParticleSystem+ Name = NukeCannonMushroomStem+ InitialDelay = 200 200 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:20.0+ End++ ParticleSystem+ Name = NukeCannonMushroomRing+ InitialDelay = 1000 1000 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:35.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_HumveeExplosionOneInitial+ ParticleSystem+ Name = HotPillarArms+ Offset = X:10 Y:0 Z:10+ End+ ViewShake+ Type = SUBTLE+ End+ Sound+ Name = ExplosionBarrel+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_HumveeExplosionOneFinal+ ParticleSystem+ Name = HumveeExplosionSmoke+ End+ ParticleSystem+ Name = HumveeSubExplosionSmoke+ Count = 3+ Radius = 15 30 UNIFORM+ Height = 0 20 UNIFORM+ InitialDelay = 167 667 UNIFORM+ End+ ParticleSystem+ Name = HumveeExplosionDebris+ End+ ViewShake+ Type = STRONG+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = TankDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_BattleMasterExplosionOneInitial+ ParticleSystem+ Name = HotPillarArms+ Offset = X:0 Y:0 Z:10+ End+ ViewShake+ Type = SUBTLE+ End+ Sound+ Name = ExplosionBarrel+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_GattlingExplosionOneInitial+ ParticleSystem+ Name = HotPillarArms+ Offset = X:0 Y:0 Z:10+ End+ ViewShake+ Type = SUBTLE+ End+ Sound+ Name = ExplosionBarrel+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_GattlingExplosionOneFinal+ ParticleSystem+ Name = BattleMasterTankExplosionSmoke+ End+ ParticleSystem+ Name = BattleMasterTankExplosionDebris+ End+ ParticleSystem+ Name = BattleMasterTankExplosionShockwave+ Offset = X:0 Y:0 Z:2+ End+ ParticleSystem+ Name = BattleMasterTankExplosionLenzflare+ Offset = X:0 Y:0 Z:10+ End+ ViewShake+ Type = STRONG+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = TankDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_BattleMasterExplosionOneFinal+ ParticleSystem+ Name = BattleMasterTankExplosionSmoke+ End+ ParticleSystem+ Name = BattleMasterTankExplosionDebris+ End+ ParticleSystem+ Name = BattleMasterTankExplosionShockwave+ Offset = X:0 Y:0 Z:2+ End+ ParticleSystem+ Name = BattleMasterTankExplosionLenzflare+ Offset = X:0 Y:0 Z:10+ End+ ViewShake+ Type = STRONG+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = TankDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_ScudLauncherExplosionOneFinal+ ParticleSystem+ Name = ScudLauncherExplosionSmoke+ OrientToObject = Yes+ End+ ParticleSystem+ Name = BattleMasterTankExplosionDebris+ End+ ParticleSystem+ Name = BattleMasterTankExplosionShockwave+ Offset = X:0 Y:0 Z:2+ End+ ParticleSystem+ Name = BattleMasterTankExplosionLenzflare+ Offset = X:0 Y:0 Z:10+ End+ ParticleSystem+ Name = ScudMissleLauncherExplosionTrailArms+ Offset = X:0 Y:0 Z:5+ End+ ViewShake+ Type = STRONG+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = TankDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_SupplyTruckExplosionOneFinal+ ParticleSystem+ Name = ScudLauncherExplosionSmoke+ OrientToObject = Yes+ End+ ParticleSystem+ Name = BattleMasterTankExplosionDebris+ End+ ParticleSystem+ Name = BattleMasterTankExplosionShockwave+ Offset = X:0 Y:0 Z:2+ End+ ParticleSystem+ Name = BattleMasterTankExplosionLenzflare+ Offset = X:0 Y:0 Z:10+ End+; ParticleSystem+; Name = ScudMissleLauncherExplosionTrailArms+; Offset = X:0 Y:0 Z:5+; End+ ViewShake+ Type = STRONG+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = TankDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_ToxinTruckExplosionOneFinal+ ParticleSystem+ Name = BattleMasterTankExplosionSmoke+ End+ ParticleSystem+ Name = BattleMasterTankExplosionDebris+ End+ ParticleSystem+ Name = ScudMissleExplosionTrailArms+ Offset = X:0 Y:0 Z:2+ End+ ParticleSystem+ Name = ToxicExplosionLarge+ Offset = X:0 Y:0 Z:5+ End+ ViewShake+ Type = STRONG+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = TankDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_GattlingExplosionOneFinal+ ParticleSystem+ Name = BattleMasterTankExplosionSmoke+ End+ ParticleSystem+ Name = BattleMasterTankExplosionDebris+ End+ ParticleSystem+ Name = BattleMasterTankExplosionShockwave+ Offset = X:0 Y:0 Z:2+ End+ ParticleSystem+ Name = BattleMasterTankExplosionLenzflare+ Offset = X:0 Y:0 Z:10+ End+ ViewShake+ Type = STRONG+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = TankDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_OverlordExplosionOneInitial+ ParticleSystem+ Name = HotPillarArms+ Offset = X:0 Y:0 Z:10+ End+ ViewShake+ Type = SUBTLE+ End+ Sound+ Name = ExplosionBarrel+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_OverlordExplosionOneFinal+ ParticleSystem+ Name = OverlordExplosionSmoke+ End+ ParticleSystem+ Name = OverlordSubExplosionSmoke+ Radius = 15 30 UNIFORM+ Height = 0 20 UNIFORM+ InitialDelay = 167 667 UNIFORM+ End+ ParticleSystem+ Name = OverlordExplosionDebris+ End+ ParticleSystem+ Name = OverlordExplosionLenzflare+ Offset = X:0.0 Y:0.0 Z:10.0+ End+ ParticleSystem+ Name = OverlordExplosionShockwave+ End+ ViewShake+ Type = STRONG+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = TankDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_DragonTankDeathExplosionFinal+ ParticleSystem+ Name = OverlordExplosionSmoke+ End+ ParticleSystem+ Name = OverlordSubExplosionSmoke+ Radius = 15 30 UNIFORM+ Height = 0 20 UNIFORM+ InitialDelay = 167 667 UNIFORM+ End+ ParticleSystem+ Name = FirestormSmall+ End+ ParticleSystem+ Name = FirestormRingSmall+ OrientToObject = Yes+ Offset = X:0 Y:0 Z:1+ End+ ViewShake+ Type = SUBTLE+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = TankDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_BarrelDeathExplosion+ ParticleSystem+ Name = BarrelExplosion+ End+ ParticleSystem+ Name = BarrelExplosionShockwave+ End+ ParticleSystem+ Name = BarrelExplosionDebris+ End+ ViewShake+ Type = SUBTLE+ End+ Sound+ Name = ExplosionBarrel+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_CINE_BarrelDeathExplosion01+ ParticleSystem+ Name = BarrelExplosion+ End+ ParticleSystem+ Name = BarrelExplosionShockwave+ End+ ParticleSystem+ Name = BarrelExplosionDebris+ End+ ViewShake+ Type = SUBTLE+ End+ Sound+ Name = CINE_ExplosionBarrel01+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_CINE_BarrelDeathExplosion02+ ParticleSystem+ Name = BarrelExplosion+ End+ ParticleSystem+ Name = BarrelExplosionShockwave+ End+ ParticleSystem+ Name = BarrelExplosionDebris+ End+ ViewShake+ Type = SUBTLE+ End+ Sound+ Name = CINE_ExplosionBarrel02+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_ComancheAntiTankMissileDetonation+ Sound+ Name = ExplosionRocketBuggyMissile+ End+ ParticleSystem+ Name = BuggyMissileExplosion+ End+ ParticleSystem+ Name = BuggyMissileExplosionSmoke+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_ComancheRocketPodRocketDetonation+ Sound+ Name = ExplosionRocketBuggyMissile+ End+ ParticleSystem+ Name = BuggyMissileExplosion+ End+ ParticleSystem+ Name = BuggyMissileExplosionSmoke+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_RocketBuggyMissileDetonation+ Sound+ Name = ExplosionRocketBuggyMissile+ End+ ParticleSystem+ Name = BuggyMissileExplosion+ End+ ParticleSystem+ Name = BuggyMissileExplosionSmoke+ End+ ParticleSystem+ Name = BuggyMissileExplosionLenzflare+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_EMPRocketDetonation++ ParticleSystem+ Name = EMPPatriotLensFlare+ End+ ParticleSystem+ Name = EMPPatriotLensFlare2+ Offset = X:0.0 Y:0.0 Z:2.0+ End+ ParticleSystem+ Name = EMPPatriotRing+ End+ Sound+ Name = ExplosionPatriotEMP+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_SCUDMissileDetonationAnthrax+ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = ScudMissleLauncherAnthraxExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = ScudMissleLauncherAnthraxLenzFlare+ Offset = X:0.0 Y:0.0 Z:5.0+ End++ ParticleSystem+ Name = ScudMissleLauncherAnthraxExplosionTrailArms+ Offset = X:0.0 Y:0.0 Z:15.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_SCUDMissileDetonationToxin+ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = ScudMissleLauncherToxinExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = ScudMissleLauncherToxinLenzFlare+ Offset = X:0.0 Y:0.0 Z:5.0+ End++ ParticleSystem+ Name = ScudMissleLauncherToxinExplosionTrailArms+ Offset = X:0.0 Y:0.0 Z:15.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_TomahawkMissileDetonation+ Sound+ Name = ExplosionRocketBuggyMissile+ End+ ParticleSystem+ Name = BuggyMissileExplosion+ End+ ParticleSystem+ Name = BuggyMissileExplosionSmoke+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_HumveeMissileDetonation+ Sound+ Name = ExplosionRocketBuggyMissile+ End+ ParticleSystem+ Name = BuggyMissileExplosion+ End+ ParticleSystem+ Name = BuggyMissileExplosionSmoke+ End+; ParticleSystem+; Name = BuggyMissileDebris+; End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_DragonTankMissileDetonation+ ParticleSystem+ Name = FlamethrowerTarget+ OrientToObject = Yes+ End+ ParticleSystem+ Name = FlameThrowerSpray+ OrientToObject = Yes+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_DragonTankMissileDetonationUpgraded+ ParticleSystem+ Name = FlamethrowerTargetUpgraded+ OrientToObject = Yes+ End+ ParticleSystem+ Name = FlameThrowerSprayUpgraded+ OrientToObject = Yes+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_RaptorMidAirCrashingExplosion+ ParticleSystem+ Name = BuggyMissileExplosion+ End+ ParticleSystem+ Name = BuggyMissileExplosionSmoke+ End+ ParticleSystem+ Name = BuggyMissileDebris+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_RaptorCrashExplosion+ ParticleSystem+ Name = LargeStructureExplosionShockwave+ End+ ParticleSystem+ Name = ExplosionLarge01+ End+ ParticleSystem+ Name = HotPillarArms+ End+ ViewShake+ Type = NORMAL+ End+ TerrainScorch+ Type = RANDOM+ Radius = 50+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_ToxinTruckMissileDetonation+ ParticleSystem+ Name = ToxinTarget+ OrientToObject = Yes+ End+ ParticleSystem+ Name = ToxinPuddle+ CreateAtGroundHeight = Yes ;@todo make this parameter bridge-savvy+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_ToxinTruckMissileDetonationUpgraded+ ParticleSystem+ Name = AnthraxTarget+ OrientToObject = Yes+ End+ ParticleSystem+ Name = AnthraxPuddle+ CreateAtGroundHeight = Yes ;@todo make this parameter bridge-savvy+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_CleanupToxinDetonation+ ParticleSystem+ Name = CleanupTarget+ OrientToObject = Yes+ End+ ParticleSystem+ Name = CleanupPuddle+ CreateAtGroundHeight = Yes ; This flag overrides given height offsets+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_StingerMissileDetonation+ Sound+ Name = ExplosionRocketBuggyMissile+ End+ ParticleSystem+ Name = BuggyMissileExplosion+ End+ ParticleSystem+ Name = BuggyMissileExplosionSmoke+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_MineDetonation+ Sound+ Name = MineExplosion+ End+ ParticleSystem+ Name = MineDebris+ End+ ParticleSystem+ Name = MineSmoke+ End+ ParticleSystem+ Name = MineFlash+ Offset = X:0.0 Y:0.0 Z:1.0+ End+ ; ParticleSystem+ ;Name = SparksSmall+ ;End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_SuicideDynamitePackDetonation+ ParticleSystem+ Name = CarpetBombExplosionShockwave+ End+ ParticleSystem+ Name = ArmExplosionSmall01+ End+ ParticleSystem+ Name = HotPillarArms+ End+ ViewShake+ Type = NORMAL+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_SuicideDynamitePackDetonationPlusFire+ Sound+ Name = TerroristSuicides+ End+ ParticleSystem+ Name = Explosion+ End+ ParticleSystem+ Name = ExplosionSmoke+ End+ ParticleSystem+ Name = CarpetBombExplosionShockwave+ End+ ParticleSystem+ Name = ArmExplosionSmall01+ End+ ParticleSystem+ Name = HotPillarArms+ End+ ViewShake+ Type = NORMAL+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_TNTStickyBombDetonation+ ParticleSystem+ Name = LargeStructureExplosionShockwave+ End+ ParticleSystem+ Name = ExplosionLarge01+ End+ ParticleSystem+ Name = HotPillarArms+ End+ ViewShake+ Type = NORMAL+ End+ TerrainScorch+ Type = RANDOM+ Radius = 50+ End+ Sound+ Name = BombTruckDefaultBombDetonation+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_BoobyTrapExplosion+ ParticleSystem+ UseCallersRadius = Yes ; Radius of emission set by radius of damage.+ Name = BoobyTrapSmoke+ End+ ParticleSystem+ UseCallersRadius = Yes ; Radius of emission set by radius of damage.+ Name = boobyTrapExplosion+ End+ ViewShake+ Type = NORMAL+ End+ Sound+ Name = BombTruckDefaultBombDetonation+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_DemoTrapDetonation+ Sound+ Name = DemoTrapExplosion+ End+ ParticleSystem+ Name = BombTruckDefaultExplosionArms+ End+ ParticleSystem+ Name = DemoTrapLenzFlare+ End+ ParticleSystem+ Name = BombTruckHEShockwave+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList CINE_WeaponFX_DemoTrapDetonation+ Sound+ Name = ExplosionMiniNuke+ End+ ParticleSystem+ Name = LargeStructureExplosionShockwave+ End+ ParticleSystem+ Name = ExplosionLarge01+ End+ ParticleSystem+ Name = HotPillarArms+ End+ ViewShake+ Type = NORMAL+ End+ TerrainScorch+ Type = RANDOM+ Radius = 50+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_RangerFlashBangGrenadeDetonation+ ParticleSystem+ Name = FlashBangNormal+ Offset = X:0 Y:0 Z:4+ End+ ParticleSystem+ Name = FlashBangNormalSpark+ End+ Sound+ Name = ExplosionFlashBang+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_BuggyDeathExplosion+ ParticleSystem+ Name = BuggyExplosion+ End+ ParticleSystem+ Name = BuggyExplosionDebris+ End+ ViewShake+ Type = SUBTLE+ End+ Sound+ Name = CarDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_BuggyNewDeathExplosion+ ParticleSystem+ Name = BuggyNewExplosionSmoke+ End+ ParticleSystem+ Name = SpectreHowitzerExplosionCloud+ End+ ParticleSystem+ Name = SpectreHotPillarArmFlame+ End+ ParticleSystem+ Name = BuggyNewExplosionDebris2+ End+ ParticleSystem+ Name = BuggyNewExplosionShockwave+ End+ ViewShake+ Type = STRONG+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = CarDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_HelicopterBladeExplosion+ ParticleSystem+ Name = TankStruckSparks+ Count = 5+ Radius = 5 5 UNIFORM+ End+ Sound+ Name = ComancheSpinExplosion+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_GLAPowerPlantDamagedExplosion1+ Sound+ Name = BuildingDamage+ End++ ; firey "heart" of the explosion+ ParticleSystem+ Name = GLAPowerPlantDamagedExplosion+ Count = 2+ InitialDelay = 0 200 UNIFORM+ End++ ; grey "dusty" clouds+ ParticleSystem+ Name = GLAPowerPlantDamagedShockwave+ InitialDelay = 0 200 UNIFORM+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_GLAPowerPlantDamagedExplosion2+ Sound+ Name = BuildingDamage+ End++ ; firey "heart" of the explosion+ ParticleSystem+ Name = GLAPowerPlantDamagedExplosion+ Count = 2+ InitialDelay = 0 200 UNIFORM+ End++ ; grey "dusty" clouds+ ParticleSystem+ Name = GLAPowerPlantDamagedShockwave+ InitialDelay = 0 200 UNIFORM+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_GLAPowerPlantDamagedExplosion3+ Sound+ Name = BuildingDamage+ End++ ; firey "heart" of the explosion+ ParticleSystem+ Name = GLAPowerPlantDamagedExplosion+ Count = 2+ InitialDelay = 0 200 UNIFORM+ End++ ; grey "dusty" clouds+ ParticleSystem+ Name = GLAPowerPlantDamagedShockwave+ InitialDelay = 0 200 UNIFORM+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_SCUDMissileDetonationExplosive++ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = ScudMissleLauncherExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = ScudMissleLauncherLenzFlare+ Offset = X:0.0 Y:0.0 Z:10.0+ End++ ParticleSystem+ Name = ScudMissleLauncherExplosionTrailArms+ Offset = X:0.0 Y:0.0 Z:15.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_A10ThunderboltMissileExplosion++ ParticleSystem+ Name = CarpetBombExplosion+ InitialDelay = 0 0 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:0.0+ End++ ParticleSystem+ Name = CarpetBombWave+ InitialDelay = 0 0 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:0.0+ End++ ParticleSystem+ Name = CarpetBombExplosionPuff+ InitialDelay = 0 0 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:0.0+ End++ Sound+ Name = ExplosionCarpetBomb+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_ClusterMineImpact+ ParticleSystem+ Name = ClusterMineDrop+ End+ ParticleSystem+ Name = ClusterMineDropLenzflare+ End+ ParticleSystem+ Name = ClusterMineDropRing+ End+; do we really want a scorch mark here? that seems to be a dead giveaway+; for "there are mines here"... (srj)+; TerrainScorch+; Type = RANDOM+; Radius = 15+; End+ Sound+ Name = ExplosionClusterMine+ End+ ViewShake+ Type = STRONG+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_EMPPulseImpact+ ParticleSystem+ Name = EMPLensFlare+ End+ ParticleSystem+ Name = EMPLensFlare1+ End+ ParticleSystem+ Name = EMPLensFlare2+ End+ParticleSystem+ Name = EMPRing+ End++ Sound+ Name = EMPPulseWhoosh+ End+ ViewShake+ Type = STRONG+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_BombTruckDefaultBombDetonation+ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = BombTruckDefaultExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = BombTruckDefaultLenzFlare+ Offset = X:0.0 Y:0.0 Z:1.0+ End++ ParticleSystem+ Name = BombTruckDefaultExplosionTrailArms+ InitialDelay = 100 100 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:25.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList Demo_WeaponFX_BombTruckDefaultBombDetonation+ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = Demo_BombTruckDefaultExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = Demo_BombTruckDefaultLenzFlare+ Offset = X:0.0 Y:0.0 Z:1.0+ End++ ParticleSystem+ Name = Demo_BombTruckDefaultExplosionTrailArms+ InitialDelay = 100 100 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:25.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_BombTruckBioBombDetonation+ ViewShake+ Type = STRONG+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = BombTruckBioExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = BombTruckBioLenzFlare+ Offset = X:0.0 Y:0.0 Z:1.0+ End++ ParticleSystem+ Name = BombTruckBioExplosionTrailArms+ InitialDelay = 100 100 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:25.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_BombTruckAnthraxBombDetonation+ ViewShake+ Type = STRONG+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = BombTruckAnthraxExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = BombTruckAnthraxLenzFlare+ Offset = X:0.0 Y:0.0 Z:1.0+ End++ ParticleSystem+ Name = BombTruckAnthraxExplosionTrailArms+ InitialDelay = 100 100 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:25.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_BombTruckAnthraxGammaBombDetonation+ ViewShake+ Type = STRONG+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = BombTruckAnthraxGammaExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = BombTruckAnthraxGammaLenzFlare+ Offset = X:0.0 Y:0.0 Z:1.0+ End++ ParticleSystem+ Name = BombTruckAnthraxGammaExplosionTrailArms+ InitialDelay = 100 100 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:25.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_BombTruckHighExplosiveBombDetonation+ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = BombTruckHEExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = BombTruckHELenzFlare+ Offset = X:0.0 Y:0.0 Z:10.0+ End++ ParticleSystem+ Name = BombTruckHEShockwave+ Offset = X:0.0 Y:0.0 Z:1.0+ End++ ParticleSystem+ Name = BombTruckHEExplosionTrailArms+ InitialDelay = 100 100 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:25.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList Demo_WeaponFX_BombTruckHighExplosiveBombDetonation+ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = Demo_BombTruckHEExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = Demo_BombTruckHELenzFlare+ Offset = X:0.0 Y:0.0 Z:10.0+ End++ ParticleSystem+ Name = Demo_BombTruckHEShockwave+ Offset = X:0.0 Y:0.0 Z:1.0+ End++ ParticleSystem+ Name = Demo_BombTruckHEExplosionTrailArms+ InitialDelay = 100 100 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:25.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_BombTruckHighExplosiveBioBombDetonation+ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = BombTruckHEBioExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = BombTruckHEBioLenzFlare+ Offset = X:0.0 Y:0.0 Z:10.0+ End++ ParticleSystem+ Name = BombTruckHEBioShockwave+ Offset = X:0.0 Y:0.0 Z:1.0+ End++ ParticleSystem+ Name = BombTruckHEBioExplosionTrailArms+ InitialDelay = 100 100 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:25.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_BombTruckHighExplosiveAnthraxBombDetonation+ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = BombTruckHEAnthraxExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = BombTruckHEAnthraxLenzFlare+ Offset = X:0.0 Y:0.0 Z:10.0+ End++ ParticleSystem+ Name = BombTruckHEAnthraxShockwave+ Offset = X:0.0 Y:0.0 Z:1.0+ End++ ParticleSystem+ Name = BombTruckHEAnthraxExplosionTrailArms+ InitialDelay = 100 100 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:25.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_ChemicalFactoryExplosion++ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionMiniNuke+ End++ ParticleSystem+ Name = ChemicalFactoryGreenGasThick+ InitialDelay = 0 0 UNIFORM ;The green gas+ Offset = X:0.0 Y:0.0 Z:10.0+ End++ ParticleSystem+ Name = ChemicalExplosionMushroom+ InitialDelay = 200 200 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:20.0+ End++; ParticleSystem+; Name = NukeGLAMushroomCloudRing+; InitialDelay = 2000 2000 UNIFORM ;In milliseconds+; Offset = X:0.0 Y:0.0 Z:105.0+; End++; ParticleSystem+; Name = NukeGLARing+; Offset = X:0.0 Y:0.0 Z:5.0+; End++; ParticleSystem+; Name = NukeGLABlastWave+; InitialDelay = 300 300 UNIFORM ;In milliseconds+; ;Offset = X:0.0 Y:0.0 Z:45.0+; Offset = X:0.0 Y:0.0 Z:15.0+; End++; ParticleSystem+; Name = NukeGLAShockwaveInverted+; InitialDelay = 300 300 UNIFORM ;In milliseconds+; Offset = X:0.0 Y:0.0 Z:20.0+; End++; ParticleSystem+; Name = NukeGLAMushroomStem+; InitialDelay = 2000 2000 UNIFORM ;In milliseconds+; Offset = X:0.0 Y:0.0 Z:20.0+; End++; ParticleSystem+; Name = NukeGLAShockwave+; InitialDelay = 200 200 UNIFORM ;In milliseconds+; Offset = X:0.0 Y:0.0 Z:20.0+; End++; ParticleSystem+; Name = NukeGLAMushroomRing+; InitialDelay = 1000 1000 UNIFORM ;In milliseconds+; Offset = X:0.0 Y:0.0 Z:50.0+; End+++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_TsingMaExplosion+ ParticleSystem+ Name = TsingMaRing+ End+ ParticleSystem+ Name = TsingMaTrailArms+ OrientToObject = Yes+ End+ ParticleSystem+ Name = TsingMaLenzflare+ OrientToObject = Yes+ Offset = X:0 Y:0 Z:1+ End+ ViewShake+ Type = SEVERE+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = TankDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_TrainWreckExplosion+ ParticleSystem+ Name = TsingMaRing+ End+ ParticleSystem+ Name = TrainWreckTrailArms+ OrientToObject = Yes+ End+ ParticleSystem+ Name = TsingMaLenzflare+ OrientToObject = Yes+ Offset = X:0 Y:0 Z:1+ End+ ViewShake+ Type = SEVERE+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = TankDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_spectreGunshipDeathExplosion+ ViewShake+ Type = SEVERE+ End+; Sound+; Name = ExplosionScudExplosive+; End++ ParticleSystem+ Name = spectreDeathExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_SpectreGattlingImpacts+ ParticleSystem+ Name = InfantryMortarDebris+ End+ ParticleSystem+ Name = SpectreGattlingArmsSmoke+ End+ ParticleSystem+ Name = InfantryStruckSparks+ End+ ParticleSystem+ Name = TankStruckSparks+ Height = 10 10 CONSTANT+ End+ Sound+; Name = VehicleImpactLight+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_SpectreGunshipExplosionLight+ ViewShake+ Type = SEVERE+ End+; Sound+; Name = ExplosionScudExplosive+; End++ ParticleSystem+ Name = SpectreGunshipExplosionLight+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_spectreDeathExplosion+ ViewShake+ Type = SEVERE+ End+; Sound+; Name = ExplosionScudExplosive+; End++ ParticleSystem+ Name = spectreDeathExplosion+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList GC_Chem_WeaponFX_ToxinMissileDetonationGamma+ ParticleSystem+ Name = GC_Chem_ToxinTarget+ OrientToObject = Yes+ End+ ParticleSystem+ Name = GC_Chem_ToxinPuddle+ CreateAtGroundHeight = Yes ;@todo make this parameter bridge-savvy+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList GC_Chem_WeaponFX_SCUDMissileDetonationAnthrax+ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = GC_Chem_ScudMissleLauncherGammaExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = GC_Chem_ScudMissleLauncherGammaLenzFlare+ Offset = X:0.0 Y:0.0 Z:5.0+ End++ ParticleSystem+ Name = GC_Chem_ScudMissleLauncherGammaExplosionTrailArms+ Offset = X:0.0 Y:0.0 Z:15.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_BunkerBusterExplosion++ ParticleSystem+ Name = SeismicDebris+ InitialDelay = 0 0 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:10.0+ End++ ParticleSystem+ Name = seismicDust+ InitialDelay = 0 0 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:10.0+ End++ ParticleSystem+ Name = SeismicShockwave+ InitialDelay = 0 0 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:10.0+ End+ ParticleSystem+ Name = SeismicDirt+ InitialDelay = 0 0 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:10.0+ End++ ParticleSystem+ Name = BunkerBusterPlume+ InitialDelay = 500 500 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:40.0+ End++ ParticleSystem+ Name = BunkerBusterPlumeCore+ InitialDelay = 300 300 UNIFORM ;In milliseconds+ Offset = X:0.0 Y:0.0 Z:0+ End++ Sound+ Name = ExplosionDaisyCutter+ End++ ViewShake+ Type = SEVERE+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_BunkerBusterIntialImpact++; This is where the impact shake needs to be set+ ViewShake+ Type = SEVERE+ End++ ParticleSystem+ Name = BattleshipMuzzleFlashFlame+ OrientToObject = Yes+ End++ ParticleSystem+ Name = BattleshipMuzzleFlashWave+ Offset = X:0.0 Y:0.0 Z:-20.0+ OrientToObject = Yes+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_CraterBombExplosion+ ParticleSystem+ Name = CraterDebris+ End+ ViewShake+ Type = SEVERE+ End+ TerrainScorch+ Type = SCORCH_4+ Radius = 250+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_UpgradeMineDetonation+ Sound+ Name = MineExplosion+ End+ ParticleSystem+ Name = MineDebris+ End+ ParticleSystem+ Name = MineSmoke+ End+ ParticleSystem+ Name = MineFlash+ Offset = X:0.0 Y:0.0 Z:1.0+ End+ ParticleSystem+ Name = EMPSparksSmall+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList Demo_ScudStormMissileDetonation+ ViewShake+ Type = SEVERE+ End+ Sound+ Name = ExplosionScudExplosive+ End+ ParticleSystem+ Name = ScudMissleExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End+ ParticleSystem+ Name = DEMOScudMissleLenzFlare+ Offset = X:0.0 Y:0.0 Z:1.0+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_DEMOGENRocketBuggyMissileDetonation+ Sound+ Name = ExplosionRocketBuggyMissile+ End+ ParticleSystem+ Name = BuggyMissileExplosion+ End+ ParticleSystem+ Name = DEMOBuggyMissileExplosionSmoke+ End+ ParticleSystem+ Name = BuggyMissileExplosionLenzflare+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_DEMOGenericTankShellDetonation+ Sound+ Name = ExplosionRocketBuggyMissile+ End+ ParticleSystem+ Name = BuggyMissileExplosion+ UseCallersRadius = Yes ; Override the radius with the damage radius of the weapon.+ End+ ParticleSystem+ Name = DEMOBuggyMissileExplosionSmoke+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_DEMO_SCUDMissileDetonationExplosive++ ViewShake+ Type = SEVERE+ End++ Sound+ Name = ExplosionScudExplosive+ End++ ParticleSystem+ Name = ScudMissleLauncherExplosionArms+ Offset = X:0.0 Y:0.0 Z:2.0+ End++ ParticleSystem+ Name = DEMOScudMissleLenzFlare+ Offset = X:0.0 Y:0.0 Z:10.0+ End++ ParticleSystem+ Name = ScudMissleLauncherExplosionTrailArms+ Offset = X:0.0 Y:0.0 Z:15.0+ End++ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_DEMORocketBuggyMissileDetonation+ Sound+ Name = ExplosionRocketBuggyMissile+ End+ ParticleSystem+ Name = BuggyMissileExplosion+ End+ ParticleSystem+ Name = BuggyMissileExplosionSmoke+ End+ ParticleSystem+ Name = BuggyMissileExplosionLenzflare+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList FX_DEMOBuggyNewDeathExplosion+ ParticleSystem+ Name = DemoBuggyNewExplosionSmoke+ End+ ParticleSystem+ Name = SpectreHowitzerExplosionCloud+ End+ ParticleSystem+ Name = SpectreHotPillarArmFlame+ End+ ParticleSystem+ Name = BuggyNewExplosionDebris2+ End+ ParticleSystem+ Name = BuggyNewExplosionShockwave+ End+ ViewShake+ Type = STRONG+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ Sound+ Name = CarDie+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_DemoSuicideDynamitePackDetonation+ ParticleSystem+ Name = RedDonuteCloud+ End+ ParticleSystem+ Name = ArmExplosionSmall01+ End+ ParticleSystem+ Name = HotPillarArms+ End+ ParticleSystem+ Name = DemoTrapLenzFlare+ End+ ViewShake+ Type = NORMAL+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+End++; ----------------------------------------------+FXList WeaponFX_DemoSuicideDynamitePackDetonationPlusFire+ Sound+ Name = TerroristSuicides+ End+ ParticleSystem+ Name = Explosion+ End+ ParticleSystem+ Name = DemoExplosionSmoke+ End+ ParticleSystem+ Name = RedDonuteCloud+ End+ ParticleSystem+ Name = ArmExplosionSmall01+ End+ ParticleSystem+ Name = HotPillarArms+ End+ ViewShake+ Type = NORMAL+ End+ TerrainScorch+ Type = RANDOM+ Radius = 15+ End+ LightPulse+ Color = R:255 G:170 B:90+ Radius = 80+ IncreaseTime = 0+ DecreaseTime = 350+ End+Enddiff --git a/GeneralsMD/Code/GameEngine/Source/Common/GameEngine.cpp b/GeneralsMD/Code/GameEngine/Source/Common/GameEngine.cppindex b5c7ab2ce..f3ed5afd2 100644--- a/GeneralsMD/Code/GameEngine/Source/Common/GameEngine.cpp+++ b/GeneralsMD/Code/GameEngine/Source/Common/GameEngine.cpp@@ -647,6 +647,11 @@ void GameEngine::init( int argc, char *argv[] )initSubsystem(TheFXListStore,"TheFXListStore", MSGNEW("GameEngineSubsystem") FXListStore(), &xferCRC, "Data\\INI\\Default\\FXList.ini", "Data\\INI\\FXList.ini");+ /* The fork's own detonation light, on top of EA's list. It is a separate file rather than a+ loose copy of FXList.ini because a loose copy shadows the whole 190K shipped file: it goes+ stale against every patch, it cannot be reviewed, and - since it lands in the INI CRC below -+ it silently refuses every multiplayer join from a machine that does not have the same one. */+ ini.load( AsciiString( "Data\\INI\\FXListReborn.ini" ), INI_LOAD_OVERWRITE, &xferCRC );initSubsystem(TheWeaponStore,"TheWeaponStore", MSGNEW("GameEngineSubsystem") WeaponStore(), &xferCRC, NULL, "Data\\INI\\Weapon.ini");initSubsystem(TheObjectCreationListStore,"TheObjectCreationListStore", MSGNEW("GameEngineSubsystem") ObjectCreationListStore(), &xferCRC, "Data\\INI\\Default\\ObjectCreationList.ini", "Data\\INI\\ObjectCreationList.ini");initSubsystem(TheLocomotorStore,"TheLocomotorStore", MSGNEW("GameEngineSubsystem") LocomotorStore(), &xferCRC, NULL, "Data\\INI\\Locomotor.ini");diff --git a/GeneralsMD/Code/Tests/test_gameengine.cpp b/GeneralsMD/Code/Tests/test_gameengine.cppindex 077335e6a..2c19fb22b 100644--- a/GeneralsMD/Code/Tests/test_gameengine.cpp+++ b/GeneralsMD/Code/Tests/test_gameengine.cpp@@ -63,6 +63,7 @@#include "GameClient/GameClient.h"#include "Common/GameEngine.h"#include "GameClient/ParticleSys.h"+#include "GameClient/FXList.h"#include "GameClient/ControlBar.h"#include "GameClient/InGameUI.h"#include "GameClient/View.h"@@ -393,6 +394,59 @@ TEST(ini_unknown_block_aborts_the_file)remove( TEST_INI );}+/* Data\INI\FXListReborn.ini is the fork's own explosion light: 89 of EA's FXLists, each repeated+ whole with one LightPulse added. Whole, because FXListStore::parseFXListDefinition clears an+ entry before re-reading it - a half-copied block does not add a light, it deletes an explosion.+ GameEngine::init loads the file and folds it into the multiplayer INI CRC, so both ways of+ getting it wrong are expensive: a malformed block throws and takes the whole startup down, and+ a regeneration that loses the LightPulse ships a file that lights nothing and still refuses+ every player who does not have that exact copy. */+TEST(fxlist_reborn_ini_parses_and_keeps_its_light)+{+ CHECK( bootOnce() );++ if( TheFXListStore == NULL )+ TheFXListStore = NEW FXListStore;++ /* through the game's own parser, not a lookalike */+ CHECK( loadIni( FXLIST_REBORN_INI ) );++ /* the blocks landed in the store, under the names the game looks them up by */+ CHECK( TheFXListStore->findFXList( "ScudStormMissileDetonation" ) != NULL );+ CHECK( TheFXListStore->findFXList( "FX_BombExplosion" ) != NULL );+ CHECK( TheFXListStore->findFXList( "NoSuchFXListIsDeclaredAnywhere" ) == NULL );++ /* and every block in the file still carries the light it exists for */+ FILE *fp = fopen( FXLIST_REBORN_INI, "rb" );+ CHECK( fp != NULL );++ Int blocks = 0, lit = 0, open = 0, hasLight = 0;+ char line[ 512 ];+ while( fgets( line, sizeof( line ), fp ) != NULL )+ {+ if( strncmp( line, "FXList ", 7 ) == 0 )+ {+ ++blocks;+ open = 1;+ hasLight = 0;+ }+ else if( open && strstr( line, "LightPulse" ) != NULL )+ {+ hasLight = 1;+ }+ else if( open && strncmp( line, "End", 3 ) == 0 )+ {+ /* column 0 closes the FXList; the nuggets inside are indented */+ lit += hasLight;+ open = 0;+ }+ }+ fclose( fp );++ CHECK_EQ( blocks, 89 );+ CHECK_EQ( lit, blocks );+}+/* ReleaseCrashInfo.txt's stack trace is the only stack this port gets - there isno debugger on the porting machine - and it came back empty on the first realcrash, which is worth catching here rather than in the middle of a launch. */