Jump to content

How do I add a custom Spawn Location to my server? ( Exact Coordinates)


miked79

Recommended Posts

That's not really hard,

 

you need to make 1 file(if it doesn't exist already) and edit one file.

 

New file: ({server_name}_spawnpoints.lua 

-- Filename: {server_name}_spawnpoints.lua-- for example, in my case: servertest_spawnpoints.lua-- This is the specific function you need to use.-- This spawn-point is at twiggy's bar on the map.function SpawnPoints()        return {                unemployed = {                        { worldX = 40, worldY = 22, posX = 67, posY = 201 }                }        }end

edit file: ({server_name}_spawnregions)

function SpawnRegions()        return {-- Standard spawn regions                { name = "Muldraugh, KY", file = "media/maps/Muldraugh, KY/spawnpoints.lua" },                { name = "West Point, KY", file = "media/maps/West Point, KY/spawnpoints.lua" },--This little thing, is the custom spawn point, name it(it will show up when your player create's a new player), give the where the spawn points are definend(in my example, that will be servertest_spawnpoints.lua).                -- Uncomment the line below to add a custom spawnpoint for this server.                { name = "Twiggy's Bar", serverfile = "servertest_spawnpoints.lua" },        }end

Oh welp, I see you want it random.

Well in that case, you need to backup the spawn points from Muldraugh and West Point.

And I don't know exactly where you're location is exactly on the map.

But you should edit one of those two and add the line from spawn points,

To be more exact, this line:

-- Edit the coordinates to the exact spot for your location, you can lookup at: http://pzmap.crash-override.net{ worldX = 40, worldY = 22, posX = 67, posY = 201 }

If there are any other question's, I am willing to answer ^^,

 

- fluidkiller

Link to comment
Share on other sites

  • 2 weeks later...

This guide is great, by the way, thanks so much.

 

Is there a way to determine coordinates at this point? Like Mike, I'd like to play around with spawn points but without coordinates, it could be a very long guessing game.

 

I know there's a mod (http://pz-mods.net/other/CoordinateViewer/) but apparently it's out-of-date and I haven't tested it yet, just gathering information.

 

Are there any other resources for this, by chance?  Thanks again!

 

Edit - I've been using this map forever (http://pzmap.crash-override.net/) and just now noticed the coordinates AND the flipping link at the bottom of fluidkiller's post.  Forgive my idiocy!

Double kudos to your post, fluid!  

 

2nd edit - Just in case anyone sees this post, looking for the same thing... Apparently, there is an updated coordinates mod located here: http://pz-mods.net/gameplay/coord/

Link to comment
Share on other sites

  • 1 month later...

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