Jump to content

A21 Prefab Help


Zousug

Recommended Posts

So, when you make a new world/map, the prefabs that are placed are static. The only way (unless I'm missing something) to get a new prefab into a world/game that's already running is to replace a prefab that's in the prefabs folder in the SAVE folder (not the main prefabs or local prefabs folder), it has to have the same name, and will likely cause issues, but in theory if you reset that POI that you replaced it with it should pull it up. But, like I said, this can have issues and isn't supported.

 

What you would have to do is edit the world in the world editor, place the prefab, save it, upload it to your server (along with the prefab, put it in the prefabs folder), and finally start a new game on it. This is the cleanest/safest way.

Link to comment
Share on other sites

3 minutes ago, Zousug said:

 

issue is on the dedicated server i dont have a prefabs folder in the save folder

 

Ah sorry I should have been more specific, it's in the world in the save folder, like this:image.thumb.png.d43467d204e1c4e43db655b187f75ded.png

And you need to replace a POI with it, so in the main Prefabs folder that's in the game folder, you'd have to steal the name of a POI that you want to replace it with. Again, this isn't supported and likely will have issues, so the cleanest way is to do the world editor/new game route

 

image.png.50a3d5ce099f9b7aee17114ba2f4082e.png

Edited by Jugginator (see edit history)
Link to comment
Share on other sites

Ahhh. I think your best bet would be doing it the world editor way then, uploading a world with the poi in it. The prefabs or localprefabs folder should be somewhere in there, I would ask their support for help in that area.

 

I wish providers would unify and stop doing things way differently than the normal server does, but I digress :)

Link to comment
Share on other sites

On 11/22/2023 at 8:10 AM, Jugginator said:

Ahhh. I think your best bet would be doing it the world editor way then, uploading a world with the poi in it. The prefabs or localprefabs folder should be somewhere in there, I would ask their support for help in that area.

 

I wish providers would unify and stop doing things way differently than the normal server does, but I digress :)

I wanted to come back and let you know I managed to get it in world..

 

I had resorted to installing CPM mod to help me do it but that didnt even work and now im stuck trying to uninstall it but after i restart the server after deleting the files they all seem to come back brand new -.- lol

 

but besides that the prefab is now in world lol.. kinda scared to run the chunk reset command near it though -.- lol

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...