Barotrauma

Barotrauma

DynamicEuropa
A Spoon 1 Jun, 2024 @ 9:41am
Adding Custom Module Types
Hello! I've been interested in making my own station mod but I have not been able to figure out how to add different module types. Any help is apperciated!
< >
Showing 1-1 of 1 comments
_]|M|[_  [developer] 2 Jun, 2024 @ 7:27am 
I recommend to load and look at one of the existing modules of the type you want to create and note down spawnpoint tags, see if there are any vents tagged specifically, making sure that if there are secure lockers, both the tags and the required ID card are correctly configured. If you're making a docking module, make sure that the airlock hull is actually called "roomname.airlock" as it may also be required for some events.

When saving your module, you gotta make sure to select the correct module type.
Let's say you're making a crew module for example, then you have to mark it as both "CrewModule" and the new DE type "DE_CrewModule" because the "CrewModule" is relevant for events and "DE_CrewModule" is used for generating them on outposts.

Also make sure to configure at which location types it is allowed to generate so that a hospital looking module doesn't generate at a factory for example.

Inside the mod's Map folder you can find OutpostGenerationParameters.xml which is what tells the game which module type to generate how often at which location and what NPCs to spawn. You can read through that file and look at the different configuration to know what module type is used at what location.
< >
Showing 1-1 of 1 comments
Per page: 1530 50