moving the onscreen messages to the side

General discussion for players of Oolite.

Moderators: another_commander, winston

User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

moving the onscreen messages to the side

Post by Yodeebe »

Sorry, me again! :D
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.
Image
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16055
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: moving the onscreen messages to the side

Post by Cody »

See this thread.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Re: moving the onscreen messages to the side

Post by Yodeebe »

Fank U
Image
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Re: moving the onscreen messages to the side

Post 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? :oops:
Image
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16055
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: moving the onscreen messages to the side

Post 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.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Re: moving the onscreen messages to the side

Post 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?"
Image
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Re: moving the onscreen messages to the side

Post 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.
Image
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Re: moving the onscreen messages to the side

Post 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?
Image
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: moving the onscreen messages to the side

Post by Svengali »

Simply copy&paste things... E.g. CSOTBs NumericHUD ships these entries.

Oolite uses default values if not specified.
User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: moving the onscreen messages to the side

Post 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! :)
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Re: moving the onscreen messages to the side

Post 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 :(
Image
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16055
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: moving the onscreen messages to the side

Post 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.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Re: moving the onscreen messages to the side

Post 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.
Image
User avatar
Yodeebe
---- E L I T E ----
---- E L I T E ----
Posts: 261
Joined: Mon Oct 13, 2008 7:32 pm
Location: Namab

Re: moving the onscreen messages to the side

Post by Yodeebe »

can you not just alter the 'x' & 'y' in the core hud.plist?
Image
User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: moving the onscreen messages to the side

Post 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.
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
Post Reply