Page 1 of 1

[HUD Dev] Display current system and tech level?

Posted: Thu Apr 20, 2017 7:49 am
by pleiadian
I'm still doing some tweaks to my DeeperSpace HUD, and I'm trying to figure out how to acquire variables such as the name and TL of the system you are in at this time. I know through JS there appears to be the variable system.name (seen this in Navigation MFD), but I'm not quite sure how to "grab" it for display in my HUD, for example with drawCustomText.

Any pointers would be appreciated.

Re: [HUD Dev] Display current system and tech level?

Posted: Thu Apr 20, 2017 9:52 am
by Norby
Set the data source with setCustomHUDDial.

If you need alignment support also then look into the end of Config/script.js in CombatMFD.oxz where the $setData function offer a solution.