[Release] Digital ETA Display oxp

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

[Release] Digital ETA Display oxp

Post by spara »

Here's a small oxp for those that like the digital ETA display I did a while ago.

Note that it requires a little bit of editing when used with custom huds.

Code: Select all

Digital Eta Display OXP ver 1.0 (14.12.2013)

Author: spara (Mika Spåra)

_Description_

* Show ETA to compass target in the hud. Requires Advanced Space Compass to operate.
* Three modes that can be toggled by setting the variable this.$mode in the script. (Config/script.js)
	* mode 0, show eta on condition yellow and green (default)
	* mode 1, show eta on condition green
	* mode 2, show eta on torus drive	

This oxp contains the default huds enhanced with the digital eta display. In addition there is a dials_for_hud.txt file that contains the dials required for the ETA to be copy pasted into any custom hud. Just open the hud file of your favorite custom hud and copy the contents from the dials_for_hud.txt into the dials section.

Instructions for custom huds:

* delete or rename hud.plist and hud-small.plist from this oxp
* open the hud definitions file (plist) from the Config folder of the custom hud. For simple huds it's hud.plist, for complex ones something else.
* copy the contents of the dials_for_hud.txt file into the dials section.
* save the file and start the game with holding shift.

Notes:

* If you are using UpdatingTSC, you might want to set this.$mode = 0 in UpdatingTSC's script to stop it from showing eta constantly.

_Installing_

Install the OXP by copying digital_eta_display.oxp to your AddOns-folder.

_Credits_

* Huds included are the default ones from Oolite.
* Digital display originally introduced by CommonSenseOTB
Image
Heading for the sun. Long way to go...

Download: https://app.box.com/s/i2vcaxw84rnit7rx44d5

Enjoy.
User avatar
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2688
Joined: Thu Jun 20, 2013 10:22 pm
Location: On the moon Thought, orbiting the planet Ignorance.

Re: [Release] Digital ETA Display oxp

Post by Redspear »

Great! :D

Can the numbers be made a little smaller? Is this something that can be easily customised?

Thanks.
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: [Release] Digital ETA Display oxp

Post by spara »

Redspear wrote:
Great! :D

Can the numbers be made a little smaller? Is this something that can be easily customised?

Thanks.
Yes they could, but it would require fair amount of tedious work :( . The size used is the same as in the numeric hud.
User avatar
Redspear
---- E L I T E ----
---- E L I T E ----
Posts: 2688
Joined: Thu Jun 20, 2013 10:22 pm
Location: On the moon Thought, orbiting the planet Ignorance.

Re: [Release] Digital ETA Display oxp

Post by Redspear »

spara wrote:
Redspear wrote:
Great! :D

Can the numbers be made a little smaller? Is this something that can be easily customised?

Thanks.
Yes they could, but it would require fair amount of tedious work :( . The size used is the same as in the numeric hud.
Don't worry about it mate, I'll just use mode 2 (I don't mind the size then 8) )...
Besides, I'd rather you spend your time on all that cool face-lift stuff.
Thanks :D
Post Reply