Jump to content
Sign in to follow this  
Drakkhen

Vehicles data

Recommended Posts

Hi,

 I've searched for an answer to these questions in the Mods discussion forum but it seems no one even cares, so, since the problem also relates to the Memory LOD (gyros)... here's what I was asking for

Quote[/b] ] does anyone know if there is a way to get RPM value, control X/Y, etc...?
Hi,

Maybe by reading the RPM animation? Try : this animationphase "IndicatorRPM"

You also could make use of the RPM2 feature

Quote[/b] ]Great idea but the animationphase constantly returns 0.

Are you sure of the animation name or that it's really an animation?

The reason of this is that we have an RPM hand on the instruments @ I guess it relies on an RPM value somewhere in the PC memory, but while there is two commands to get the bearing of a vehicle (getdir, direction), there's no one to get the RPM value.

So are these invisible data:

- Sight (direction but in 3D vector)

The drop command is accurate ofr this,but also can be done with some math
Quote[/b] ]Drop's fine for creating a custom oriented object (set it),but how could you get the 3Dsight axis of an already existing object?

- Absolute Z (visible in baro alt)

- Absolute Z (visible in baro alt)

Sea level? Search for absolute height I think it is

Quote[/b] ]Yeah... absolute height... is there a function for this?

(this getpos select 2 returning the relative height)

- Fwb/Bckwd control pos (somthin'like -1.0 to 1.0 value)

Planes don't fly backwards? Not sure what you mean? Reverse would show a -kph
Quote[/b] ]I meant that when you pull the [down arrow] key... it's a negative acceleration (not like the joy throttle set to the min). It makes A-10's/Su25's airbrakes deploy. I would like to get this event. I guess that if your animation phase trick works,I could get it (if I manage to find the correct aileron animation name ;)).

Since I currently work on a plane, does someone know if there is a way to have (like on choppers) TWO gyros?

Yes ytou can have multiple props by using the naming vrtule,vrtule1,vrtule2
Quote[/b] ]Multi props,yes... two altimeters, yes... but not with gyros in planes. And I've never seen two of them working in any plane mod. Is there a way to duplicate the gyro class if it is one.

Thanx for ANY help.

Share this post


Link to post
Share on other sites

I think it very hard to code..

It's a complete calculation of time by km. hum I not a Monster coder so I cant make the script but maybe it's possible to calculate the time between two getpos with extrapolated numbers. Then it's return a value and you can give a @ ..... : goto "animateNorth" or dont forget the getdir ;)

If a coder has time to make it .. it was pretty nice to make HUD of a chopper ;)

But I think it's not the right place for that post.

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  

×