Jump to content
Sign in to follow this  
nevbox

Custom Map Marker Config

Recommended Posts

I found out how to do this, unfortunately didn't see other addons before hand, but either way thought I'd share.

class CfgMarkers {
class b_unknown;	// External class reference

	class mrk_dickbut : b_unknown {
	name = "dickbut";
	icon = "\NVBX_UI\markers\dickbut.paa";
	shadow = true;
	scope = 1;
	color[] = {1, 1, 1, 1};
};


//		class mrk_name : b_unknown { TEMPLATE
//		name = "name";
//		icon = "\.pboname\markers\name.paa";
//		shadow = true;
//		scope = 1;
//		color[] = {1, 1, 1, 1};
//	};




};

Markers must be in arma format pixels 2^x and squares are best as rectangles will be shrunk to squares. I haven't tried other file formats, but they may work.

Enjoy.

EDIT: Sample pbo

https://dl.dropboxusercontent.com/u/178588179/Markers%20Sample.rar

Scope

scope = 1 usable in editor, not for players ingame

scope = 2 usable in editor and by players ingame

scope = 0 doesn't show up in editor or ingame, usable by editing the mission.sqm and putting the marker class name in.

eg

class Item0

{

position[]={14221.979,35.282413,18921.215};

name="marker";

text="Enemy";

type="mrk_dickbut";

colorName="ColorRed";

angle=-0.40435001;

};

Scope = 0 can cause errors to pop up for users.

Edited by Nevbox
b_unknown instead of Empty

Share this post


Link to post
Share on other sites

you think that line of work markert consigio hello? could you help me with that, carry on trying unsuccessfully days

Share this post


Link to post
Share on other sites

Hi Nevbox.

I am very interested in this code here. Could you let me know where you put this packed PBO? And did you sign it?

I have tried using it in the server "Addons" folder. I signed it but it returns a error. \no entry config.bin/cfgMarkers.mrk_Cvehiclestore.paa

Is it best used in the mission PBO? That would be ideal!

Any help would be greatly appreciated.

Thanks mate.

Share this post


Link to post
Share on other sites
Hi Nevbox.

I am very interested in this code here. Could you let me know where you put this packed PBO? And did you sign it?

I have tried using it in the server "Addons" folder. I signed it but it returns a error. \no entry config.bin/cfgMarkers.mrk_Cvehiclestore.paa

Is it best used in the mission PBO? That would be ideal!

Any help would be greatly appreciated.

Thanks mate.

It's not signed. Should work fine with other addons. The sample .pbo is just to help you make your own. Can't be done in a mission.

Share this post


Link to post
Share on other sites

Yup, so i have found out that this cannot be done in a mission. I would have to create an addon.

All goods, thanks for the reply mate.

Share this post


Link to post
Share on other sites

Thanks for sharing Nevbox. Very handy!

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  

×