Page 2 of 4

Re: Cabal_Common_Library

Posted: Fri Jul 15, 2011 8:33 pm
by m4r35n357
Has anyone given any thought to making this lib part of the core game? It would encourage its use, and be less of an imposition on users to install it themselves.

Re: Cabal_Common_Library

Posted: Sat Jul 16, 2011 6:45 am
by Zireael
m4r35n357 wrote:
Has anyone given any thought to making this lib part of the core game? It would encourage its use, and be less of an imposition on users to install it themselves.
Seconded.

Re: Cabal_Common_Library

Posted: Sat Jul 16, 2011 4:17 pm
by Svengali
m4r35n357 wrote:
Has anyone given any thought to making this lib part of the core game? It would encourage its use, and be less of an imposition on users to install it themselves.
Personally I think CCL is strictly OXP related and Oolite itself doesn't need it. Additionally the methods are in some cases not flexible/fast enough for a 'official' lib and would need a overhaul to qualify for a Oolite lib. And shifting the work from OXPers to the devs is maybe another point to leave it as it is. What I really would like to see is a OXP-Manager, probably a 3rd party app, which updates/enables/disables OXPs based on the infos in Info.plist, requires.plist, RSS or whatever.

btw: Yesterday I've spent some time with Cabal_Common_Briefing to make the fcbSetBinding() working as intended. The next step will be to think about other ways of bindings, but I'm not that familiar with the Math behind it, so it may take some time .-)

Re: Cabal_Common_Library

Posted: Tue Jul 26, 2011 6:07 pm
by Svengali
Cabal_Common_Library1.4.4 is online.

Changes:
- Briefing - new getOri
- Briefing - new getPos
- Briefing - new prepareBindings
- Briefing - new prepareOrientations
- Briefing - new preparePositions
- Briefing - new prepareProps
- Cabal_Common - new strNLZ()
- Cabal_Common - new arrShuffle()

Additionally this version ships a testversion of Cabal_Common_OXPStrength.js.
It is deactivated (this.testFeatures = false;), but you can change this if you want to test it.

Re: Cabal_Common_Library

Posted: Wed Aug 10, 2011 2:54 pm
by Svengali
Cabal_Common_Library1.4.5 is online.

Changes:
- new Cabal_Common_Music, a helper for event driven mission music.
- new doc for Cabal_Common_Music.

Cabal_Common_Strength (still WIP preview for OXPers):
- added GJump for galactic jumps.
- added binary search for excluded entities.
- further tweaks on the suspend mechanism.

Re: Cabal_Common_Library

Posted: Sat Dec 17, 2011 12:24 am
by Svengali
Cabal_Common_Library1.5 is online.

Changes:
- Added Disclaimer
- Cabal_Common_Strength is finalized
- Cleanup Cabal_Common_Comms, Cabal_Common_Music
- Docs updated
- New Cabal_Common_SpecialMarkets
- New cargopods
- Reduced missionVariables ingame
- Timer behaviour changed

Re: Cabal_Common_Library

Posted: Fri Dec 23, 2011 11:17 pm
by Okti

Code: Select all

	"ccl_crateB" = {
		ai_type = "dumbAI.plist";
		like_ship = "ccl_crateA";
		materials = {"ccl_crateB.png" = {diffuse_map = {"name"="ccl_crateB.png";}; normal_map = {"name"="ccl_crateB_n.png";}; specular_color = (0.1,0.1,0.1,1); shininess = 25; };};
		model = "ccl_crateB.dat";
		name = "Cargo container";
		roles = "cargopod 1t-cargopod ccl_crateB";
	};
Sure about role cargopod, that was a question about CCL overriding textures from other shipsets raised by Capt. Solo!

Any way merry Christmas and happy new year all

Re: Cabal_Common_Library

Posted: Sat Dec 24, 2011 12:36 pm
by Svengali
Okti wrote:
Sure about role cargopod, that was a question about CCL overriding textures from other shipsets raised by Capt. Solo!
No. CCL just adds to the pool of available cargopods. No overriding, no changing of other definitions. Otherwise every ship with standard roles would override all other definitions...

A example of an OXP which really overrides standard stuff is WonderWorm which redefines the standard ballturrets...

Re: Cabal_Common_Library

Posted: Sat Dec 24, 2011 1:33 pm
by Smivs
Svengali wrote:
A example of an OXP which really overrides standard stuff is WonderWorm which redefines the standard ballturrets...
I'm not sure what you mean, Svengali. The WonderWorm uses the standard 'core' ballturrets....the shipdata.plist entry (which is probably redundant I know) is just a c&p from the core game's shipdata, and the model and textures used are again the core ones, and indeed are not even included in the OXP.
If I have 'redefined' them it was un-intentional, and if you can enlighten me as to what you think I've done (and what problems it might cause) I'll take a look with a view to correcting any problem.


Edit :- I've just had a quick look, and it seems Svengali is right. I'd forgotten I had played around with these while making the OXP, and had left some changes in place which I'd forgotten about. Specifically, the colour of the plasma has changed as has the weapon energy. My bad!
WonderWorm v1.1 which corrects this is now available. Apologies for the error.

Re: Cabal_Common_Library

Posted: Sun Mar 25, 2012 8:06 pm
by Svengali
Cabal_Common_Library1.5.1 is online.

Changes:
- Raised internalVersion to 12.
- Info.plist added.
- Various tweaks and fixes.
- Docs updated.

Cabal_Common:
- New methods num2Prec(), strRandom(), strRandomInt(), strTrim(), screenChecks(), screenGCD(), screenAspect().

Cabal_Common_Briefing:
- method fcbFlightTo(), fcbModelVeloTo() added.
- action "clean", "flightTo" and "mVeloTo" added.
- action "continue" changed (returned value can be used as goto command).
- added second SoundSource.

New Cabal_Common_2DCollision:
- method boundingBox(), pointInPoly(), pointOnLine() and pointOnLineB().

New Cabal_Common_MissionHandling:
- Coordinate OXPs based on systems descriptions.

Re: Cabal_Common_Library

Posted: Mon May 28, 2012 2:32 pm
by Svengali
Cabal_Common_Library1.5.2 is online.

Changes:
- Various tweaks and fixes
- Preparations for v1.77

Additionally I've uploaded a demo for CCL_Music.

Re: Cabal_Common_Library

Posted: Mon May 28, 2012 2:45 pm
by Cody
Svengali wrote:
Cabal_Common_Library1.5.2 is online.
Thank you, sir!

Re: Cabal_Common_Library

Posted: Mon Jun 18, 2012 10:27 pm
by Svengali
Following the discussion about global namespace I've uploaded new versions for BGS-A, CCL, Hyperradio, OXPConfig, Snoopers and Vector -> Folder

The required change is minimal. If you've had used before

Code: Select all

this.myVar = new Cabal_Common();
it is now

Code: Select all

this.myVar = new worldScripts.Cabal_Common_Functions.Cabal_Common();
The old versions have been moved in a extra folder.

Announcing, Wiki and docs updates will be done when the DNS stuff is completed.

A big thanks to m4r35n357 this time. Furball and Factions are already prepared and updated.

Re: Cabal_Common_Library

Posted: Wed Jun 20, 2012 9:22 pm
by Svengali
v1.6 is online.

Changes:
- Changed namespace for Cabal_Common, Cabal_Common_BinSearch, Cabal_Common_2DCollision, Cabal_Common_ScreenFCB and Cabal_Common_OXPStrengthAPI
- Cabal_Common_Briefing clears now all former framecallbacks if .capture is set
- Cabal_Common_Briefing uses now a delta factor
- Added moreInfo object which gathers system infos (only primitives), counts jumps and entities
- Added new property .eID for Cabal_Common_Comms
- Started on docs for new stuff (not finished yet)
- internalVersion is now 14
- Various fixes

Please note:
Users of [EliteWiki] Factions, [EliteWiki] Furball, BGS, CCL_MaterialsFinder, Hyperradio, OXPConfig, Snoopers and Vector will need this version (see post above).

A big thanks here to m4r35n357 for catching up so soon.

Re: Cabal_Common_Library

Posted: Tue Jan 08, 2013 8:09 pm
by Svengali
Cabal_Common_Library1.7 is online.

Changes:
- CCL_Briefing FadeIn option
- CCL_Briefing Revolution joints, forward Kinematics
- CCL_Briefing added a replace relativePosition with position option
- CCL_Music - Added .shipScoopedFuel
- CCL_Overlay further tweaks
- CCL_Functions - Thargoid send some functions for string handling on screens - strAddAlignedText, strAddEdgeText, strAddIndentedText, strAdd2Columns and strAdd3Columns
- CCL_Functions - New object .galaxyStats (a binary search tree by ID)
- CCL_Functions - New property 'connected' in .moreInfo
- Adapted Oolites changed escort array (null -> [])
- Various tweaks and fixes
- internalVersion is now 15

Special thanks to Thargoid, cim and another_commander.