Weapon BoobyTrapDetonationWeapon ;Created by Rebels as an upgrade PrimaryDamage = 20000.0 PrimaryDamageRadius = 5.0 SecondaryDamage = 20000.0 SecondaryDamageRadius = 15.0 DamageType = EXPLOSION DeathType = EXPLODED End
Weapon BoobyTrapDetonationWeapon2 ;Created by Rebels as an upgrade PrimaryDamage = 2000.0 PrimaryDamageRadius = 5.0 ; These ranges are the range past the boobytrapped objects' bounding circle SecondaryDamage = 2000.0 SecondaryDamageRadius = 15.0 ; These ranges are the range past the boobytrapped objects' bounding circle DamageType = EXPLOSION DeathType = EXPLODED End Object BoobyTrap ; created by upgraded rebels ReplaceModule ModuleTag_03 Behavior = StickyBombUpdate ModuleTag_03_Override GeometryBasedDamageWeapon = BoobyTrapDetonationWeapon2 ; We add our bounding circle to the radius of this weapon, and damage people ourselves GeometryBasedDamageFX = FX_BoobyTrapExplosion ; And we modify our effect too End End End
I don't think you actually need all that object code.You should only need to change the StickyBombUpdate module to change it to the new weapon.
Originally Posted by: klingondragon
The C&C Labs Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies. More Details Close