I hope that I don't suggest something that isn't implemented yet
So, at the moment, we have the opportunity to easily insert custom backgrounds into the menus of Oolite (in the trunk version). That's great! But there's still a header which is, I think, hard coded and not easily changeable via an OXP.
To get an opportunity to make these headers more fancy (or disable them and add a navigation bar with tabs or whatnot) with a simple OXP, it'd be useful if you couldn't only set backgrounds, but also overlays/foregrounds for the menus.
Overlays for menus
Moderators: winston, another_commander
Err... in trunk you can set overlays as well as specific backgrounds for each screen.
Specifically, you can set one overlay for in-flight, and one for when docked.
Specifically, you can set one overlay for in-flight, and one for when docked.
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Headlines? You mean the bit at the top that would usually have 'Mission Information', 'Ship Outfitting' or 'Captain Jameson'?
You can already override those in 1.73.4 by changing what it says inside descriptions.plist for all the standard screen names, that's what translation packs do already.
In 1.74 you will have a new mission screen parameter (title / titleKey) that allows you to change 'Mission Information' to whatever you want it to be directly from javascript. Until then, the best you can do is change 'Mission Information' to ' ' inside descriptions.plist, then provide your own title as a background picture. The white line towards the top of the screen - the one nomally just underneath the writing - can't be removed, though.
I just had a look at screenbackgrounds.plist, and sure enough, I did put all the possible options there, complete with hopefully helpful comments:
mission_overlay, overlay, docked_overlay, paused_overlay, paused_docked_overlay.
You can already override those in 1.73.4 by changing what it says inside descriptions.plist for all the standard screen names, that's what translation packs do already.
In 1.74 you will have a new mission screen parameter (title / titleKey) that allows you to change 'Mission Information' to whatever you want it to be directly from javascript. Until then, the best you can do is change 'Mission Information' to ' ' inside descriptions.plist, then provide your own title as a background picture. The white line towards the top of the screen - the one nomally just underneath the writing - can't be removed, though.
I just had a look at screenbackgrounds.plist, and sure enough, I did put all the possible options there, complete with hopefully helpful comments:
mission_overlay, overlay, docked_overlay, paused_overlay, paused_docked_overlay.
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Sorry, I think I was a bit fuzzy. I don't intend to change the text in terms of changing the letters, but replace the whole thing (including the underline) with a graphic.
I didn't know that you can set the headline to ' ', though. That's pretty useful. Now I just need to cope with the white bar
Thanks
Edit:
I just noticed that the HUD can overlay the white bar if it's set to alpha 1 (at least in 1.74).
I didn't know that you can set the headline to ' ', though. That's pretty useful. Now I just need to cope with the white bar
Thanks
Edit:
I just noticed that the HUD can overlay the white bar if it's set to alpha 1 (at least in 1.74).