Jump to content

[MOD Help/Request] Hazard Protection Unit -> Shield Station


xavier0self

Recommended Posts

Hello all, I’m hoping to make a simple mod to switch the buildable Hazard Protection Unit out with the Shield Station -OR- make Shield Stations buildable.
I’m playing an essentially “no shield regen” game and would love to build some Shield Stations rather than Protection Units.
- I've looked through a bunch of game files, and can't seem to find anything referencing the Hazard Protection Unit anywhere. It has to be referred to as something else but I have no idea what. If anyone knows anything about that, that would be great. Maybe I'm just not looking hard enough.
- I've found Health Stations and Shield Stations all over in the game files. I've compared the two in multiple exml's. I'm trying to find some code pointing to why Health Stations are buildable, but not Shield Stations. I'm trying to find differences in the lines of code, but all of the files I've compared, the two stations share the same values for basically all the lines, except for things like texture names. So I'm not looking at the right mbin's apparently, and I've run out of ideas as to what to look into next. I've looked in NMS_REALITY_GCPRODUCTTABLE.MBIN -&- BASEBUILDINGTABLE.MBIN -&- SHIELDSTATION.ENTITY.MBIN + HEALTHSTATION.ENTITY.MBIN and both their .SCENE files as well. I'm missing something.

I was hoping of simply figuring out how to switch out the effect of the Protection Unit so that it restores shields instead. The two stations share the same model anyways. If I could get the Hazard Protection Unit to restore shields that would be fine.
But it seems likely, with my limited understanding, it's more simple to just make the Shield Station a buildable object. I just can't figure it out. I've opened up mods like Ultra Base Building to see how that mod enables new objects to be buildable, but I'm not really making any progress as this is a bunch of stuff I just don't understand well enough yet.
Perhaps this is very complicated, and I should abandon this folly task. Or maybe what I'm trying to do is already in another mod somewhere. Either way, any help or advice would be greatly appreciated! If anyone with a bit more knowledge of NMS gamefiles could point me in the right direction I could probably do the grunt work. I don't really need someone to make this mod for me, but some help is definitely needed. (If you want to make it for me that would be cool too lol I would look at it and try to learn stuff. I also want to upload what ever I can come up with to Nexus so as to compliment the "No Health Recharge" mod that recently came out. I like it. I modified the mod to regen shields over like 5 minutes instead of not at all lol)
P.S. My biggest fear right now is that the Shield Station is already buildable in vanilla NMS, and I just haven't figured that out in 100's of hours of gameplay yet. :thumbsup:
Edited by xavier0self
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...