Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Optimize suicide explosion effects of GLA Demo units #2313

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions Patch104pZH/GameFilesEdited/Data/INI/FXList.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3359,7 +3359,7 @@ End

; Patch104p @bugfix xezon 08/07/2023 Removes explosion sound effect and adds it to weapon effects, so it can be heard in all death conditions. (#2075)
; ----------------------------------------------
FXList FX_TerroristExplode ; Alias FX_TerroristSuicide
FXList FX_TerroristExplode ; legacy
ParticleSystem
Name = Explosion
End
Expand Down Expand Up @@ -9836,7 +9836,7 @@ End

; Patch104p @bugfix xezon 08/07/2023 Adds sound effect here so it is bound to weapon. Was previously referenced in FX_TerroristExplode. (#2075)
; ----------------------------------------------
FXList WeaponFX_DemoSuicideDynamitePackDetonation
FXList WeaponFX_DemoSuicideDynamitePackDetonation ; Alias Demo_WeaponFX_DemoSuicideDynamitePackDetonation
Sound
Name = TerroristSuicides
End
Expand All @@ -9863,7 +9863,7 @@ FXList WeaponFX_DemoSuicideDynamitePackDetonation
End

; ----------------------------------------------
FXList WeaponFX_DemoSuicideDynamitePackDetonationPlusFire
FXList WeaponFX_DemoSuicideDynamitePackDetonationPlusFire ; Alias Demo_WeaponFX_SuicideDynamitePackDetonationPlusFire
Sound
Name = TerroristSuicides
End
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14108,7 +14108,7 @@ Object Chem_GLAInfantryTerrorist
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down
40 changes: 20 additions & 20 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/DemoGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13210,7 +13210,7 @@ Object Demo_GLAInfantryRebel
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down Expand Up @@ -13684,7 +13684,7 @@ Object Demo_GLAInfantryJarmenKell
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down Expand Up @@ -14043,7 +14043,7 @@ Object Demo_GLAInfantryTunnelDefender
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down Expand Up @@ -14350,7 +14350,7 @@ Object Demo_GLAInfantryStingerSoldier
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down Expand Up @@ -14640,7 +14640,7 @@ Object Demo_GLAInfantryTerrorist
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down Expand Up @@ -15199,7 +15199,7 @@ Object Demo_GLAInfantryAngryMobPistol01
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down Expand Up @@ -15549,7 +15549,7 @@ Object Demo_GLAInfantryAngryMobRock02
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down Expand Up @@ -16495,7 +16495,7 @@ Object Demo_GLAInfantryAngryMobMolotov02
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down Expand Up @@ -16792,7 +16792,7 @@ Object Demo_GLAInfantryHijacker
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down Expand Up @@ -17270,7 +17270,7 @@ Object Demo_GLAInfantryWorker
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down Expand Up @@ -17594,7 +17594,7 @@ Object Demo_GLAInfantrySaboteur
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down Expand Up @@ -17974,7 +17974,7 @@ Object Demo_GLATankScorpion

Behavior = SlowDeathBehavior ModuleTag_Death17
DeathTypes = NONE +SUICIDED
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
OCL = FINAL Demo_OCL_ScorpionTankDeathEffect
;FX = FINAL FX_BattleMasterExplosionOneFinal
End
Expand Down Expand Up @@ -18239,7 +18239,7 @@ Object Demo_GLAVehicleRocketBuggy

Behavior = SlowDeathBehavior ModuleTag_Death17
DeathTypes = NONE +SUICIDED
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
OCL = FINAL OCL_RocketBuggyAirDeathStart
FX = FINAL ScorchlessFX_DEMOBuggyNewDeathExplosion
End
Expand Down Expand Up @@ -19748,7 +19748,7 @@ Object Demo_GLAVehicleQuadCannon

Behavior = SlowDeathBehavior ModuleTag_Death_14
DeathTypes = NONE +SUICIDED
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
OCL = FINAL Demo_OCL_QuadCannonDeathEffect
;FX = FINAL FX_BattleMasterExplosionOneFinal
End
Expand Down Expand Up @@ -20115,7 +20115,7 @@ Object Demo_GLAVehicleToxinTruck
Behavior = SlowDeathBehavior ModuleTag_Death_14
DeathTypes = NONE +SUICIDED
ExemptStatus = STATUS_RIDER1
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
OCL = FINAL Demo_OCL_ToxinTractorDeathEffect
;FX = FINAL FX_ToxinTruckExplosionOneFinal
End
Expand All @@ -20124,7 +20124,7 @@ Object Demo_GLAVehicleToxinTruck
Behavior = SlowDeathBehavior ModuleTag_Death_14Anthrax
DeathTypes = NONE +SUICIDED
RequiredStatus = STATUS_RIDER1
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
OCL = FINAL Demo_OCL_ToxinTractorUpgradedDeathEffect
;FX = FINAL FX_ToxinTruckExplosionUpgraded
End
Expand Down Expand Up @@ -20715,7 +20715,7 @@ Object Demo_GLAVehicleScudLauncher

Behavior = SlowDeathBehavior ModuleTag_Death24
DeathTypes = NONE +SUICIDED
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
OCL = FINAL Demo_OCL_SCUDLauncherDeathEffect
;FX = FINAL FX_ScudLauncherExplosionOneFinal
End
Expand Down Expand Up @@ -22072,7 +22072,7 @@ Object Demo_GLATankMarauder

Behavior = SlowDeathBehavior ModuleTag_Death_22
DeathTypes = NONE +SUICIDED
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
OCL = FINAL Demo_OCL_MarauderTankDeathEffect
;FX = FINAL FX_BattleMasterExplosionOneFinal
End
Expand Down Expand Up @@ -22315,7 +22315,7 @@ Object Demo_GLAVehicleRadarVan

Behavior = SlowDeathBehavior ModuleTag_Death_20
DeathTypes = NONE +SUICIDED
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
OCL = FINAL Demo_OCL_RadarVanDeathEffect
;FX = FINAL FX_BuggyNewDeathExplosion
End
Expand Down Expand Up @@ -22748,7 +22748,7 @@ Object Demo_GLAVehicleBattleBus
Behavior = SlowDeathBehavior ModuleTag_35 ; Sorry, because the terrorist does Suicide damage to others, we cannot tell if it is a legit suicide (us killing self)
DeathTypes = NONE +SUICIDED
OCL = INITIAL Demo_OCL_BattleBusSuicideWeaponDummy ; Patch104p @bugfix commy2 29/08/2021 Spawns dummy object to let Battle Bus deal damage by suicide. (#102)
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
OCL = FINAL Demo_OCL_BattleBusDeath
;FX = FINAL FX_BattleBusDeathExplosion
End
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4151,7 +4151,7 @@ Object GC_Chem_GLAInfantryTerrorist
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2442,7 +2442,7 @@ Object GC_Slth_GLAInfantryTerrorist
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down
4 changes: 2 additions & 2 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/GLACINEUnit.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5685,7 +5685,7 @@ Object CINE_GLAInfantryTerrorist
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down Expand Up @@ -7589,7 +7589,7 @@ Object CINE_CheeringTerrorist
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@ Object GLAInfantryTerrorist
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15124,7 +15124,7 @@ Object Slth_GLAInfantryTerrorist
SinkDelay = 3000
SinkRate = 0.5 ; in Dist/Sec
DestructionDelay = 8000
FX = INITIAL FX_TerroristExplode
;FX = INITIAL FX_TerroristExplode
FlingForce = 8
FlingForceVariance = 3
FlingPitch = 60
Expand Down
2 changes: 1 addition & 1 deletion Patch104pZH/GameFilesEdited/Data/INI/Weapon.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2960,7 +2960,7 @@ Weapon QuadCannonGunUpgradeTwoAir
End

;------------------------------------------------------------------------------
Weapon SuicideBomb
Weapon SuicideBomb ; unused
PrimaryDamage = 300.0
PrimaryDamageRadius = 10.0
SecondaryDamage = 60.0
Expand Down