Jump to content

Problems with Traders, please help


PurgatoryWolf

Recommended Posts

Backstory: In alpha 17 I built a Trading Post that housed vending machines that I would rent out for free to anyone on the server who wanted one. (I'm an admin). So that there could be one central location for people to congregate to if they wished. When a18 introduced Traders quests, I introduced a room that would house all 5 Traders, to make it extra special. However, I could not figure out how to get them to spawn in with import of the building, or even to spawn in with the editor load of my save file. I had to manually spawn them in every time we imported it into the game.

 

Now in a19 they keep falling through the floor or just straight up vanishing. How can I place the traders where I want them, and have them spawn in with my building when we import it into the game? This way, if they vanish, a server reboot should technically fix them and put them back (theoretically). Yes, I use the Static spawner when I spawn them in manually.

I have tried using the Trader Spawn Block, but it only spawns Trader Joel. I tried looking into my XML file, and comparing it to the XML of the Traders, and can't understand how it determines which traders spawns. So I can't figure out how to change the 5 Joel's into one of each trader. 

Link to comment
Share on other sites

On 9/15/2020 at 4:32 PM, bdubyah said:

You'd have to edit the meta data of the block. It can be done in Pille's editor, not sure if there's an easier way.

 

If needed, the meta value for each is:

0=Joel

1=Rekt

2=Hugh

3=Bob

4=Jen

Pille's editor?

Originally I thought that I could look at the XML of each Traders prefab to see what I would need to do. And I thought I was onto something when I opened up the first two because their number sequence was different. But then the next to you had the same numbers as the first two so I knew that wasn't it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...