Jump to content
Sign in to follow this  
LoOni3r

Custom Map Maker

Recommended Posts

hi Guys,

 

 

I want to insert a map marker. Arma reports not found.

 

I have a mistake here?

 

thanks

description.ext
class CfgMarkers
{
    class Markers
    {
        name = "BusStop";
        icon = "\A3\ui_f\data\Map\MapControl\busstop_CA.paa";
        color[] = {1,0,0,1};
        size = 32;
        shadow = 1;
        scope = 0;
    };
};

...
and other sqf
...

_mkr setMarkerType "BusStop";

 

 

Share this post


Link to post
Share on other sites

 

No .. I'm not sure if the marker path is correct

 

 

I have the for testing busstop_CA.paa filed in the top missions folder and icon = "busstop_CA.paa";' used without success

Share this post


Link to post
Share on other sites

class CfgMarkers{...} I have in the Description.ext recorded and reloaded eden

 

 

that's what it looks like right now with me

 

  Description:

class CfgMarkers
{
	class Flag
	{
		name = "BusStop";
		icon = "busstop.paa";
		color[] = {1, 0, 0, 1};
		size = 32;
		shadow = true;
		scope = 2;
	};
};

other sqf

....
_mkrname = ["BusStop",getPos _x] joinString "";
_mkr = createMarker [_mkrname, getPos _x];
_mkr setMarkerType "BusStop";
_mkr setMarkerText "";
...

 

Share this post


Link to post
Share on other sites

As @opusfmspol said, cfgMarkers is not supported in Description.ext. You can't add a custom marker that way, you need to make an addon.

Share this post


Link to post
Share on other sites

 

aso is not supported. sorry i understood the opposite.

 

then I have to see how I do it with an addon. I've never had that before.

 

 

many thanks for your help

Share this post


Link to post
Share on other sites

Hello,

 

 

I have now created my own addon.

 

class CfgPatches{ 
    class Config_Test_Markers
    { 
        units[] = {}; 
        weapons[] = {}; 
        requiredVersion = 0.1; 
        requiredAddons[] = {}; 
    }; 
};

class CfgMarkerClass
{
	class testcategory
	{
		displayname = "test category";
	};
};


class CfgMarkers
{
	class testcategory
    {
        name = "BusStop";
        icon = "\A3\ui_f\data\Map\MapControl\busstop_CA.paa";
        color[] = {1,0,0,1};
        size = 32;
        shadow = 1;
        scope = 2;
		markerClass = "testcategory";
    };
};

 

for my understanding that should work. Arma doesn't like it and crashes.

 

do I have to look for something else 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
Sign in to follow this  

×