Skip to content

Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.

fix(gameengine): shrink the hard-kill charge's blast at the missile

Olcay Seygane3db3f610a4b
diff --git a/GeneralsMD/Code/Data/INI/FXListReforged.ini b/GeneralsMD/Code/Data/INI/FXListReforged.ini
index 1a0cf7360..caee792e4 100644
--- a/GeneralsMD/Code/Data/INI/FXListReforged.ini
+++ b/GeneralsMD/Code/Data/INI/FXListReforged.ini
@@ -2633,22 +2633,26 @@ End
; ----------------------------------------------
; The charge bursting at the missile, or at the infantryman the Paladin fires it at
-; (ProjectileDetonationFX, played by PointDefenseLaserUpdate where the target was).
+; (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_ActiveProtectionBlast
Sound
Name = ExplosionFlashBang
End
ParticleSystem
- Name = BuggyMissileExplosion
+ Name = APSBlastFlash
End
ParticleSystem
- Name = FlashBangNormalSpark
+ Name = APSBlastFragments
+ End
+ ParticleSystem
+ Name = APSBlastPuff
End
LightPulse
Color = R:255 G:190 B:120
- Radius = 50
+ Radius = 35
IncreaseTime = 0
- DecreaseTime = 250
+ DecreaseTime = 200
End
End
diff --git a/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini b/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini
index f519c54c9..36fbc1fac 100644
--- a/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini
+++ b/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini
@@ -175,3 +175,172 @@ ParticleSystem SupW_ParticleDeathImplode
WindPingPongEndAngleMin = 5.497787
WindPingPongEndAngleMax = 6.283185
End
+
+; The Paladin's and the Avenger's hard-kill charge bursting at 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 of
+; fragments thrown about 20 out, and a grey puff that thins away in 15 frames. No name here holds
+; "smoke", so -smoke leaves them alone.
+
+ParticleSystem APSBlastFlash
+ Priority = WEAPON_EXPLOSION
+ IsOneShot = No
+ Shader = ADDITIVE
+ Type = PARTICLE
+ ParticleName = EXexplo03.tga
+ AngleZ = 0.00 7.00
+ AngularRateZ = 0.00 0.00
+ AngularDamping = 1.00 1.00
+ VelocityDamping = 0.50 0.50
+ Gravity = 0.00
+ Lifetime = 8.00 8.00
+ SystemLifetime = 1
+ Size = 5.00 6.00
+ StartSizeRate = 0.00 0.00
+ SizeRate = 1.00 1.00
+ SizeRateDamping = 0.70 0.70
+ Alpha1 = 1.00 1.00 0
+ Alpha2 = 0.00 0.00 0
+ Alpha3 = 0.00 0.00 0
+ Alpha4 = 0.00 0.00 0
+ Alpha5 = 0.00 0.00 0
+ Alpha6 = 0.00 0.00 0
+ Alpha7 = 0.00 0.00 0
+ Alpha8 = 0.00 0.00 0
+ Color1 = R:255 G:240 B:200 0
+ Color2 = R:255 G:150 B:60 3
+ Color3 = R:0 G:0 B:0 8
+ Color4 = R:0 G:0 B:0 0
+ Color5 = R:0 G:0 B:0 0
+ Color6 = R:0 G:0 B:0 0
+ Color7 = R:0 G:0 B:0 0
+ Color8 = R:0 G:0 B:0 0
+ ColorScale = 0.00 0.00
+ BurstDelay = 99999.00 99999.00
+ BurstCount = 1.00 1.00
+ InitialDelay = 0.00 0.00
+ DriftVelocity = X:0.00 Y:0.00 Z:0.00
+ VelocityType = SPHERICAL
+ VelSpherical = 0.00 0.00
+ VolumeType = POINT
+ IsHollow = No
+ IsGroundAligned = No
+ IsEmitAboveGroundOnly = No
+ IsParticleUpTowardsEmitter = No
+ WindMotion = Unused
+ WindAngleChangeMin = 0.149924
+ WindAngleChangeMax = 0.449946
+ WindPingPongStartAngleMin = 0.000000
+ WindPingPongStartAngleMax = 0.785398
+ WindPingPongEndAngleMin = 5.497787
+ WindPingPongEndAngleMax = 6.283185
+End
+
+ParticleSystem APSBlastFragments
+ Priority = WEAPON_EXPLOSION
+ IsOneShot = No
+ Shader = ADDITIVE
+ Type = PARTICLE
+ ParticleName = EXLnzFlar3.tga
+ AngleZ = 0.00 0.00
+ AngularRateZ = 0.00 0.00
+ AngularDamping = 0.00 0.00
+ VelocityDamping = 0.85 0.85
+ Gravity = 0.10
+ Lifetime = 10.00 16.00
+ SystemLifetime = 1
+ Size = 0.60 1.00
+ StartSizeRate = 0.00 0.00
+ SizeRate = 0.00 0.00
+ SizeRateDamping = 1.00 1.00
+ Alpha1 = 1.00 1.00 0
+ Alpha2 = 0.00 0.00 0
+ Alpha3 = 0.00 0.00 0
+ Alpha4 = 0.00 0.00 0
+ Alpha5 = 0.00 0.00 0
+ Alpha6 = 0.00 0.00 0
+ Alpha7 = 0.00 0.00 0
+ Alpha8 = 0.00 0.00 0
+ Color1 = R:255 G:255 B:220 0
+ Color2 = R:255 G:160 B:60 5
+ Color3 = R:0 G:0 B:0 16
+ Color4 = R:0 G:0 B:0 0
+ Color5 = R:0 G:0 B:0 0
+ Color6 = R:0 G:0 B:0 0
+ Color7 = R:0 G:0 B:0 0
+ Color8 = R:0 G:0 B:0 0
+ ColorScale = 0.00 0.00
+ BurstDelay = 99999.00 99999.00
+ BurstCount = 7.00 9.00
+ InitialDelay = 0.00 0.00
+ DriftVelocity = X:0.00 Y:0.00 Z:0.00
+ VelocityType = SPHERICAL
+ VelSpherical = 2.00 3.50
+ VolumeType = POINT
+ IsHollow = No
+ IsGroundAligned = No
+ IsEmitAboveGroundOnly = No
+ IsParticleUpTowardsEmitter = No
+ WindMotion = Unused
+ WindAngleChangeMin = 0.149924
+ WindAngleChangeMax = 0.449946
+ WindPingPongStartAngleMin = 0.000000
+ WindPingPongStartAngleMax = 0.785398
+ WindPingPongEndAngleMin = 5.497787
+ WindPingPongEndAngleMax = 6.283185
+End
+
+ParticleSystem APSBlastPuff
+ Priority = WEAPON_EXPLOSION
+ IsOneShot = No
+ Shader = ALPHA
+ Type = PARTICLE
+ ParticleName = EXCloud01.tga
+ AngleZ = 0.00 7.00
+ AngularRateZ = -0.02 0.02
+ AngularDamping = 1.00 1.00
+ VelocityDamping = 0.90 0.90
+ Gravity = 0.00
+ Lifetime = 15.00 15.00
+ SystemLifetime = 1
+ Size = 3.00 4.00
+ StartSizeRate = 0.00 0.00
+ SizeRate = 0.70 0.80
+ SizeRateDamping = 0.85 0.85
+ Alpha1 = 0.70 0.70 0
+ Alpha2 = 0.00 0.00 15
+ Alpha3 = 0.00 0.00 0
+ Alpha4 = 0.00 0.00 0
+ Alpha5 = 0.00 0.00 0
+ Alpha6 = 0.00 0.00 0
+ Alpha7 = 0.00 0.00 0
+ Alpha8 = 0.00 0.00 0
+ Color1 = R:160 G:155 B:145 0
+ Color2 = R:0 G:0 B:0 0
+ Color3 = R:0 G:0 B:0 0
+ Color4 = R:0 G:0 B:0 0
+ Color5 = R:0 G:0 B:0 0
+ Color6 = R:0 G:0 B:0 0
+ Color7 = R:0 G:0 B:0 0
+ Color8 = R:0 G:0 B:0 0
+ ColorScale = 0.00 0.00
+ BurstDelay = 99999.00 99999.00
+ BurstCount = 2.00 2.00
+ InitialDelay = 0.00 0.00
+ DriftVelocity = X:0.00 Y:0.00 Z:0.02
+ VelocityType = SPHERICAL
+ VelSpherical = 0.30 0.60
+ VolumeType = POINT
+ IsHollow = No
+ IsGroundAligned = No
+ IsEmitAboveGroundOnly = No
+ IsParticleUpTowardsEmitter = No
+ WindMotion = Unused
+ WindAngleChangeMin = 0.149924
+ WindAngleChangeMax = 0.449946
+ WindPingPongStartAngleMin = 0.000000
+ WindPingPongStartAngleMax = 0.785398
+ WindPingPongEndAngleMin = 5.497787
+ WindPingPongEndAngleMax = 6.283185
+End