Author Topic: How Do I make my Weapons have Recoil?  (Read 390 times)

I want my g18 to have a recoil when firing but i don't know how to do it please help.

Reference the aimbot script, and make it when you shoot the gun starts to aim upward a bit and stops after you release the  trigger.

Reference the aimbot script, and make it when you shoot the gun starts to aim upward a bit and stops after you release the  trigger.

No.

Code: [Select]
datablock DebrisData(YourGunHereShellDebris)
{
shapeFile = "./YourGunHereShell.dts";
lifetime = 2.0;
minSpinSpeed = -400.0;
maxSpinSpeed = 200.0;
elasticity = 0.5;
friction = 0.2;
numBounces = 3;
staticOnMaxBounce = true;
snapOnMaxBounce = false;
fade = true;

gravModifier = 2;
};