Adding custom markers the easy way

AsianKid

Well-Known Member
=============================================================
Custom map markers the easy way
I do not take credit this is know to everyone
=============================================================
Easy <10

Map marker Icons
http://community.bistudio.com/wikidata/images/e/ea/Arma2_markers4.jpg
(Some Don't Work) :eek:

1. A SQF called Marker.sqf


2. Add this in the sqf
_marker = createMarker ["change me", [Your cords here]];
_marker setMarkerText "Fallen City"; (Name)
_marker setMarkerType "mil_objective"; (Must be workingfor dayz)
_marker setMarkerColor "ColorRed"; (Marker color)
marker = _change me; (Same as above)

3. Add this code in your init.sqf
//custom marker
[] execVM "marker.sqf";

BTW Take off (example here) at the end of the lines

Enjoy :)
 
this is mine but doesnt work.. maybe i did something wrong.

code
Code:
_marker = createMarker ["City", [146,[13018.5,3745.03,0.002]];
_marker setMarkerText "Brige Other Island"; (Brige Other island)
_marker setMarkerType "mil_objective"; (Must be workingfor dayz)
_marker setMarkerColor "ColorRed"; (Marker color)
marker = _change me; (city)
 
Needs to be
_marker = createMarker ["City", [146,[13018.5,3745.03,0.002]];
_marker setMarkerText "Bridge Other Island";
_marker setMarkerType "mil_objective";

marker = _City;
 
Pretty sure it actually needs to be this for the first bit:

_marker = createMarker ["City", [13018.5,0.002,3745.03];

You need to put the co-ordinates into XZY rather than XYZ (Z being height above sea level)

Also the bit at the bottom needs to be what AsianKid put.
 
Here is the way I do it, no extra files needed and super easy. I'll explain in details.
This whole process only takes 2 minutes once you know what you are doing.

1. Unpack your Mission PBO (you want the mission.sqm file)

2. Go to this directory
Code:
C:\Users\Username\Documents\ArmA 2 Other Profiles\YourIngameName\MPMissions

3. Create a folder called original.Chernarus (or the map name Utes, Fallujah etc.)

4. Drop the mission.sqm file in that folder (original.Chernarus)

5. Open DayZ (main menu) and click on Multiplayer

6. Now click on NEW, then click OK

7. Highlight the map name (Chernarus in this case) then double click New Editor at the top.

8. Now highlight Markers on the right of the screen.

9. Double click where you want the marker on the game map.

10. Give it a name, Give it text if you want players to know what it is and then choose the color.

11. Where it sais ICON (drop menu) choose the type of icon you want. Since I have custom locations I want players to see, I simply choose Waypoint and it will place a small colored X followed by the TEXT you chose.

12. Once you got all your markers down, save under any random name (I'll call this example).

13. Navigate back to the directory (in step 2). Find example.Chernarus and get the mission file inside that folder.

14. Pack it inside your mission PBO's main directory and you are all set.

Start your server, open your map and you have markers without extra files or anything else.
 
=============================================================
Custom map markers the easy way
I do not take credit this is know to everyone

=============================================================
Easy <10

Map marker Icons
http://community.bistudio.com/wikidata/images/e/ea/Arma2_markers4.jpg
(Some Don't Work) :eek:

1. A SQF called Marker.sqf


2. Add this in the sqf
_marker = createMarker ["change me", [Your cords here]];
_marker setMarkerText "Fallen City"; (Name)
_marker setMarkerType "mil_objective"; (Must be workingfor dayz)
_marker setMarkerColor "ColorRed"; (Marker color)
marker = _change me; (Same as above)

3. Add this code in your init.sqf
//custom marker
[] execVM "marker.sqf";

BTW Take off (example here) at the end of the lines

Enjoy :)
Can you use this for multiple custom markers? If so, what would the code look like?
 
I thought I tried that and it didn't seem to work, but there is no reason it should not. The first marker that I set worked fine. I'll try it again, carefully.

Thank you for your quick reply!
 
I thought I tried that and it didn't seem to work, but there is no reason it should not. The first marker that I set worked fine. I'll try it again, carefully.

Thank you for your quick reply!
Did you add another
[] execVM "marker.sqf"; that is the same name as the new one

EX
[] execVM "marker.sqf";
[] execVM "marker2.sqf";
 
Did you add another
[] execVM "marker.sqf"; that is the same name as the new one

EX
[] execVM "marker.sqf";
[] execVM "marker2.sqf";
Yes, that is exactly what I did. Two calls for two different file names in a folder named mapmarkers.

Here is what my init.sqf looks like:

Code:
    //custom marker
    [] execVM "mapmarkers\marker.sqf";

    //custom marker1
    [] execVM "mapmarkers\marker1.sqf";

It's still not showing the second marker on the map. I'll try again later when the players on my server have left for the night.
 
Yes, that is exactly what I did. Two calls for two different file names in a folder named mapmarkers.

Here is what my init.sqf looks like:

Code:
    //custom marker
    [] execVM "mapmarkers\marker.sqf";

    //custom marker1
    [] execVM "mapmarkers\marker1.sqf";

It's still not showing the second marker on the map. I'll try again later when the players on my server have left for the night.
Did you change this?
_marker
To
_marker2
 
How do I get those coordinates in game?

Also you guys listed like 10 ways to put the co-ords in.

_marker = createMarker ["City", [146,[13018.5,3745.03,0.002]];
This way?
Also what does the 146 before the next brackets mean?

[1234.123, 1234.123]];

Example^^
or this way?

The rest seems to be straight forward to mean, just a little confused on how the coordinates needs to be :) thanks
 
How do I get those coordinates in game?

Also you guys listed like 10 ways to put the co-ords in.


This way?
Also what does the 146 before the next brackets mean?


or this way?

The rest seems to be straight forward to mean, just a little confused on how the coordinates needs to be :) thanks
_marker = createMarker ["City", [146,[13018.5,3745.03,0.002]]; this way
 
im wanting to make x2 markers on map for different things is this how i do it ?

marker 1 below
_marker = createMarker ["SOLID", [1871.34,12256,0.00146484]];
_marker setMarkerText "MARKER TEST 1";
_marker setMarkerType "mil_objective";
_marker setMarkerColor "ColorGreen";
marker= _SOLID;

is this how i would create a second marker?

_marker2 = createMarker ["SOLID", [1871.34,12256,0.00146484]];
_marker2 setMarkerText "MARKER TEST 2";
_marker2 setMarkerType "mil_objective";
_marker2 setMarkerColor "ColorGreen";
marker2 = _SOLID;


[] execVM "marker.sqf";
[] execVM "marker2.sqf";
 
Might be a rather dumb question.. but... do you need to take the hight (Z) into consideration for the marker to show on the map?
 
Back
Top