Oolite Bulletins

For information and discussion about Oolite.
It is currently Mon Dec 17, 2018 7:17 am

All times are UTC




Post new topic  Reply to topic  [ 72 posts ]  Go to page 1 2 3 4 5 Next
Author Message
 Post subject: Library
PostPosted: Fri Jul 22, 2016 4:28 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2361
Image

Reinventing the wheel is not everybodys taste, so here comes a collection of useful snippets and helpers. Its main purpose is to simplify or unify some common tasks used by OXPers. Library is the successor to CCL, Hyperradio and OXPConfig. The library does not alter any native JS objects (like Array or String) to avoid clashes and does not clutter the global namespace.

[EliteWiki] Library (or the WIKI-Backup Library)

Some key features:
  • Lib_Config.js - Configuration interface. Replaces OXPConfig. Supports multiple entries and path handling.
  • Lib_GUI.js - Unified GUI image, sound and music handling. It allows multiple background AddOns to be installed. Users may switch between them.
  • Lib_Music.js - Unified event driven music handling. Replaces Hyperradio.

_________________
Erm, ehh, oh! OXPs


Last edited by Svengali on Mon Feb 19, 2018 9:13 pm, edited 2 times in total.

Top
   
 Post subject: Re: Library
PostPosted: Mon Aug 08, 2016 11:44 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2361
New versions for Library and BGS .-) I guess they are ready for release, but we'll see.


Top
   
 Post subject: Re: Library
PostPosted: Sat Aug 13, 2016 10:16 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 13408
Location: Corke's Drift
Only just back in the saddle - good to see settings now persisting. Muchas gracias!

_________________
Those who seek gold dig a lot of earth, but find little


Top
   
 Post subject: Re: Library
PostPosted: Sun Aug 14, 2016 10:36 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2361
Quote:
Only just back in the saddle - good to see settings now persisting. Muchas gracias!
Yep. I've removed the 'force defaults' thing in BGS. It was time to do it...


Top
   
 Post subject: Re: Library
PostPosted: Thu Aug 18, 2016 3:11 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Fri Feb 01, 2013 7:44 am
Posts: 270
Location: Indian Hills, Nevada, USA
For years I've had some changed images and sounds for this set. I've updated them to match the new set. I figure people might like them, so I've uploaded them.

The screens have a bit of the "legend" icons showing the relative order of government and economy types, as well as a function key menu with English labels (the old menu from the previous BGS set but with text added by myself -- now blended over the new backgrounds nicely). Here's a 16:10 screenshot: http://www.keeper1st.com/Oolite/bgsexample.png

For the sounds, I replaced the "Item Sold" and "Item Bort" (?!) with nice little chimes (can't remember where they came from -- original Oolite?), changed things like "Ortopilot activated" into "Autopilot activated", trimmed some dead air (e.g. so instead of "missile......armed" it's "missile armed"), removed all instances of Majel Barrett from Star Trek (nothing against the late Ms Barrett or Star Trek; I just think the second voice is unnecessary), and greatly changed the extremely long and drawn-out game-over sound into a rather rapid explosion then sudden expulsion of air into silence, which is rather more shocking and realistic.

You're free to add them to the pack if you like.
http://www.keeper1st.com/Oolite/bgs2changedimages.zip
http://www.keeper1st.com/Oolite/bgs-editedsounds.zip


Last edited by Keeper on Fri Sep 02, 2016 12:49 am, edited 1 time in total.

Top
   
 Post subject: Re: Library
PostPosted: Thu Aug 18, 2016 10:07 pm 
Offline
Commodore
Commodore
User avatar

Joined: Tue Jan 21, 2014 10:37 pm
Posts: 2225
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...
Small bug:
Code:
07:14:03.092 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (Lib_EntityStrength 1.0): TypeError: s is null
07:14:03.092 [script.javaScript.exception.unexpectedType]:       ../AddOns/Testing.oxp/Library1.0.oxp/Library1.0.oxp/Scripts/Lib_EntityStrength.js, line 47.

_________________
My OXP's
YouTube: Oolite Teaser Trailer


Top
   
 Post subject: Re: Library
PostPosted: Fri Aug 19, 2016 3:13 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2361
Quote:
Small bug:
Oh, yes. I need to guard it. Muchas gracias.


Top
   
 Post subject: Re: Library
PostPosted: Sun Aug 21, 2016 2:43 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2361
New version online.

Changes:
  • Lib_EntityStrength - Guarded check - although a bit undertested atm.
  • Lib_GUI - Added suffixes for alertConditionRed and hudAllowsBigGui and handling for mission.exitScreen which doesn't trigger guiScreenChanged.
  • lib_fx - Attempt to avoid sunglare popping in (with BGS jump and docking sequence).
I've also changed the BGS jump shader a bit.

@Keeper - Just grabbing it .-)


Top
   
 Post subject: Re: Library
PostPosted: Sun Aug 21, 2016 3:08 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 13408
Location: Corke's Drift
Quote:
I've also changed the BGS jump shader a bit.
Indeed! Certainly different, amigo - if only that old momentary stutter could be removed.

I always swap the BGS buy/sell .oggs for Oolite's defaults, btw - BGS's are too long.

_________________
Those who seek gold dig a lot of earth, but find little


Top
   
 Post subject: Re: Library
PostPosted: Fri Sep 02, 2016 12:48 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Fri Feb 01, 2013 7:44 am
Posts: 270
Location: Indian Hills, Nevada, USA
I just realized that the zip file of the edited images I uploaded was the wrong one. That was for the old set. The images for the new set are at http://www.keeper1st.com/Oolite/bgs2changedimages.zip


Top
   
 Post subject: Re: Library
PostPosted: Fri Sep 02, 2016 9:07 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2361
Quote:
if only that old momentary stutter could be removed.
Try - http://aegidian.org/bb/viewtopic.php?f= ... 52#p251252. For me it solved it.

@Keeper: *grins, grab*


Top
   
 Post subject: Re: Library
PostPosted: Fri Sep 02, 2016 10:22 am 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 13408
Location: Corke's Drift
Tried that a while back, and tried it again just now - no luck.

_________________
Those who seek gold dig a lot of earth, but find little


Top
   
 Post subject: Re: Library
PostPosted: Wed Oct 05, 2016 1:55 pm 
Offline
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
User avatar

Joined: Sat Jul 04, 2009 9:31 pm
Posts: 13408
Location: Corke's Drift
This popped up:
Code:
14:40:00.123 [script.javaScript.exception.notFunction]: ***** JavaScript exception (<unidentified script>): TypeError: pos.normalize is not a function
14:40:00.123 [script.javaScript.exception.notFunction]:       ../AddOns/Library1.0.oxp/Scripts/lib_fx.js, line 57.

_________________
Those who seek gold dig a lot of earth, but find little


Top
   
 Post subject: Re: Library
PostPosted: Mon Oct 10, 2016 3:52 pm 
Offline
---- E L I T E ----
---- E L I T E ----

Joined: Thu Aug 27, 2015 4:24 pm
Posts: 318
When i look at the animation demo i am wondering if library could be used to simulate 'screensaver mode' ?

loading the data from a random system/planet (size and texture) and displaying it like the animation demo displays
the 'moon' preferable with the current planet shader :)


Top
   
 Post subject: Re: Library
PostPosted: Tue Oct 11, 2016 2:58 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Oct 20, 2007 2:52 pm
Posts: 2361
Quote:
This popped up:
It's already gone in the last WIP-version. Still - thanks a lot, Cody .-)
Quote:
When i look at the animation demo i am wondering if library could be used to simulate 'screensaver mode'?
I doubt it. missionscreens are rather limited (no multipass, no blending, etc.) atm.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 28 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:
Powered by phpBB® Forum Software © phpBB Limited