The goal of MagicLib is to create an Open Source, community-driven "library" of useful (and well documented) scripts and plugins that can be leveraged and contributed to by every modder.
All contributions are welcome!
Fully usable release, if anyone wants to contribute you are more than welcome to do so as it is intended to be a community tool. Do check the Wiki to get a lot of details on the current content.
Curent content:Functions MagicModuleRetreatCleaner Fixes the bug with retreating ships with modules preventing the combat from ending.
MagicIncompatibleHullmodA uniform solution for the "incompatible hullmod" issue with vanilla hullmods.
MagicInterferenceAdds a cross-mod mechanic to balance very powerful weapons.
MagicAnimA collection of functions to make smooth animations.
MagicFakeBeamCreates convincing punctual beams from arbitrary coordinates.
MagicLensFlareCreates "cinematic" lens flares.
MagicRenderDraw arbitrary sprites on-screen with constraints to entities/camera when needed. (aka "SpriteRenderManager")
MagicTargetingAllows "smart" target selection for systems and missiles within distance and search cone parameters, plus it can use ship-class preferences.
MagicTrailsAllows to create missile-style trails anywhere, from ships to bullets, with a lot of customization options. Also includes a CSV based manager that should be able to handle most projectile use cases with negligible overhead.
MagicUIDraws UI elements such as a system-like charge-bar/tick box next to the normal ship-system for special systems, or an extra status bar above the flux/hull bars.
Loose scriptsScripts that can be used "as it is" or can be copied to individual mods to personalize the result. MagicVectorThrusterManages vectoring or vernier-style attitude thrusters.
MagicMissileAIA very customizable and lightweight missile AI script usable without any java knowledge.
MagicGuidedProjectileScriptA weapon script that allows regular projectiles to track their target.
Planned / considered content:
MagicRotary
A loose script to make rotary weapons animations with smooth spin up and down. Contributors:
Dark.Revenant (MagicUI)
Deathfly (MagicFakeBeam)
jtyotJOTJIPAEFVJ (MagicAnim.cycle)
Kitta Khan (bugfixes)
Nicke (MagicTrails, MagicGuidedProjectileScript)
Snrasha (MagicUI)
Tartiflette