Jump to content
Sign in to follow this  
mikefictiti0us

Camera shake when firing chaingun on a helicopter

Recommended Posts

I've been trying to find a way to get the the view of the gunners optics on an AH-64 to shake when the 30mm Chaingun is fired, for this modification to Mapfact's AH-64A. No luck as of yet. Does anyone know how I could do this? I've tried messing with recoil settings, but to no effect.

Also, does anyone know how to change the font size for text in the ingame GUI? I'd like to enlarge the text for the currently selected weapon.

This controls the location of the text, but not the actual size :

class Weapon : RscIGText {

x = 0.65;

y = 0.81;

w = 0.17;

size = 0.71 <-- Don't know what this does, but it doesn't seem to be related to text size.

Share this post


Link to post
Share on other sites

define user type anim with gunnerview point as a selection. thus you can try to move it via script and thus shake it randomly. if you need examples - search for any addon with user anims (like openable doors etc)

'reaload' animsource won't help i guess cause it's triggered for whole magazine not for each shot

as about text size.. have you tried to play with this value ?

Share this post


Link to post
Share on other sites
define user type anim with gunnerview point as a selection. thus you can try to move it via script and thus shake it randomly. if you need examples - search for any addon with user anims (like openable doors etc)

'reaload' animsource won't help i guess cause it's triggered for whole magazine not for each shot

as about text size.. have you tried to play with this value ?

Managed to find the command that increases text size (SizeEx)

Thanks for the help, I've managed to get it to shaking. I just have to work out how to get it to shake per round fired.

Share this post


Link to post
Share on other sites
Thanks for the help, I've managed to get it to shaking. I just have to work out how to get it to shake per round fired.

Use the Fired Eventhandler, remember to check type of ammo that is fired.

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  

×