Jump to content
EinfachRobin_

How to get Coordinates

Recommended Posts

Hello,

is it possible to get several coordinates from different locations except by walking to them on a server which has the debug menu enabled? 
On maps like izurvive I  only get 2 coordinates but I also need the height.

Thanks for the help
Robin

Edited by EinfachRobin_

Share this post


Link to post
Share on other sites
2 hours ago, EinfachRobin_ said:

Hello,

is it possible to get several coordinates from different locations except by walking to them on a server which has the debug menu enabled? 
On maps like izurvive I  only get 2 coordinates but I also need the height.

Thanks for the help
Robin

I suggest looking at DayZ Vanilla++ Mission by DaOne v0.2 

There are two main modifications on his GitHub. First is an admin chat based function you can add to you init.c. Second is a complete new mission which include many features as well as the mentioned admin chat based fuction. 

The chat based function will allow you to teleport to each location you are wishing to visit.

I don’t know what you need the height for (?), if it’s for adding custom buildings I would look at Arkensor’s DayZCommunityOfflineMode and use the object spawner to place buildings then export the coordinates to add into your init.c or other file managing buildings. Arkensors mod also allows teleporting if you do not wish to modify your own server and just want the coordinates. 

  • Like 1

Share this post


Link to post
Share on other sites

If you just want the coordinates from a specific place, you can use a Chernarus Map like izurvive com

Share this post


Link to post
Share on other sites
15 minutes ago, Printaix said:

If you just want the coordinates from a specific place, you can use a Chernarus Map like izurvive com

 

2 hours ago, EinfachRobin_ said:

On maps like izurvive I  only get 2 coordinates but I also need the height.

 

Share this post


Link to post
Share on other sites
2 hours ago, Kyle Gulledge said:

same here im lost at the height i see -1 and then i see 0.0 > errrr im lost

If you need the Y-coordinate (height) in a scripting environment you can get it using GetGame().SurfaceY()

float coordinateX = 7500;
float coordinateZ = 7500;

float coordinateY = GetGame().SurfaceY(coordinateX, coordinateZ);

It's a bit cumbersome though, I suppose. Getting the X and Z from iZurvive, then edit and execute the script to get the Y-coordinate. I suppose if you have a text file with all the X/Z coordinates on one line each you could have a script run trough it and add the Y-coordinate.

Other than that, I don't know.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×