Alternate defense systems

From Starsector Wiki
Jump to navigation Jump to search

Description

It is possible to create a custom shield replacement (right-click activated) by extending the functionality of the phase cloak implementation. Phase cloak works by setting the Ship Data CSV shield type field to "PHASE" and designating the ship system ID "phasecloak" in the defense id field. This causes the ship system phasecloak to be activated on right-click. Different, custom ship systems can also be designated in the Ship Data CSV defense id field instead of phasecloak

Notes

Special consideration needs to be taken for the AI for the ship system as it is not treated as the ship system by parts of the engine. For example an AI that activates the ship system will activate whatever is set as that ship's system, as opposed to the ship system which is replacing the shield

Icon cross.png
At least two versions out of date. Last verified for version 0.8.1a. Please refer to Version History and update this page.

---

Return to Modding