Skip to content

Commit

Permalink
Fix toxin terrorist suicide extra damage and glitches before Anthrax …
Browse files Browse the repository at this point in the history
…Gamma upgrade
  • Loading branch information
xezon committed Jul 16, 2022
1 parent e71b6d7 commit 7ce2e02
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13029,7 +13029,6 @@ Object Chem_GLAInfantryTerrorist
FlingForceVariance = 3
FlingPitch = 60
FlingPitchVariance = 10
OCL = INITIAL Chem_PoisonFieldGammaLarge
End

Behavior = FireWeaponWhenDeadBehavior ModuleTag_Death04
Expand All @@ -13052,12 +13051,14 @@ Object Chem_GLAInfantryTerrorist
TriggeredBy = Upgrade_GLAAnthraxBeta
RequiresAllTriggers = Yes ;TriggeredBy is an AND, not an OR like it normally is
ConflictsWith = Chem_Upgrade_GLAAnthraxGamma
DeathTypes = NONE +SUICIDED +CRUSHED +SPLATTED +LASERED +BURNED +EXPLODED
End

Behavior = FireWeaponWhenDeadBehavior ModuleTag_93
DeathWeapon = Chem_SuicideWeapon
StartsActive = Yes ; @bugfix commy2 22/09/2021 Fix Toxin Terrorist creates no poison cloud when used by other factions.
ConflictsWith = Upgrade_GLAAnthraxBeta Chem_Upgrade_GLAAnthraxGamma
DeathTypes = NONE +SUICIDED +CRUSHED +SPLATTED +LASERED +BURNED +EXPLODED
End

; Units that can gain experience can't have GrantUpgradeCreate or they crash savegames.
Expand Down Expand Up @@ -16714,13 +16715,15 @@ Object Chem_GLAVehicleCombatBike
TriggeredBy = Upgrade_GLAAnthraxBeta
RequiresAllTriggers = Yes ;TriggeredBy is an AND, not an OR like it normally is
ConflictsWith = Chem_Upgrade_GLAAnthraxGamma
DeathTypes = NONE +SUICIDED +CRUSHED +SPLATTED +LASERED +BURNED +EXPLODED
End

Behavior = FireWeaponWhenDeadBehavior ModuleTag_93
RequiredStatus = STATUS_RIDER5
DeathWeapon = Chem_SuicideWeapon
StartsActive = Yes ; @bugfix commy2 22/09/2021 Fix Toxin Terrorist creates no poison cloud when used by other factions.
ConflictsWith = Upgrade_GLAAnthraxBeta Chem_Upgrade_GLAAnthraxGamma
DeathTypes = NONE +SUICIDED +CRUSHED +SPLATTED +LASERED +BURNED +EXPLODED
End

; Units that can gain experience can't have GrantUpgradeCreate or they crash savegames.
Expand Down
8 changes: 4 additions & 4 deletions Patch104pZH/GameFilesEdited/Data/INI/Weapon.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7980,7 +7980,7 @@ Weapon Chem_SuicideWeaponGamma ; No extra damage, just lays down a damage field
DeathType = EXPLODED
WeaponSpeed = 99999.0
ProjectileObject = NONE
; FireFX = WeaponFX_NapalmMissileDetonation
FireFX = Chem_WeaponFX_ToxinShellWeaponGamma
FireOCL = OCL_PoisonFieldGammaSmall
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
DelayBetweenShots = 0 ; time between shots, msec
Expand All @@ -7993,7 +7993,7 @@ End

;------------------------------------------------------------------------------
Weapon Chem_SuicideWeapon ; No extra damage, just lays down a damage field
PrimaryDamage = 200.0
PrimaryDamage = 0.0
PrimaryDamageRadius = 10.0
AttackRange = 100.0
DamageType = EXPLOSION
Expand All @@ -8013,14 +8013,14 @@ End

;------------------------------------------------------------------------------
Weapon Chem_SuicideWeaponBeta ; No extra damage, just lays down a damage field
PrimaryDamage = 200.0
PrimaryDamage = 0.0
PrimaryDamageRadius = 10.0
AttackRange = 100.0
DamageType = EXPLOSION
DeathType = EXPLODED
WeaponSpeed = 99999.0
ProjectileObject = NONE
; FireFX = WeaponFX_NapalmMissileDetonation
FireFX = WeaponFX_ToxinShellWeaponUpgraded
FireOCL = OCL_PoisonFieldUpgradedSmall
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
DelayBetweenShots = 0 ; time between shots, msec
Expand Down

0 comments on commit 7ce2e02

Please sign in to comment.