2.0 changed how the ship health system work. In addition to changing it into something similar to the EVE Online one (sans the four damage types obviously), it also put in self-repair delay timers. Ships appear to regenerate ten days after they stop taking damage, which is in line with non-starbase stations; starbases themselves take thirty days.
The changes break this mod, which activates shield regen by setting the can_rechage_shield flag to yes. Fortunately, the timers are not exactly hardcoded, for they can be changed in defines. Specifically, these two definitions:
And with that, I'll just say that this mod sets both of the definitions to 0, so ships, stations, and starbases will immediately regenerate once hit.
Further testing, however, shows that starbases will eventually be onlined when it regenerates its shield and armor. This is not a problem for standard empires, but it breaks marauders. This seems to happen even if I set STARBASE_ENABLED_HEALTH_PERCENTAGE to 0.5 or 1. I have to change the starbase timer to 1 to fix this bug.
That, however, still makes full starbase self-repairs more likely, as if defending fleets can draw all the fire away from the starbase, it will then immediately self-repair. This has the potential to affect the battle outcome.
And with that, this mod gets rid of the station repair timer to allow for ships and stations to self-repair immediately after getting damaged, and reduces the starbase repair timer to make it possible to offline a starbase while making it harder to do so due to the incredible short (1 day) repair timer that can be exploited by defending fleets.
Steam Workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=1437765183
Non-Workshop: Right click on the attachment, save it, then drag the file to common/defines in the Stellaris folder. Or whatever mod you are using.
The changes break this mod, which activates shield regen by setting the can_rechage_shield flag to yes. Fortunately, the timers are not exactly hardcoded, for they can be changed in defines. Specifically, these two definitions:
- STATION_SELF_REPAIR_TIMER_DAYS
- STARBASE_SELF_REPAIR_TIMER_DAYS
Further testing, however, shows that starbases will eventually be onlined when it regenerates its shield and armor. This is not a problem for standard empires, but it breaks marauders. This seems to happen even if I set STARBASE_ENABLED_HEALTH_PERCENTAGE to 0.5 or 1. I have to change the starbase timer to 1 to fix this bug.
That, however, still makes full starbase self-repairs more likely, as if defending fleets can draw all the fire away from the starbase, it will then immediately self-repair. This has the potential to affect the battle outcome.
And with that, this mod gets rid of the station repair timer to allow for ships and stations to self-repair immediately after getting damaged, and reduces the starbase repair timer to make it possible to offline a starbase while making it harder to do so due to the incredible short (1 day) repair timer that can be exploited by defending fleets.
Steam Workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=1437765183
Non-Workshop: Right click on the attachment, save it, then drag the file to common/defines in the Stellaris folder. Or whatever mod you are using.
Attachments
Last edited: