Jump to content
Sign in to follow this  
AC337

Event Handler help

Recommended Posts

Hey, i have edited scripts before, but now i am trying to create an event handler that makes your camera shake when you shoot a gun. Ive never done this before and was wondering if anyone could help me out with this?

Share this post


Link to post
Share on other sites
Something like this?

http://dev-heaven.net/issues/10902

For "force", stick to my caliber suggestion if you're not using ACE, or adjust to whatever suits you.

No what im really trying to get, the kind of shake i want is to have the camera rotate down to the right every time you shoot

Something like the camera shake here, notice how its very quick but does its job really well.:

<object width="480" height="385"><param name="movie" value="http://www.youtube.com/watch?v=CGqAXMeJ89E&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/watch?v=CGqAXMeJ89E&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>

Edited by AC337

Share this post


Link to post
Share on other sites

Well, just change the shake script so that "direction" is fixed rather than random. As for quickness, I'm not sure if the EH handling poses any limits, you just have to try it out for yourself.

Share this post


Link to post
Share on other sites

Just out of interest is it possible to get the AI to use single shots, I know the sniper riffle does this but you can't see through the optics.

Share this post


Link to post
Share on other sites
Just out of interest is it possible to get the AI to use single shots, I know the sniper riffle does this but you can't see through the optics.

There are config values for that, but I've never fiddled around with them tbh.

Share this post


Link to post
Share on other sites
There are config values for that, but I've never fiddled around with them tbh.

cheers I'll take a look later.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×