This mod changes all Hazard Protection Units into Shield Stations.
The .LUA script is fairly customizable as well.
Hazard Protection Units -into- Shield Stations
This mod turns ALL Hazard Protection Units (HPU’s) into Shield Stations, simply by changing the HPU’s name and effect.
Essentially, HPU’s will be masquerading around as Shield Stations now.
This means HPU’s built by you AND other players (even in their bases) will identify as Shield Stations and work as Shield Stations for you.
Includes procedural HPU’s you would find in buildings.
You’ll find Shield Stations in the build-menu in the same spot where HPU’s were.
This mod aims to compliment mods such as No Health Recharge by Wombi: https://www.nexusmods.com/nomanssky/mods/1815
I like the concept of no automatic shield recharge, but found it difficult to find a Shield Station to heal up.
CUSTOMIZE
The .LUA script is structured to be easily customizable.
You can:
-Set the amount of shields recharged from a single use.
It can be set to 30% recharged per use -or- 100% recharged per use. Default set by this mod is 30%.
-Probably can be changed to activate all sorts of different actions instead of recharging shields, experiment!
-Set the ingredient and cost required for a single use.
Default set by this mod is 10x Di-hydrogen per use. Can easily be reverted back to Ferrite Dust or made to be free via editing the .LUA
-Rename the HPU to what ever you like!
I renamed it to “Shield Station”, but you can take a look at the .LUA and change the name and description to what ever you want!
-Optional ability to change the recipe’s ingredients and costs associated with building HPU’s
The recipe for building HPU’s in this is mod is vanilla by default.
You don’t have to use this mod to change HPU’s into Shield Stations.
You can revert the Shield Stations back to HPU’s and then customize your HPU’s! Two mods in one!
COMPATIBILITY
AMUMSS
This mod’s .PAK is fairly compatible, as a number of edits are done to .MBIN’s specific to HPU’s alone.
But AMUMSS .LUA building/merging is still the recommended way to install this mod. Using AMUMSS makes this mod compatible with virtually anything.
-Place HPU2SS.LAU in AMUMSS’s “ModScript” folder and run “BUILDMOD.bat” to build __HPU2SS.PAK and check for any conflicts with your current mods
-Merge HPU2SS.LUA with any conflicting mods by placing all .LUA’s that edit the same .MBIN’s together in “ModScript”, then run “BUILDMOD.bat”
-You can patch a conflicting .PAK with HPU2SS.LUA as well. Place the .PAK and HPU2SS.LUA together in “ModScript”, run “BUILDMOD.bat”
All .MBIIN’s edited:
MODELS\PLANETS\BIOMES\COMMON\BUILDINGS\PARTS\BUILDABLEPARTS\TECH\SHIELDSTATION\ENTITIES\SHIELDSTATION.ENTITY.MBIN }– (Effect)
MODELS\PLANETS\BIOMES\COMMON\BUILDINGS\PARTS\BUILDABLEPARTS\TECH\SHIELDSTATION\ENTITIES\SHIELDON.ENTITY.MBIN }– (Effect cost)
LANGUAGE\NMS_LOC1_ENGLISH.MBIN }– (These two LANGUAGE\ .MBIN’s contain the names associated with the HPU)
LANGUAGE\NMS_LOC4_ENGLISH.MBIN }– (There’s about 500,000 lines of code in both, you’ll notice AMUMSS take a bit longer to slog through all the lines lol)
METADATA\REALITY\TABLES\NMS_REALITY_GCPRODUCTTABLE.MBIN }– (Optional recipe edit)
Credits:
XAVIER0SELF