• 0
Sign in to follow this  
Rhyno

Map Markers

Question

Hello guys. I am having some real trouble with these stupid map markers. I tried adding custom markers to the Markers class in the mission file but can't seem to get them to work at all. Can someone take a little look at see if they notice anything? Thanks guys. BTW i attached two different methods im trying... but neither work

 

    class Item22 // Method One
    {
       position[] = {2034.38, 0, 11733.3};
       Datatype = "Marker";
       type = "mil_dot";
       name = "Skalka Military";
       text = "Skalka Military";
       colorName = ColorRed;
       a = 1;
       b = 1;
    };

	class Item29 // Method Two
	    {
		dataType = "Marker";
		position[]={2034.38, 0, 11733.3};
		name="ExileMarker61";
		text="MY CUSTOM TEXT";
		type= "mil_dot";
		colorName="ColorRed";
		fillName="Vertical";
		alpha = 1;
		a=1.3;
		b=1.3;
		atlOffset = 0;
	    };

 

Edited by Rhyno

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Try these..

Spoiler

class Item22 // Method One
{
    position[] = {11733.3,0,2034.38};
    Datatype = "Marker";
    type = "mil_dot";
    name = "Skalka Military";
    text = "Skalka Military";
    colorName = ColorRed;
    a = 1;
    b = 1;
};

class Item29 // Method Two
{
    dataType = "Marker";
    position[]={11733.3,0,2034.38};
    name="ExileMarker61";
    text="MY CUSTOM TEXT";
    type= "mil_dot";
    colorName="ColorRed";
    fillName="Vertical";
    alpha = 1;
    a=1.3;
    b=1.3;
    atlOffset = 0;
};

This is one of my own from my mission.sqm

class Item20

{
            dataType="Marker";
            position[]={28211.1,0,25644.301};
            name="ExileMarker21";
            text="Bandit territory";
            type="ExileContaminatedZoneIcon";
            colorName="ColorBrown";
            id=105;
            atlOffset=-24.540119;

  };

 

Share this post


Link to post
Share on other sites
  • 0
10 hours ago, MetalHead said:

Try these..

  Hide contents

class Item22 // Method One
{
    position[] = {11733.3,0,2034.38};
    Datatype = "Marker";
    type = "mil_dot";
    name = "Skalka Military";
    text = "Skalka Military";
    colorName = ColorRed;
    a = 1;
    b = 1;
};

class Item29 // Method Two
{
    dataType = "Marker";
    position[]={11733.3,0,2034.38};
    name="ExileMarker61";
    text="MY CUSTOM TEXT";
    type= "mil_dot";
    colorName="ColorRed";
    fillName="Vertical";
    alpha = 1;
    a=1.3;
    b=1.3;
    atlOffset = 0;
};

This is one of my own from my mission.sqm

class Item20

{
            dataType="Marker";
            position[]={28211.1,0,25644.301};
            name="ExileMarker21";
            text="Bandit territory";
            type="ExileContaminatedZoneIcon";
            colorName="ColorBrown";
            id=105;
            atlOffset=-24.540119;

  };

 

The one of your own is a contaminated zone icon. i am just trying to get the mil_dot icons working. and the ones you posted both dont work... thanks for trying though

Share this post


Link to post
Share on other sites
Advertisement
  • 0
4 hours ago, Rhyno said:

The one of your own is a contaminated zone icon. i am just trying to get the mil_dot icons working. and the ones you posted both dont work... thanks for trying though

May have to load them dynamically from an sqf file if you want a mil_dot marker. hope this helps.

 

			_markerstr = createMarker ["marker_name", [9000,2500]]; // create market named... at...
			_markerstr setMarkerType "mil_dot"; // type of marker to make.
			_markerstr setMarkerShape "ELLIPSE"; // if you want a circle around marker
			_markerstr setMarkerColor "ColorBlue"; // what color to make it
			_markerstr setMarkerBrush "SolidBorder"; // how to fill the circle
			_markerstr setMarkerAlpha 0.25; // how visible 0 is transparent 1 is solid
			_markerstr setMarkerSize [100,100];// how large of a circle in meters

 

Share this post


Link to post
Share on other sites
  • 0
9 minutes ago, geekm0nkey said:

May have to load them dynamically from an sqf file if you want a mil_dot marker. hope this helps.

 


			_markerstr = createMarker ["marker_name", [9000,2500]]; // create market named... at...
			_markerstr setMarkerType "mil_dot"; // type of marker to make.
			_markerstr setMarkerShape "ELLIPSE"; // if you want a circle around marker
			_markerstr setMarkerColor "ColorBlue"; // what color to make it
			_markerstr setMarkerBrush "SolidBorder"; // how to fill the circle
			_markerstr setMarkerAlpha 0.25; // how visible 0 is transparent 1 is solid
			_markerstr setMarkerSize [100,100];// how large of a circle in meters

 

Thanks for reply. will attempt

Share this post


Link to post
Share on other sites
Advertisement

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.