1 #using scripts\shared\clientfield_shared;
2 #using scripts\shared\system_shared;
4 #insert scripts\shared\shared.gsh;
5 #insert scripts\shared\clientfields.gsh;
6 #insert scripts\shared\version.gsh;
7 #insert scripts\mp\_destructible.gsh;
9 #namespace destructible;
18 function playGrenadeRumble( localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump )
20 PlayRumbleOnPosition( localClientNum,
"grenade_rumble",
self.origin );
21 GetLocalPlayer( localClientNum ) Earthquake( 0.5, 0.5,
self.origin, 800 );
24 function doExplosion( localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump )
31 physics_explosion =
false;
35 physics_explosion =
true;
42 if( physics_explosion )
44 PhysicsExplosionSphere( localClientNum,
self.origin, newVal, newVal - 1, physics_force, 25, 400 );