Oolite Bulletins
http://www.aegidian.org/bb/

Library
http://www.aegidian.org/bb/viewtopic.php?f=4&t=18248
Page 1 of 5

Author:  Svengali [ Fri Jul 22, 2016 4:28 pm ]
Post subject:  Library

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.

Author:  Svengali [ Mon Aug 08, 2016 11:44 am ]
Post subject:  Re: Library

New versions for Library and BGS .-) I guess they are ready for release, but we'll see.

Author:  Cody [ Sat Aug 13, 2016 10:16 pm ]
Post subject:  Re: Library

Only just back in the saddle - good to see settings now persisting. Muchas gracias!

Author:  Svengali [ Sun Aug 14, 2016 10:36 pm ]
Post subject:  Re: Library

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...

Author:  Keeper [ Thu Aug 18, 2016 3:11 am ]
Post subject:  Re: Library

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

Author:  phkb [ Thu Aug 18, 2016 10:07 pm ]
Post subject:  Re: Library

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.

Author:  Svengali [ Fri Aug 19, 2016 3:13 pm ]
Post subject:  Re: Library

Quote:
Small bug:
Oh, yes. I need to guard it. Muchas gracias.

Author:  Svengali [ Sun Aug 21, 2016 2:43 pm ]
Post subject:  Re: Library

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 .-)

Author:  Cody [ Sun Aug 21, 2016 3:08 pm ]
Post subject:  Re: Library

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.

Author:  Keeper [ Fri Sep 02, 2016 12:48 am ]
Post subject:  Re: Library

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

Author:  Svengali [ Fri Sep 02, 2016 9:07 am ]
Post subject:  Re: Library

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*

Author:  Cody [ Fri Sep 02, 2016 10:22 am ]
Post subject:  Re: Library

Tried that a while back, and tried it again just now - no luck.

Author:  Cody [ Wed Oct 05, 2016 1:55 pm ]
Post subject:  Re: Library

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.

Author:  cbr [ Mon Oct 10, 2016 3:52 pm ]
Post subject:  Re: Library

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 :)

Author:  Svengali [ Tue Oct 11, 2016 2:58 pm ]
Post subject:  Re: Library

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.

Page 1 of 5 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/