Skip to content

Commit

Permalink
Change: Remove Demo GLA Combat Bike suicide damage to allies before D…
Browse files Browse the repository at this point in the history
…emo Upgrade (#783)
  • Loading branch information
xezon authored Aug 4, 2022
1 parent 0de8940 commit 7427cf7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/DemoGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17999,15 +17999,17 @@ Object Demo_GLAVehicleCombatBike
; End

; Patch104p @bugfix commy2 29/08/2021 Fix poison death not firing expected death weapons.
; This made Bike deal no damage when killed by Anthrax Gamma poison.
; This made Bike deal no damage when killed by Anthrax Gamma poison.
; Patch104p @bugfix xezon 29/07/2022 Replace SuicideBikeBomb with new bike bomb to exclude damage to ALLIES.
; This makes it consistent with Terrorist before/after Demo Upgrade and Terror Bike after Demo Upgrade

;Terrorist without suicide bomb upgrade
Behavior = FireWeaponWhenDeadBehavior ModuleTag_Death18
RequiredStatus = STATUS_RIDER5
DeathWeapon = SuicideBikeBomb
DeathWeapon = Demo_SuicideBikeBomb_Patch104p
StartsActive = Yes
DeathTypes = NONE +SUICIDED +BURNED +EXPLODED
ConflictsWith = Demo_Upgrade_SuicideBomb
ConflictsWith = Demo_Upgrade_SuicideBomb
End

;Terrorist without suicide bomb upgrade crushed
Expand Down
21 changes: 21 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/INI/Weapon.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2361,6 +2361,27 @@ Weapon SuicideBikeBomb
FireSound = CarBomberDie
End

;------------------------------------------------------------------------------
Weapon Demo_SuicideBikeBomb_Patch104p
PrimaryDamage = 700.0
PrimaryDamageRadius = 20.0
SecondaryDamage = 100.0
SecondaryDamageRadius = 50.0
AttackRange = 5.0 ; must be very close to use this weapon!
DamageType = EXPLOSION
DeathType = SUICIDED
WeaponSpeed = 99999.0
ProjectileObject = NONE
DamageDealtAtSelfPosition = Yes ; this is a suicide bomber... remember?
RadiusDamageAffects = SELF SUICIDE ENEMIES NEUTRALS NOT_SIMILAR ;ALLIES
DelayBetweenShots = 0
ClipSize = 1
ClipReloadTime = 0
AutoReloadsClip = No
FireFX = WeaponFX_SuicideDynamitePackDetonation
FireSound = CarBomberDie
End

;------------------------------------------------------------------------------
Weapon CrushedBikeBomb_Patch104p
PrimaryDamage = 308.0 ; 2 times as much as Demo_CrushedDynamitePack_Patch104p
Expand Down

0 comments on commit 7427cf7

Please sign in to comment.