• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

How to make custom poi indestructible like traders

Elevator pitch: i want to make a mod that includes a custom npc.

Problem: i cant figure out how to make the poi indestructible.

In the poi .xml file
<property name="TraderArea" value="True" />
And
<property name="TraderAreaProtect" value=20,0,20" />

(I also tried 0,0,0 like in the jen .xml)

Am i missing something? Do i need to make "wall volumes" on every wall?
 
I have not thoroughly tested this theory but I found out that if you load a premade trader (bob for example) and in the prefab editor use the "test play" button you can break blocks. So it's possible that my trader POI is indestructible when I play in a regular game. . . . I just have to figure out how to put my POI into an actual map now. . . so.... any tips on that would be helpful too lol. wish me luck.
 
Wall volumes let you make certain areas "off limits" to a player, which protects them from damage and keeps a player away from them. However, you could also use the trader properties, though I can't give you details as I've never done that.

As far as putting it in a game, just open the World Editor and add it to a save there. I'm sure there are YouTube videos about using the World Editor.
 
Back
Top