Jump to content
Sign in to follow this  
yourstruly

Affecting in-game compass

Recommended Posts

Hey,

I'm trying to modify behavior of default in-game compass. To be more precise: I'm trying to make it show exact bearing faster.

What I know is that:

1) there is a RscCompass object defined as a child class of RscObject

2) there is p3d model of it in A3 Data

3) there are 3 animation sources: compassArrow, compassCover and compassPointer

4) you can influence compass behavior with setCompassOscillation command, but it only controls its precision

What I'm missing:

How do I get compass object itself so I can animate it? Or where is the function responsible for moving the arrow/pointer around? Is it even possible to change it or do I have to create compass object from the scratch with my own functions?

Cheers

Share this post


Link to post
Share on other sites

If you were to find a way to make the compass act realistically and turn at thrice or fourfold the speed it does right now, I'd be soooo happy. ;)

I really don't know who at BI thought it to be a good idea to make the compass turn like a cheap compass from a 1€-store.

Share this post


Link to post
Share on other sites

There might no be a way to affect the animation speed of the model as I believe it is set in the model.cfg when the model was made.

If you would do a new model and give it faster animation speed that might do the trick.

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  

×