Jump to content

Spawn points on a new map - A question


Old Crow

Recommended Posts

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.

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

7 hours ago, 4sheetzngeegles said:

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

11 hours ago, theFlu said:

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.

Link to comment
Share on other sites

8 minutes ago, theFlu said:

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'"

Link to comment
Share on other sites

@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.

 

Link to comment
Share on other sites

@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.

 

Link to comment
Share on other sites

2 hours ago, YourMirror said:

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

 

The game doesnt use the default "axis'"

 

2 hours ago, theFlu said:

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.

Link to comment
Share on other sites

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

 

image.png.a7a29f9d8e3fd8f92601b7383382a301.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

Link to comment
Share on other sites

12 hours ago, Riamus said:

 

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.

15 hours ago, theFlu said:

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.

Link to comment
Share on other sites

40 minutes ago, YourMirror said:

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.

Link to comment
Share on other sites

19 hours ago, 4sheetzngeegles said:

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.

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

5 hours ago, YourMirror said:

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... ;)

Link to comment
Share on other sites

6 hours ago, Riamus said:

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.

Link to comment
Share on other sites

23 hours ago, Riamus said:

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.

This is how I ended up on top of a tree in the wasteland. It was brutal. I step off and break my leg and hobble back to the forest. It was epic and tense!

Link to comment
Share on other sites

4 hours ago, YourMirror said:

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.

Is there a situation where you would have elevation and only one coordinate (either x or y) in this game?  And even if it is, if a person wants to call elevation y or if they want to call it z won't change how they use it.  It's really no different than using "horizontal" and "vertical" or "east/west" and "north/south".  In the end, what term/letter you use doesn't matter as long as you know what you're talking about.  Now, if you are sharing info with someone else and you aren't clear what you're talking about, then it could make a difference.  If someone just tells you to set z to something or set y to something without context, it could be a problem.  But would that happen in this game?  You might tell someone to set YOffset, which is clear.  You might tell someone to set coordinates to 150,-2300 and that's also clear.  You might say to set elevation to something, which is clear.  You wouldn't tell someone to go to 1200,5 and mean the "5" to be elevation.  Without the other coordinate, it's a pointless and useless location.

 

The main reason it's unintuitive is that maps use x and y for coordinates.  But this game chooses to call elevation "YOffset", which means they use y for elevation.  Now, it is normal to use y for elevation in a 3D space, but more people know 2D coordinates than 3D coordinates.  That means most players will expect the coordinates to be x,y and use z for elevation.  For people who know 3D coordinates, they want to use y for elevation.  That's why it's confusing to people and I'm not really sure why they changed things when they originally came up with the 3D coordinate system.  It is like the person/people who set up the coordinate system decided that since it was 3D, they'd place a map on its edge so that the 2D "y" coordinate was pointing up and down and then built the coordinate system around that.  Not really a smart way to do it, imo.  But we're left with two coordinate systems that use a different letter for the same direction.  Because this game is a map and not aerial, it just makes more sense to use map coordinates.  That combined with more people being familiar with that system makes things more clear.  But you'll always have people who want to use the 3D coordinate system for naming the coordinates and elevation, so it will always be confusing if people aren't clear.  What that means is that if you're telling people 3 numbers for location, you let them know the middle number is elevation.  You don't say the middle number is y or z.  You can call them whatever letters you want to, but you just need to specify which number you're referring to for elevation.

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...