Editing the in-game map.

lazyink

Valued Member!
Staff member
Hey folks,

how would I go about editing the in-game map to include the locations of new bases I have put in?

thanks

b
 
yes, I have full access thru phpmyadmin and I am somewhat familiar with sql. also, i'm on dayz.st.
 
That would be great. I'm guessing its just a matter off adding a object with coordinates to the world table, but without knowing the specific codes, i'm a bit lost. I've been looking for a breakdown of the codes used within the table but have had no luck..
 
That's great, but do you have the specific code for map markers? I have had no problems building and inserting via SQL, but I have been unable to find the database code I need to insert.
 
I think he wants to update the map so it shows the locations of the custom structures he's added.
The in-game map will show all the default buildings but not the new bases/camps/buildings etc
 
Exactly. I have added new FOBs and an Arena and want players to be able to see the location of these on the in-game map.
 
Hey folks,

just thought I would update you with the solution I found. It was quite simple in the end.

First you need to grab your misson.pbo, extract it and open up the mission.sqm file in a text editor. Go to line 1165 (or close to it depending on how much editing you have done to the file) and look for this code:


class Markers​
{​
items=7;​
class Item0​
{​
position[]={7839.6055,381.33774,8414.7324};​
name="center";​
type="Empty";​
};​
class Item1​
{​
position[]={-18697.58,379.53012,25815.256};​
name="respawn_west";​
type="Empty";​
};​
class Item2​
{​
position[]={4932.3345,0.39950246,1989.1094};​
name="spawn0";​
type="Empty";​
};​
class Item3​
{​
position[]={2236.0391,0.63119155,1923.3735};​
name="spawn1";​
type="Empty";​
};​
class Item4​
{​
position[]={8738.1328,0.45720705,2122.1082};​
name="spawn2";​
type="Empty";​
};​
class Item5​
{​
position[]={10909.267,0.57597214,2422.3096};​
name="spawn3";​
type="Empty";​
};​
class Item6​
{​
position[]={13510.764,0.44504455,5249.3027};​
name="spawn4";​
type="Empty";​
};​
};​
};​


Now, to add your markers you need to create new Items within the Markers class. The format for the additional Items is as follows:


class Item7​
{​
position[]={11479,317.29391,11263};​
name="TheLastStand";​
text="The Last Stand";​
type="waypoint";​
colorName="ColorRed";​
};​

Breaking this down, we have:​
position[]={11479,317.29391,11263}; or position[]={Xpos,°Rotation,Ypos};​
name="TheLastStand"; The unique marker name, no spaces.​
text="The Last Stand"; The displayed text on the in-game map.​
type="waypoint"; The type of marker, no need to change this unless you know the codes.​
colorName="ColorRed"; The marker colour.

You will also have to update the:

items=7;​
at the top, to reflect the new number of markers, as a tip this will always be the last Item number +1.

Hope this helps,

b
 
most of them are banned in DayZ, just to save you some confusion while trying it out :)

Sarge

Yeah, I noticed that. I was really hoping to use the "Heliport" symbol to mark my AI helicopter transport stops but that is one of the banned symbols apparently. :( I ended up settling for the "Move" symbol which still looks alright.
 
how do i get them to go where im standing??

class Item7
{
position[]={354,[13651.8,3052.63,0.001};
name="The Rook Island";
text="Rook Island";
type="waypoint";
colorName="ColorBlue";
};
class Item8
{
position[]={99,[11457.2,11362.1,0.001};
name="Bridge";
text="Bridge to Rook island";
type="waypoint";
colorName="ColorBlue";
};

there meant to be here : http://prntscr.com/10py9k

blue is where they are currently at and black is where i want them to be
 
how do i get them to go where im standing??

class Item7
{
position[]={354,[13651.8,3052.63,0.001};
name="The Rook Island";
text="Rook Island";
type="waypoint";
colorName="ColorBlue";
};
class Item8
{
position[]={99,[11457.2,11362.1,0.001};
name="Bridge";
text="Bridge to Rook island";
type="waypoint";
colorName="ColorBlue";
};

there meant to be here : http://prntscr.com/10py9k

blue is where they are currently at and black is where i want them to be

position[]={354,[13651.8,3052.63,0.001}; This is your pos in the dayz format. x,y,z (z being distance above GROUND) The standard Arma format is x,z,y (z being distance above SEA LEVEL)
The distance above sea level shouldn't matter for this so all you have to do is switch y and z around
position[]={354,[13651.8,0.001,3052.63};
 
Back
Top