Guest major gandhi Posted June 9, 2004 hello, I'm working on a helicopter at the moment and I'm trying to make a realistic MFD for it (Multi functional display). Here is a photo of the original: So far I made the horizon and the compass, both working fine and looking good. Next I want to make the two bars at the sides of the horizon. (I have no info about what they really display) The right one should show the speed or vertical speed (I'mnot sure hwich one fits best) while the left one should show the height. The problem is I have no idea how to put it into action. I couldn't find any helo which already has such display either (The bars from dkm's choppers wouldn't fit into the MFD. Any ideas? Share this post Link to post Share on other sites
Footmunch 0 Posted June 9, 2004 You don't _have_ to use the built in BIS height and speed dials coding, you could just have a script running that gets the speed and height of the unit, and then adjusts a couple of animations in the appropriate manner. Otherwise you need vert_speed and speed dials - check the commented configs for details. They have maxes and mins, as well as angles that allow you to adjust the range of movement. The anims could be sections of a cylinder that are coloured brown and blue. Then you rotate the cylinder around the long axis. So side view looks like: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â \ . Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â | Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â / Where the dot is the axis, and the dashes are the indicator. Share this post Link to post Share on other sites
Guest major gandhi Posted June 10, 2004 thanks for your reply footmunch. I decided to realize your second idea with the cylinder. I made one, textured it and integrated it into the MFD. Than I edited the config: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class IndicatorSpeed { selection = "mph"; axis = "osa_mph"; angle = -340; min = 0; max = 320; }; the heli has maximum speed of 320. with a rotation of -340 degree you can display the numbers from 0 to 320 on the cylinder. first problem is that I forgot to make numbers for negative speed (flying backwards). Than I thought negative speed wouldn't be displayed since I set min and max in the config to 0 and 320. But in game when flying backwards the display simply shows the positive numbers. Another problem is that the cylinder in game only rotates from 0 to 70-80 and not up to 320 although I defined it in the config. Does someone know where I could have made a failure? Or how to fix this thing with negative numbers and that the rotation? Share this post Link to post Share on other sites
Footmunch 0 Posted June 10, 2004 JH avatar - nice work. Does making min negative work? Then you'd have to adjust the 'default' rotation of the cylinder so that the zero speed matches. However, I think 'speed' may be a 'speed in any direction' number. Also, it may be scaled a bit strangely - the altitude, I know, is scaled such that 304 is the 'max' height. Try adjusting the max value so that the full range is used. Share this post Link to post Share on other sites
Guest major gandhi Posted June 11, 2004 it works now. both vert_speed and normal speed. but the thing with the negative speed is still a problem. i will correct it later. thx for your help Share this post Link to post Share on other sites