Cabal_Common_Library
Moderators: winston, another_commander
Re: Cabal_Common_Library
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.
OXPs: Furball 1.8, Factions 1.12
Re: Cabal_Common_Library
Seconded.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.
Re: Cabal_Common_Library
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.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.
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
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.
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
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.
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
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
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
- Okti
- ---- E L I T E ----
- Posts: 700
- Joined: Sun Sep 26, 2010 1:51 pm
- Location: A GH shop, near witchpoint to Oresrati in Galaxy 8
Re: Cabal_Common_Library
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";
};
Any way merry Christmas and happy new year all
Re: Cabal_Common_Library
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...Okti wrote:Sure about role cargopod, that was a question about CCL overriding textures from other shipsets raised by Capt. Solo!
A example of an OXP which really overrides standard stuff is WonderWorm which redefines the standard ballturrets...
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Cabal_Common_Library
Svengali wrote:A example of an OXP which really overrides standard stuff is WonderWorm which redefines the standard ballturrets...
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.
Commander Smivs, the friendliest Gourd this side of Riedquat.
Re: Cabal_Common_Library
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.
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
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.
Changes:
- Various tweaks and fixes
- Preparations for v1.77
Additionally I've uploaded a demo for CCL_Music.
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Cabal_Common_Library
Thank you, sir!Svengali wrote:Cabal_Common_Library1.5.2 is online.
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!
And any survivors, their debts I will certainly pay. There's always a way!
Re: Cabal_Common_Library
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 beforeit is nowThe 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.
The required change is minimal. If you've had used before
Code: Select all
this.myVar = new Cabal_Common();
Code: Select all
this.myVar = new worldScripts.Cabal_Common_Functions.Cabal_Common();
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
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 Factions, 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.
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 Factions, 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
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
- CCL_Overlay further tweaks
- CCL_Functions - Thargoid send some functions for string handling on screens -
- CCL_Functions - New object
- CCL_Functions - New property 'connected' in
- Adapted Oolites changed escort array (null -> [])
- Various tweaks and fixes
- internalVersion is now 15
Special thanks to Thargoid, cim and another_commander.
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.