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

Getting Started Prefabbing - Complete (POI Creation)

How the hell do I connect to my own dedicated server? Is there an internal port number or something?
I didn't have to do any adjustments to ports or such really. Just give your server a recognizable name and it usually pops up first on either the normal or modded tab lists. Or even easier it should appear under the far right tab "servers on the local network". I sometimes have to go back to the main menu and then back to the servers list for it to properly refresh and show up.

 
How the hell do I connect to my own dedicated server? Is there an internal port number or something?
Sorry, haven't been in here for a bit. You're dedicated server should be setup as a multiplayer server, typically password protected. Then you connect to it like any other server in the list of servers, in game.

One thing to note:. You can't be running a single player game (New Game) and the dedicated server. If you want to do that, you'll need to alter the port your dedicated server uses and that's something you'll want to Google up on how to do.

Best of luck.

 
Two tips that have been useful to me.

First, Pilles Editor has a "Rotation to Face North" attribute under Xml. Use this to indicate which side the entrance to your building is facing, so that it will connect properly to roads and paths. It should be a number from 0 to 3, indicating how many 90 degrees turns clockwise is required to make your POI face north. Otherwise, you can also use this simple table:

0 - POI is facing North

1 - POI is facing West

2 - POI is facing South

3 - POI is facing East

You can figure the rotation of blocks similarly:

0 - Block is facing North

1 - Block is facing East

2 - Block is facing South

3 - Block is facing West

Note that numbers 1 and 3 for block rotation are the opposite direction of the previous attribute, because that attribute does not indicate which direction the POI is facing, but how many times to turn it to get it to face North.

 
Once you build a prefab, how do you get it to align properly with roads? What should you do while building the prefab to ensure it works with the roads? I read the preceding post, but its not clear - I'm not asking whether the building is facing north or west, how do you get it to face the road? How far away is the road going to be? Can you make a road or driveway that will intersect with a generated road?

 
Last edited by a moderator:
Once you build a prefab, how do you get it to align properly with roads? What should you do while building the prefab to ensure it works with the roads? I read the preceding post, but its not clear - I'm not asking whether the building is facing north or west, how do you get it to face the road? How far away is the road going to be? Can you make a road or driveway that will intersect with a generated road?

If the prefab is for a town: The northern border of your prefab's area will seamlessly align with a road by default, so build the front of your prefab facing north and if you want a driveway or road connection, build the road all the way to the northern border and it will flow right into the city grid. :]

For towns it's easy, for wilderness POI – idk, don't think it's possible to connect them with those gravel paths or even any of the country roads, but maybe the modding gurus have some input on that (I'm curious about that too :D ).

 
It sounds crazy and it doesn't look that way, BUT...

- mathematically all the wilderness-prefabs ARE connected to their paths.

There is no single wilderness-POI without a path connected to them.

- esthetically sometimes (always) it looks they arent connected well to their paths - this has 3 Reasons:

1.

The booked place (socket) for a wilderness-POI is always a perfect Square (e.g. 30by30 or 47by47)

In this Square the engine builds a circle for placing the prefab into the world.

U all have seen the big cliffy half earthgaps around some wilderness-POI's (big holecutter-principe)

Also if the land is to low the engine will generate halfround humps to make the surface flat and even.

In this flattened out circular area the engine will place the prefab.

Here the displacement from prefab and path begins.

Another point:

Most of the prefab's entrances are about in the middle of the building. But the connection-point for a prefab to the path is the prefab's N/W corner.

Here the displacement from prefab and path continues.

But lets go further:

2.

Prefabs in the middle of a path:

The connection-point from prefab to path is IMO the most northernwest corner of the prefab.

So if the path follows south/east-direction the prefab will cross/block the path.

The path-gen-algorythm doesn't care if the prefab is straight above it. This is not smart IMO

Not to mention all the unwalkable pathareas like path is going through water or over that big gasps and humps on POI's i mentioned in 1.

3.

IMO there is no way in A16 to let the prefab's entrace pointing to the path.

'RotationToFaceNorth'-command doesnt work anymore in wilderness IMO.

All the wilderness-POI's are spawning in their default rotation (how they were created).

fazit:

most times the connection from prefab to path will look uncanny, unnatural and will be a pain for the eyes.

adding point 1,2 and 3 together it becomes very clear again:

the A16-rwg-world-generating-engine is grab

sad but true - because we dont have another

 
Last edited by a moderator:
Dont wanna start a new thread, but i think my question fits in well here.

There are many things missing in the editormenu, like bladetraps and switches. I knew u cant do whole electricity builds, but not beeing able to use it for deco is stupid. I tried to givemyself xp via console to craft and place it, but that didnt work( cant get beyond lvl 4).

So my questions, is there a simple way to use blocks/deco wich are not avaible in the poi editor?

( Complex: export poi to singlepayer game, edit it, save it, reexport to editor. Is that even posibble? )

 
I guess you missed the dev block switch in the creative menu (see red arrow):

5gUK4Z8.jpg


 
I want to make a prefab to a quest location. Do i just need to change the xml from that prefab? F.e. the difficulty tier, if i want it at another tier then the standart "1". How to make it a killing, a gather quest?

And what means "sleeperislootvolume"?

 
Yes you have to set a quest tag in the xml file:

<property name="QuestTags" value="fetch"/>

Possible values:

quest, trader, clear, fetch, hidden_cache

I don't know if all tags are valid but 'clear' (killing quest) and 'fetch' (gather quest) should work. Afaik you have to place a questRallyMarker block (id 1947) to enable the players to start the quest. Fetch quests need a questsatchel block (id 1777) somewhere in the POI. sleeperislootvolume or the alternative term 'priority volume' means that you can place a sleeper volume inside another sleeper volume and the sleepers located in the inner volume will not be spawned if players enter the outer volume (which is quite useful).

 
Thanks again. I will play around with the new infos.

Update: fetch and clear works fine. But imo the poi looks a bit empty, maybe i can improve it/ got new ideas.

Release soon.

 
Last edited by a moderator:
Maybe you can take some ideas from other prefabs ... Good luck!

 
And another questions. How to add a sleeper"area" to a new prefab. i always copy an old one to a new prefab. But there must be a way to add a new one to a new prefab, or iamwrong?! ( i dont mean the xml file, i mean in editor ) But i still cant figure it out.

 
Last edited by a moderator:
Press F6, look at the ground and click on the 'sleeper volume' button:

Ciwlj5e.jpg


 
Back
Top