Home   Help Search Login Register  

Author Topic: Custom Altimeter!  (Read 565 times)

0 Members and 1 Guest are viewing this topic.

ShadowD BOB

  • Guest
Custom Altimeter!
« on: 22 Nov 2002, 02:39:45 »
Hey, i was wondering is it poss to put an altimeter onto a player, like the one on a heli.  If this is poss can u change the altimeter so that it shows text in the middle of the screen showing your altitude?

Any help, would be appreciated!

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Custom Altimeter!
« Reply #1 on: 22 Nov 2002, 12:02:33 »
you can script it like this, but it will annoy you with the sound

#loop
_alt = getpos player select 2
Hint format ["Altitude: %1",_alt]
~0.1
?getpos player select 2 > 1 : goto "loop"
exit

or you could use titletext instead but it flickers because of the loop

#loop
_alt = getpos player select 2
Titletext [Format ["Altitude %1", _alt],"Plain Down",0]
~0.1
?getpos player select 2 > 1 : goto "loop"
exit

ShadowD BOB

  • Guest
Re:Custom Altimeter!
« Reply #2 on: 22 Nov 2002, 13:54:09 »
Thx alot Black_Feather worked a treat, your right the sound is annoying lol, but the text one works great. I got round the flickering (well its not as bad now) by reducing the loop time from 0.1 to 0.02.

Thx Again.