Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: BengalTiger on October 04, 2011, 07:56:45 am

Title: HUD speed and distance display hacks
Post by: BengalTiger on October 04, 2011, 07:56:45 am
Would it be possible to change the HUD so that it displays the player's speed and distance to targets multiplied by something?

As in setting the multiplier to 10 so the player sees 1500 on the display when he/she is going 150 m/s and is 40000 when he/she is 4000 meters away from the targeted object.

I'd make this little experiment if these hacks are doable.
Title: Re: HUD speed and distance display hacks
Post by: headdie on October 04, 2011, 08:14:05 am
Would it be possible to change the HUD so that it displays the player's speed and distance to targets multiplied by something?

As in setting the multiplier to 10 so the player sees 1500 on the display when he/she is going 150 m/s and is 40000 when he/she is 4000 meters away from the targeted object.

I'd make this little experiment if these hacks are doable.

I believe this has been done, or at least attempted before by scripting so it might be worth hunting around that sub-board
Title: Re: HUD speed and distance display hacks
Post by: The E on October 04, 2011, 08:16:16 am
lrn2wiki.

http://www.hard-light.net/wiki/index.php/Hud_gauges.tbl#.24Length_Unit_Multiplier:
http://www.hard-light.net/wiki/index.php/Hud_gauges.tbl#.24Speed_Unit_Multiplier:
Title: Re: HUD speed and distance display hacks
Post by: BengalTiger on October 04, 2011, 08:45:43 am
Cool, thanks.
Title: Re: HUD speed and distance display hacks
Post by: JGZinv on October 04, 2011, 11:33:26 am
One of those doesn't work, speed multiplier I do believe, unless it's since been fixed.

Refer - http://www.hard-light.net/forums/index.php?topic=66876.msg1321582#msg1321582

Zacam as of January '11 told me it was broken, and what we needed for the distance modifier to be capable of displaying
hundredths probably wasn't going to be possible.

This is yet another thing I'm going to have to update our feature request list with...
Title: Re: HUD speed and distance display hacks
Post by: BengalTiger on October 04, 2011, 02:37:52 pm
Well I'll play around with it, maybe I'll get it to work but the display will show with 10 m resolution or something....