Blockland Forums > Modification Help
Adding recoil
SgtDaemon:
Hey, I would like to ask you guys for the code part (or whatever you call it) for a trigger on firing a weapon, and
when this happens add a certian amount of picth to the player. (AKA your aim goes up.) I'm not sure this is possible, but if it is please post it to here so I can [spoiler] copy it into any item's script.[/spoiler] I suck at scripting so intructions would be nice :-/
edit: I am not sure if this is the good section...
Chrono:
Sorry, you can't make a player's aim go up or down.
Ipquarx:
Unless you made some sort of client mod, recoil is not possible.
And besides, who would want to download a mod that makes your aim worse?
Extrude:
Spawn a small explosion on the player every time you fire the gun. Check the T+T code or GCat's old weaponset.
Ipquarx:
--- Quote from: Extrude on December 22, 2011, 04:23:18 PM ---Spawn a small explosion on the player every time you fire the gun. Check the T+T code or GCat's old weaponset.
--- End quote ---
doesnt move the players aim up, which is what he's wanting.