Page 1 of 2
moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 1:44 pm
by Yodeebe
Sorry, me again!
I saw once a screenshot where all the onscreen messages were off to one side, so didn't obstruct the main view.
I've got no idea where to start looking. anyone care to point me in the right direction? thanks.
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 2:00 pm
by Cody
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 2:05 pm
by Yodeebe
Fank U
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 2:19 pm
by Yodeebe
errrrr [idiot alert!]
soooo, it says make a config folder, but i've got one already, so should I copy the hud oxp into the existing config folder?
and in leave the original one in the addons folder?
then theres:
equipment.plist
milhudcrit.plist
milhuddock.plist
milhudgreen.plist
milhudred.plist
milhudyellow.plist
presumably from the new annimated huds thing.
should I add the extra info to all 3, green yellow & red hud.plist's?
or would someone be able to email me a funky hud where it's all been done already?
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 2:26 pm
by Cody
Yodeebe wrote:soooo, it says make a config folder, but i've got one already, so should I copy the hud oxp into the existing config folder?
Yes, that should work.
Yodeebe wrote:
equipment.plist
milhudcrit.plist
milhuddock.plist
milhudgreen.plist
milhudred.plist
milhudyellow.plist
No idea how it works with switchable huds... try it and see.
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 2:32 pm
by Yodeebe
ok, so I'll leave the original hud oxp in addons & send a copy to config,
then add the extra bit to green hud & yellow (and red?) but not crit(ical) or dock.
here we go!
no doubt there'll be wires hanging out all over the cockpit in a minute.
"now shall i cut the red wire.......... or the blue wire?"
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 2:50 pm
by Yodeebe
nope.
did that on red, yellow & green. shift'd while loading game.
no apparent difference. :/
sure i'm meant to leave the original oxp in addons?
Is there no huds available with this done as standard? it seems a fairly universal requirement, not to have messages blocking everything.
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 3:21 pm
by Yodeebe
Ok, poking around in various HUD's plists, and all the non active huds seem to have a 'message gui' bit in them, which I could probably work out, but I can't find any reference to 'message gui' in any of the active huds.
have the messages been moved to part of the core game or something?
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 4:18 pm
by Svengali
Simply copy&paste things... E.g. CSOTBs NumericHUD ships these entries.
Oolite uses default values if not specified.
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 5:59 pm
by CommonSenseOTB
Yodeebe wrote:nope.
did that on red, yellow & green. shift'd while loading game.
no apparent difference. :/
sure i'm meant to leave the original oxp in addons?
Is there no huds available with this done as standard? it seems a fairly universal requirement, not to have messages blocking everything.
Rule of thumb: Always work with a copy.
If you have two copies of an oxp in the addons folder and make changes to one, you will get interferance between them and the changes probably won't work.
Rule for sanity: Only have one copy of an oxp in your addons folder.
The code you want for the comms GUI and the message GUI can quite easily be found in Captain Beatnik's CB HUD. They are lined up on the left and right sides of the screen in this hud and won't be in your way or scroll up over the sights while in combat.
If you are copy and pasting, just to state again for the benefit of new users that may read this, NEVER use notepad as this can corrupt the file. Always use a decent editor like Notepad++ as it is free and works perfect for editing oxps.
Have fun with that and soon you'll have a hud that is just right for you!
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 6:50 pm
by Yodeebe
CommonSenseOTB wrote:
Rule of thumb: Always work with a copy.
I did. copied first, & removed the original to desktop.
CommonSenseOTB wrote:
If you have two copies of an oxp in the addons folder and make changes to one, you will get interferance between them and the changes probably won't work.
the confusion (still not answered) is that it says in the above link:
"Create a config folder in your AddOns folder, and C&P the core hud.plist into it. Then add this code snippet at the bottom of the new hud.plist in the new config folder:"
so, copy & paste, or cut & paste? don't get it, sorry.
CommonSenseOTB wrote:Rule for sanity: Only have one copy of an oxp in your addons folder.
can oxp's exist in the config folder, & still work?
CommonSenseOTB wrote:The code you want for the comms GUI and the message GUI can quite easily be found in Captain Beatnik's CB HUD. They are lined up on the left and right sides of the screen in this hud and won't be in your way or scroll up over the sights while in combat.
Yeah, I found that one. looks cool, but can it be applied to the new 'switching' huds?
CommonSenseOTB wrote:If you are copy and pasting, just to state again for the benefit of new users that may read this, NEVER use notepad as this can corrupt the file. Always use a decent editor like Notepad++ as it is free and works perfect for editing oxps.
tis ok. i'm on textedit on a mac. cheers tho.
CommonSenseOTB wrote:Have fun with that and soon you'll have a hud that is just right for you!
doesn't appear to be happening
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 6:58 pm
by Cody
Yodeebe wrote:the confusion (still not answered) is that it says in the above link:
"Create a config folder in your AddOns folder, and C&P the core hud.plist into it. Then add this code snippet at the bottom of the new hud.plist in the new config folder:"
so, copy & paste, or cut & paste? don't get it, sorry.
Copy the core (Oolite) hud.plist, and paste it into your existing config folder within AddOns. Modify that hud.plist according to the code snippet in the instructions. If your switchable hud doesn't specify a position for the messages, then Oolite will use the modified hud.plist from your config folder... I hope.
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 7:40 pm
by Yodeebe
El Viejo wrote:Yodeebe wrote:the confusion (still not answered) is that it says in the above link:
"Create a config folder in your AddOns folder, and C&P the core hud.plist into it. Then add this code snippet at the bottom of the new hud.plist in the new config folder:"
so, copy & paste, or cut & paste? don't get it, sorry.
Copy the
core (Oolite) hud.plist, and paste it into your existing config folder within AddOns. Modify that hud.plist according to the code snippet in the instructions. If your switchable hud doesn't specify a position for the messages, then Oolite will use the modified hud.plist from your config folder... I hope.
Ahh, got you. 'core' being core game , not, the main hud. didn't read it proper. sorry.
cheers.
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 7:42 pm
by Yodeebe
can you not just alter the 'x' & 'y' in the core hud.plist?
Re: moving the onscreen messages to the side
Posted: Sat Sep 24, 2011 7:47 pm
by CommonSenseOTB
Ok, Yodeebe, I see your problem. You want to change your version of a milhud.oxp so that the message and comms GUI are different but the actual code to do that isn't in each of the specific hud.plists. Therefore, you have to add the code needed to each of the hud.plists that is in the milhud.oxp you want to modify.
Here's what you do:
-Have only one copy of the milhud.oxp that you want to modify in your addons folder.
-copy and paste the message and comms gui code from cb hud into:
milhudcrit.plist(optional)
milhudgreen.plist
milhudred.plist
milhudyellow.plist
-done. Restart holding down shift. Enjoy. Have fun. Tweak as required.
Addendum: For sanity don't change anything in the games own files.