Oolite Bulletins

For information and discussion about Oolite.
It is currently Fri Nov 17, 2017 9:13 pm

All times are UTC




Post new topic  Reply to topic  [ 71 posts ]  Go to page Previous 1 2 3 4 5 Next
Author Message
PostPosted: Tue Jul 18, 2017 8:30 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 412
Quote:
Getting many of those with the latest version:
Code:
21:54:04.753 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (DangerousHUD 1.3): TypeError: player.shiplayer is undefined
21:54:04.753 [script.javaScript.exception.unexpectedType]:       ../AddOns/gsagostinho.DangerousHUD.OrangeVariant.oxp/Config/script.js, line 114.
Thanks, already fixed and uploaded a fixed version.


Top
   
PostPosted: Mon Jul 24, 2017 10:52 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 412
Important note: I have update all my OXPs to the in-game extension download manager, so I am removing the links from all my posts. Please use the manager and report here any issues. There you will find all four colour variants as well as the keyconfig OXP.


Top
   
PostPosted: Fri Aug 04, 2017 4:03 pm 
Offline
Deadly
Deadly

Joined: Tue Mar 24, 2009 1:29 pm
Posts: 248
Location: london, uk
This HuD looks absolutely amazing!

I'm running Oolite 1.82 on Linux Mint 18.1. The Dangerous HuD OXZ is greyed out in the in-game expansion manager. Any way of getting hold of this HuD for stable Oolite (either 1.82 or 1.84)?

Many thanks and congratulations on a great HuD!

_________________
Oolite Galaxies Trade Route Timekeeper v06


Top
   
PostPosted: Fri Aug 04, 2017 4:22 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 412
Quote:
This HuD looks absolutely amazing!

I'm running Oolite 1.82 on Linux Mint 18.1. The Dangerous HuD OXZ is greyed out in the in-game expansion manager. Any way of getting hold of this HuD for stable Oolite (either 1.82 or 1.84)?

Many thanks and congratulations on a great HuD!
Thank you so much, lfnfan, I am glad you like it :D

About using it with an older Oolite version, this HUD uses some features available only for Oolite version 1.85 (the in-development version). If you want to try it on 1.84 or lower, do the following (but notice that some features might not work well/at all):

* first download the OXZ file from one these links (each for one of the colour variants): orange, green, blue, pink.
* rename the .oxz extension into .zip extension and extract the contents into a folder.
* rename the foldder as Gsagostinho.DangerousHUD.oxp (or anything really, as long as the folder ends with ".oxp")
* copy this folder into ~/.Oolite/Addons (since you are on Linux as well)
* edit the manifest.plist file and change the required version from 1.85 to whatever suits you.
* hold down the SHIFT key on your keyboard and start the game. Only release this key once you see the spinning Cobra in the main menu.

Please report here if you have any troubles, ok?


Top
   
PostPosted: Fri Aug 04, 2017 4:39 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 5011
This OXP is tagged in its manifest as 1.85-only. There is a way to get it to run in 1.84/1.82, but it is extremely hackish and involves editing of files that you would normally not want to mess with. Plus, the HUD in 1.84/1.82 does not work as intended, as it uses features present only in the latest dev version (which, by the way, is much, much more stable than 1.84 and - to an even greater extend - 1.82). So my suggestion would be to download current nightly for Linux and install it alongside your 1.82 version, then install that HUD there and see how you like the overall look of the new version too.

If you still want to go with the not-so-stable and unsuppoted 1.82, this is what you must do. Not sure of the exact paths for the files mentioned below on Linux, so I'll just name them without giving any full paths and other Linux users may be able to pinpoint exact locations. Using the blue variant as example.
1. Download the latest OXP list from the Expansion Pack Manager, then exit the game.
2. Find the file named Oolite-manifests.plist in the Caches folder.
3. Find the entry for the Dangerous HUD inside that file by opening it in a text editor..
4. Change the key that reads required_oolite_version = 1.85; to required_oolite_version = 1.82;
5. Launch the game, go to Expansion Packs Manager and now the Dangerous HUD OXP will be downloadable.
6. Download the OXP, select it and press "x". This will extract its contents to the standard AddOns folder, under the filename gsagostinho.DangerousHUD.BlueVariant-1.3.off.
7. Remove the OXZ format using the Remove OXP function of the Manager.
8. Rename gsagostinho.DangerousHUD.BlueVariant-1.3.off to gsagostinho.DangerousHUD.BlueVariant-1.3.oxp.
9. Inside the gsagostinho.DangerousHUD.BlueVariant-1.3.oxp folder, find the manifest.plist file and open it in an editor.
10. Repeat the action mentined at step 4 (bring the required Oolite version down to 1.82).
11. Launch game, you should now have the HUD available. But be aware that its functionality with this version is limited, although I think the game would still be playable.

Hope this helps.
Edit: Ninja'd of course :=)


Top
   
PostPosted: Fri Aug 04, 2017 5:01 pm 
Offline
Deadly
Deadly

Joined: Tue Mar 24, 2009 1:29 pm
Posts: 248
Location: london, uk
Thanks gsagostinho and a_c.

Hacking 1.82, 84 looks more tricky than installing 1.85 (even with the step-by-step)! I will venture into the world of nightly builds.
8) :D

_________________
Oolite Galaxies Trade Route Timekeeper v06


Top
   
PostPosted: Fri Aug 04, 2017 5:06 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 412
@another_commander thank you so much for the proper instructions, I just wrote that from the top of my head on how I would attempt it.
@lfnfan if you want to try 1.85, it's actually quite easy to install it on Linux Mint 18. Download the most current Linux nightly from here, extract and run the installer and that's it!


Top
   
PostPosted: Fri Aug 04, 2017 5:12 pm 
Offline
Deadly
Deadly

Joined: Tue Mar 24, 2009 1:29 pm
Posts: 248
Location: london, uk
Nice. Even I can manage that! :lol:

_________________
Oolite Galaxies Trade Route Timekeeper v06


Top
   
PostPosted: Fri Aug 04, 2017 5:21 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 412
Note that the 1.85 version can co-exist with your stable one, and you will probably have two entries in your applications menu: "Oolite" for the 1.82 or 1.84 and "Oolite-Trunk" for 1.85.


Top
   
PostPosted: Tue Aug 08, 2017 9:15 pm 
Offline
Deadly
Deadly

Joined: Tue Mar 24, 2009 1:29 pm
Posts: 248
Location: london, uk
1.85 Trunk running nicely, and very much enjoying Dangerous HuD.

_________________
Oolite Galaxies Trade Route Timekeeper v06


Top
   
PostPosted: Tue Aug 08, 2017 9:54 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 412
@lfnfan Great to hear that! :D


Top
   
PostPosted: Mon Aug 14, 2017 8:14 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 412
Hi all, I have just uploaded version 1.4 to the extension manager. It includes a new "hauler mode", which is a different cockpit than the default one. As the name suggest, this is more suited to hauler ships. Activate it by priming the Dangerous HUD first and cycling between default, hauler and glass-only modes. Screenie:

Image

Changelog for version 1.4:

- merging improvements made by phkb on his Xenon HUD (version 1.5.4).
- added hauler cockpit mode.
- flipped glass on side and aft (cockpit) views so that the glass dirt doesn't match when switching views.


Top
   
PostPosted: Wed Aug 16, 2017 11:00 pm 
Offline
Competent
Competent

Joined: Fri Mar 17, 2017 1:49 am
Posts: 62
Nice HUD, now my default. A couple of observations:

- HUDselector integration is incomplete. When used to access your HUD, I was missing crosshairs & clock. I fixed that by entering
Code:
worldScripts.DangerousHUD.shipWillLaunchFromStation()
into debug console. You need more than shipExitedWitchspace() in $HUDSelectorCallBack(), as I wasn't being awarded the equipment.
Another benefit for you accessing via HUDselector is you'll see your HUD is not nearly the slowest :) I gained ~10 fps in switching.

- having your oxz in ManagedAddOns folder changes the highlight text colour in pre-game menus from red to blue! (I'm using your blue variant)

Image

I think it looks better w/ the XenonUI I'm using, but enquiring minds want to know, how'd you do it?

_________________
"Better to be thought a fool, boy, than to open your trap and remove all doubt." - Grandma [over time, just "Shut your trap... fool"]
"The only stupid questions are the ones you fail to ask." - Dad
How do I...? Nevermind.


Top
   
PostPosted: Wed Aug 16, 2017 11:18 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 412
Hi cag,
Quote:
Nice HUD, now my default.
Happy to hear that, many thanks 8)
Quote:
A couple of observations:

- HUDselector integration is incomplete. When used to access your HUD, I was missing crosshairs & clock. I fixed that by entering
Code:
worldScripts.DangerousHUD.shipWillLaunchFromStation()
into debug console. You need more than shipExitedWitchspace() in $HUDSelectorCallBack(), as I wasn't being awarded the equipment.
Another benefit for you accessing via HUDselector is you'll see your HUD is not nearly the slowest :) I gained ~10 fps in switching.
I will take a look at this. I noticed that the crosshair is sometimes missing on my slower computer, but I assumed it wasn't powerful enough to run the script in time. I will investigate what you wrote, many, many thanks!!
Quote:
- having your oxz in ManagedAddOns folder changes the highlight text colour in pre-game menus from red to blue! (I'm using your blue variant)

Image

I think it looks better w/ the XenonUI I'm using, but enquiring minds want to know, how'd you do it?
Well, that's a feature, not a bug :D I intentionally override the text colour in the menus as to create a kind of theme, and the currently highlighted text is always the inverted color (black text, theme colour as highlight). Some text cannot be overwritten (in yoru screenshot, the Return to Menu is an example). If you don't like what this HUD does to the GUI, simply remove the gui-settings.plist file from the Config subfolder inside the oxz file.


Top
   
PostPosted: Wed Aug 16, 2017 11:28 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 412
Quote:
- HUDselector integration is incomplete. When used to access your HUD, I was missing crosshairs & clock. I fixed that by entering
Code:
worldScripts.DangerousHUD.shipWillLaunchFromStation()
into debug console. You need more than shipExitedWitchspace() in $HUDSelectorCallBack(), as I wasn't being awarded the equipment.
Another benefit for you accessing via HUDselector is you'll see your HUD is not nearly the slowest :) I gained ~10 fps in switching.
cag, would you be able to help me with this? What concrete changes do I need to do to the script.js file? The function $HUDSelectorCallBack() does contain more than shipExitedWitchspace(), it has for instance shipWillLaunchFromStation(). I am a bit lost on what you did change.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 71 posts ]  Go to page Previous 1 2 3 4 5 Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited