Blockland Forums > Modification Help
How Do I make my Weapons have Recoil?
Pages: (1/1)
MonkeyFunkyMonkey:
I want my g18 to have a recoil when firing but i don't know how to do it please help.
FFSO:
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.
Superb:
--- Quote from: FFSO on January 02, 2012, 03:52:34 PM ---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.
--- End quote ---
No.
BlockStar:
--- Code: ---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;
};
--- End code ---
Pages: (1/1)