Jump to content

[1.12.x] Mass Effect Drive Mod


Lucaspec72

Recommended Posts

Mass Effect Drive Mod for KSP

Last update 06/05/2024

This mod adds the Mass Effect Drive from the game series of the same name. The Mass Effect drive is able to warp it's vessel's mass by a percentage using Element Zero, a ressource that can only be found on the far reaches of Eeloo.

Mass Effect drives need three things to function : Element Zero, Electric Charge and Flux Capacitors.

-Element Zero is costly and difficult to obtain, but on isn't consumed by the drive. Element Zero serves as catalyst for the operation of the drive, determining the Electric Charge to Warped Mass ratio. To simplify, the more Element Zero, the better.

When The Mass Effect Drive(s) is running, it'll generate 'Flux' that can only be Discharged around a planet's magnetic field. It must
therefore be stored in high-capacity Capacitors.

The Mass Effect Drives automatically Discharge the vessel's Flux Capacitors when in low-orbit of a planet, the length of this process is determined by how close you are to said planet, and the number of drives on your vessel.

To prevent accidently tearing the fabric of spacetime, the drive will automatically shut itself off when the vessel is altered.

The mod currently adds 4 parts :

-Provisional Mass Effect Drive : Main part of the mod, found in Utility tab

-Provisional Element Zero Tank : Stores Eezo, found in Fuel Tanks tab

-S-5TOR Provisional Flux Charge Capacitor : Stores Flux Charge, found in Electrical tab.

-Drill-O-Matic Junior Eezo Excavator : Drill that mines Eezo, found in Utility tab

-Drill-O-Matic Eezo Excavator : Drill that mines Eezo, found in Utility tab

Download Link

 

Dependencies :

-Harmony

 

Want to help ?

This mod currently uses placeholder parts to implement it's functionality, due to me not being able to make anything remotely good in blender. if you know how to make parts and want to help, feel free to contact me on discord ! (lucaspec72 id 331059604072955904)

if you found bugs, or have suggestions, you can report them here : https://github.com/Lucaspec72/Mass-Effect-Drive-Mod-KSP/issues

 

KNOWN ISSUES :

-DeltaV displays completely bug out when warping more mass than the vessel's dry mass. (mass reduction to counter mass of ressources technically makes the dry mass negative, bugging out the displays. Physics themselves seem unafected.) Possible fixes : Add onboard DeltaV display, or add more harmony patches to fix functions that bug out with negative mass.

 

CHANGELOG :

Alpha 3.5 hotfix :

-Fixed a typo in the Mass Effect Drive Partmodule that mentionned static charge to Flux.
-Fixed a crash when starting drive at 0% mass warping and no Eezo in the drives, which caused a division by 0 resulting in a NaN.
-Fixed Provisional Eezo Tank being free.

Alpha 3.4 hotfix :

-Fixed Restock patch for Eezo Tank and Flux Capacitor.

Alpha 3.3 hotfix :

-Added a Eezo storage tank. Why i didn't think to add one until now is beyond me.

Alpha 3.2 hotfix :

-Flux now vents on unloaded vessels.

Alpha 3.1 hotfix :

-Optimised the Postfix Patch.
-Made the code running onfixedupdate only run on loaded vessels to avoid possible bugs.

Alpha 3 :

-Changed Harmony Prefix patch to Postfix thanks to @UltraJohn.

Alpha 2.2 hotfix :

-Fixed a few typos

Alpha 2.1 hotfix :

-Added Restock Compability

Alpha 2 :

-Renamed Static Charge to Flux
-Fixed issues with Flux Discharging not working
-Changed Time.fixedDeltaTime to TimeWarp.fixedDeltaTime to fix timewarp not properly setting ressources
-Made every fixedUpdate code of the vesselModule only run when Highlogic is set to LoadedSceneIsFlight to avoid error spam in console
-Boosted the max multiplier for Flux venting to 100

Alpha 1.1 hotfix :

-Fixed Error with drive cost that caused it to be negative when empty.
-Gets placeholder models directly from the squad folder instead of having copies in the mod folder to be EULA compliant

Alpha 1 :

-First Release

 

Licence : CC BY-NC-SA 3.0

Edited by Lucaspec72
Add dependency mention
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...