ItsMods

Full Version: Dirt effect and Modify Claymores
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Another easy tutorial, Cool

With this is to make a dirty effect like when they throw you a grenade and you survive:

Code:
self thread maps\mp\_shellshock::dirtEffect(origin);

Example:

Code:
self thread maps\mp\_shellshock::dirtEffect(self.origin);

Now, just a simple claymore changes, really EASY, go in _weapons.gsc, find in Init() this:

Code:
    claymoreDetectionConeAngle = 70;
    level.claymoreDetectionDot = cos( claymoreDetectionConeAngle );
    level.claymoreDetectionMinDist = 20;
    level.claymoreDetectionGracePeriod = .75;
    level.claymoreDetonateRadius = 192;

Change it to whatever you want, example:

Code:
    claymoreDetectionConeAngle = 70;
    level.claymoreDetectionDot = cos( claymoreDetectionConeAngle );
    level.claymoreDetectionMinDist = 1;
    level.claymoreDetectionGracePeriod = .75;
    level.claymoreDetonateRadius = 360;

Thats just it, Superman
Nice, sounds fun.