From f3963ca818d903d6dd801bfe3484a2abbab94e94 Mon Sep 17 00:00:00 2001 From: Stubbjax Date: Sat, 4 Jul 2026 01:24:14 +1000 Subject: [PATCH 1/2] bugfix: Booby Traps can no longer be pushed around and rendered ineffective by strong forces --- GeneralsZH/Data/INI/Object/Shared/Weapon/BoobyTrap.ini | 4 ---- 1 file changed, 4 deletions(-) diff --git a/GeneralsZH/Data/INI/Object/Shared/Weapon/BoobyTrap.ini b/GeneralsZH/Data/INI/Object/Shared/Weapon/BoobyTrap.ini index 677ad1bc..d462e4d5 100644 --- a/GeneralsZH/Data/INI/Object/Shared/Weapon/BoobyTrap.ini +++ b/GeneralsZH/Data/INI/Object/Shared/Weapon/BoobyTrap.ini @@ -27,10 +27,6 @@ Object BoobyTrap ; created by upgraded Rebels InitialHealth = 1.0 End - Behavior = PhysicsBehavior ModuleTag_02 - Mass = 5.0 - End - Behavior = StickyBombUpdate ModuleTag_03 GeometryBasedDamageWeapon = BoobyTrapDetonationWeapon ; We add our bounding circle to the radius of this weapon, and damage people ourselves GeometryBasedDamageFX = FX_BoobyTrapExplosion ; And we modify our effect too From 3d3af3db6bea5a144af22a30da859cb6870c03f7 Mon Sep 17 00:00:00 2001 From: Stubbjax Date: Mon, 6 Jul 2026 13:18:36 +1000 Subject: [PATCH 2/2] fix: Remove superfluous PhysicsBehavior modules from TNTStickyBombs --- Generals/Data/INI/Object/Shared/Weapon/TNTStickyBomb.ini | 4 ---- GeneralsZH/Data/INI/Object/Shared/Weapon/TNTStickyBomb.ini | 4 ---- 2 files changed, 8 deletions(-) diff --git a/Generals/Data/INI/Object/Shared/Weapon/TNTStickyBomb.ini b/Generals/Data/INI/Object/Shared/Weapon/TNTStickyBomb.ini index ee6f5951..84cae417 100644 --- a/Generals/Data/INI/Object/Shared/Weapon/TNTStickyBomb.ini +++ b/Generals/Data/INI/Object/Shared/Weapon/TNTStickyBomb.ini @@ -23,10 +23,6 @@ Object TNTStickyBomb ; Created by Chinese Tank Hunters RadarPriority = NOT_ON_RADAR KindOf = PROJECTILE MINE NO_COLLIDE - Behavior = PhysicsBehavior ModuleTag_01 - Mass = 5.0 - End - ; This determines how long the bomb lives before it explodes (via SlowDeathBehavior) Behavior = LifetimeUpdate ModuleTag_02 MinLifetime = 10000 ; min lifetime in milliseconds diff --git a/GeneralsZH/Data/INI/Object/Shared/Weapon/TNTStickyBomb.ini b/GeneralsZH/Data/INI/Object/Shared/Weapon/TNTStickyBomb.ini index ec2b3251..8da8a05b 100644 --- a/GeneralsZH/Data/INI/Object/Shared/Weapon/TNTStickyBomb.ini +++ b/GeneralsZH/Data/INI/Object/Shared/Weapon/TNTStickyBomb.ini @@ -22,10 +22,6 @@ Object TNTStickyBomb ; Created by Chinese Tank Hunters RadarPriority = NOT_ON_RADAR KindOf = PROJECTILE MINE NO_COLLIDE - Behavior = PhysicsBehavior ModuleTag_01 - Mass = 5.0 - End - ; This determines how long the bomb lives before it explodes (via SlowDeathBehavior) Behavior = LifetimeUpdate ModuleTag_02 MinLifetime = 10000 ; min lifetime in milliseconds