PC Spawn points on a new map - A question

Old Crow

Well-known member
Does anyone know, does map data contain a listing of player spawn points when a new player joins, and can this data be changed? A friend of mine was wondering if it was possible, he wants to do a challenge on our next map where he spawns in a random (potentially non-Forest) biome and tries to survive there like normal.

 
Under the generated world:

On linux:

.local/share/7DaysToDie/GeneratedWorlds/<worldname>/spawnpoints.xml

I think that's under appdata in win ...

<spawnpoints>
<spawnpoint position="640,36.02335,-351" rotation="0,1,0"/>


I think that's X, Z, Y or (North-coord, height, East-coord). Negatives going left and down, like your "normal" coordinate system.

You can edit it; remove most lines, leave one and edit the coords to your liking .. spawning in too high might cause a fall, spawning within ground should get resolved by the collision system - you might want to err downwards.

 
All that theFlu posted plus. Do a single logon to the map in question. dm, open map, show biome information, teleport there,

Hit F3 up at the top just use the coordinates to the left of the periods. Example 1046.3 use 1046 the middle is the height.

If you want to get creative go to god mode, go to a level in a poi say a hospital, part that is not occupied, and 28 days later it.

or on a roof of a tall apartment building so to live you must first get out. Then log off and set the coordinates and start a new game.

 
If you want to get creative go to god mode, go to a level in a poi say a hospital, part that is not occupied, and 28 days later it.


Is a spawn point set within a building respected, or do you end up on the roof?

I ask because when I bring a character from an old world to a new world, they keep their location, but you end up on the ground regardless of the previous height. That had me thinking perhaps the game starts at max altitude and searches downward to find a viable place to stand. I never thought about starting within the hospital, which sounds really cool and challenging to escape from with no gear.

 
If you are playing a big Co op multiplayer game, I usually remove all but one spawn location that way everyone joins in the same place.

 
Last edited by a moderator:
Setting elevation of 0 will always place you at ground level.  Setting a higher elevation will place you at ground level unless there is something in that location.  If there is something there, you can specify an elevation that will place you on a specific floor (if it's a building), or if you leave it at 0 or an elevation too low or too high, you'll end up on the roof.

 
that's X, Z, Y or (North-coord, height, East-coord).
Heh, quoting myself, as I apparently shouldn't write while tired.. these are not the same. I think the X, Z, Y is correct, which would be (east, height, north), x-axis naturally pointing east.. but testing will tell.

 
Heh, quoting myself, as I apparently shouldn't write while tired.. these are not the same. I think the X, Z, Y is correct, which would be (east, height, north), x-axis naturally pointing east.. but testing will tell.
Its x,y,z and east/west,height,north/south (west and south being negative numbers)

The game doesnt use the default "axis'"

 
@zztong

Is a spawn point set within a building respected, or do you end up on the roof?

When you are playing 7days, haven't you ever logged out of your base on an elevated floor.

When you log back in you are in the same position. A quick DM F3 should show your coordinates

including elevation. I use DM a lot on and off to test and check a setting, log off, change the parameter

get it comfortable for me. Then play a clean start. Also to check it, when you lay down a back pack, have

you ever layed it in a house or always in the street. Hope this helps. It makes for some interesting starting positions.

 
@Old Crow

Here are a few ideas, If you want to set up scenarios. This should be non intrusive and easy as a starter.

DM then CM, Pick 1 or multiple unique locations, CM basic utilities ex. Stone, wood, Fibers. feathers.

Just enough to get the starter quests completed. I've done it a few times, basically playing an Omega Man

scenario "Heston not Smith".  I don't have resources respawn, because I play sweep and clear. The resources above

are pretty much the same thing you already do when sharing with a friend coming in. This way you can make

your own story line scenario. A bit more of a WTF scenario, Center of the city, in the center of the Wasteland,

And paint the Forest biome at the other end of the map. Preset 1 destination shared point in the forest even

without turning up difficulty it should make for a good run in a group or alone.

 
Its x,y,z and east/west,height,north/south (west and south being negative numbers)

The game doesnt use the default "axis'"


Well, I do; difference without distinction - unless the internals leak somewhere, do they?
Yeah, different people call the elevation "y" because the game uses "yoffset" for elevation, while others call it "z" because a top down view of a map uses x and y for coordinates.  In the end, as long as you understand that the middle number is elevation, it doesn't really matter what it is called.

 
This is a sheet I have had on my wall since about 2018. I think it is still true.

image.png

If not mistaken back then to spawn on the high level in case there was like a building there you used -1 for the Y. Or so you didn't spawn in a hill. Maybe for if you didn't know the exact level of the land

 
Yeah, different people call the elevation "y" because the game uses "yoffset" for elevation, while others call it "z" because a top down view of a map uses x and y for coordinates.  In the end, as long as you understand that the middle number is elevation, it doesn't really matter what it is called.
It does matter when you use commands that take coordinates as parameters. Switching y and z will bring you to a very bad place then.

Well, I do; difference without distinction - unless the internals leak somewhere, do they?
Yes, every command you use that has coordinates as parameter. Try to use z for y and y for z and start pulling your hair.

 
It does matter when you use commands that take coordinates as parameters. Switching y and z will bring you to a very bad place then.

Yes, every command you use that has coordinates as parameter. Try to use z for y and y for z and start pulling your hair.
But, as I said, "as long as you understand that the middle number is elevation, it doesn't really matter what it is called."  And we're talking about this game specifically, so it's easy to get the coordinates correct regardless what you call elevation.  For that matter, I don't believe the game ever names the axes other than when using YOffset, so it is pretty moot.

 
When you are playing 7days, haven't you ever logged out of your base on an elevated floor.

When you log back in you are in the same position.


Yes, that's certainly true. So perhaps it does the "ground placement" when the saved location would have you standing inside a block or on air.

If you logout and your buddies entomb your location in wood blocks I suspect you displace.

 
Last edited by a moderator:
Yes, every command you use that has coordinates as parameter. Try to use z for y and y for z and start pulling your hair.
Well, thanks for the warning :)

I don't plan on starting to run too many commands, so I think I'll stick to my original mental construct; at least mine is a right-handed coordinate system... ;)

 
But, as I said, "as long as you understand that the middle number is elevation, it doesn't really matter what it is called."  And we're talking about this game specifically, so it's easy to get the coordinates correct regardless what you call elevation.  For that matter, I don't believe the game ever names the axes other than when using YOffset, so it is pretty moot.
Sure. Until there is only x and z for parameters. Which one is in the middle? You re making an already unintuitive system even less understandable for serverowners.

 
Back
Top