Page 1 of 1

Need help coding a weapon

Posted: January 8th, 2011, 6:35 pm
by owenisred
OK I'm sure about a million people have asked you guys for this, but I need one weapon and one weapon alone for my game. However it has some pretty wierd characteristics; it takes 2 secs to charge, and fires on release. Also it has a massive kickback and kills instantly.

Finally, and this is the hardest one I think (but also the most optional) the kickback is weaker when on the ground, i.e. jumping and the firing causes you to travel further than just firing.

Is this possible?

I know its a lot to ask. I tried to edit the sauer guns to match my criteria, however the only thing I could get is kickback and instant-kill. I couldnt get the charge or firing on release to work at all.

If anyone can do this, I would make any number of models they wanted for sandbox, skin and animate them straight away.

Thanks,
Owen.

Re: Need help coding a weapon

Posted: January 8th, 2011, 10:33 pm
by chocolatepie33
you know how in the 2.5 RPG, you needed to charge a spell after you used it a bunch of times? maybe you can use a code like that...