Jump to content
dogs8011ocks

PVP Area & Map Marker Text

Recommended Posts

Hi,

 

I have just added a PVP Area on my DayZ server however whichever way i try it I cannot seem to add a text marker on the map to say that this is a PVP Area.

 

My Mission.sqf >>

 

class Item17
        {
            position[]={2750,1,5000};
            name="pvpzone";
            text="PVP Zone";
            markerType="RECTANGLE";
            type="Empty";
            colorName="ColorYellow";
            a=900;
            b=900;
        };
 
This is fine & gives me the rough area I want the zone in (over Zelengorsk) but I wonder if the text is also being written in yellow thus not showing on a yellow box?
 
I did have the area as a seperate .sqf file & called it through my init.sqf >>
 
 _this = createMarker ["PvPzone", [2750, 5000, 1]];
_this setMarkerShape "RECTANGLE";
_this setMarkerColor "ColorYellow";
_this setMarkerType "Warning";
_this setMarkerBrush "Grid";
_this setMarkerSize [900, 900];
 
However again this did not give any text on the map, I also tried to set a seperate class item with the map location & also a map location above the area using a "mil_dot" & "empty" with ColorBlack to see if this would allow the text to be written onto the map with no joy.
 
I have read through numerous posts online regarding map markers but still no success....
 
Can anyone aid me in my quest?
 
I will be wanting to set a warning much like the trader safe zone stating that players are entering a PVP Area however need to get this basic bit done first!
 
Thanks

 

Share this post


Link to post
Share on other sites

If I remember correctly there are certain things that are banned in DayZ regarding the markers, which is why you can not execute markers from an sqf.

 

The way to go is with the mission.sqm anyway, as it's working fine. There is a workaround for the mapmarkers to spawn dynamically, but the question is if you really want to go through that, if you just want that dedicated area anyway.

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

×