Jckz (Youtube)

Marker Help

4 posts in this topic

How do I use the Marker code that is given form the 3DEN plugin?

class Entities
{
    class Item1
    {
        dataType = "Marker";
        position[] = {12111.4, 0, 12625.6};
        name = 
        text = "";
        type = "ExileAircraftTraderIcon";
        id = 101;
        atlOffset = 0;
    };
    class Item2
    {
        dataType = "Marker";
        position[] = {8827.99, 0, 11640.9};
        name = "ExileMarker2";
        text = "";
        markerType = "ELLIPSE";
        type = "ExileTraderZone";
        colorName = "ColorBlack";
        fillName = "Border";
        a = 150;
        b = 150;
        drawBorder = 1;
        id = 102;
        atlOffset = 0;
    };
    class Item3
    {
        dataType = "Marker";
        position[] = {8827.99, 0, 11640.9};
        name = "ExileMarker3";
        text = "";
        type = "ExileTraderZoneIcon";
        id = 103;
        atlOffset = 0;
    };
    class Item4
    {
        dataType = "Marker";
        position[] = {6320.31, 0, 7803.25};
        name = "ExileMarker4";
        text = "";
        markerType = "ELLIPSE";
        type = "ExileTraderZone";
        colorName = "ColorBlack";
        fillName = "Border";
        a = 150;
        b = 150;
        drawBorder = 1;
        id = 104;
        atlOffset = 0;
    };
    class Item5
    {
        dataType = "Marker";
        position[] = {6320.31, 0, 7803.25};
        name = "ExileMarker5";
        text = "";
        type = "ExileTraderZoneIcon";
        id = 105;
        atlOffset = 0;
    };
    class Item6
    {
        dataType = "Marker";
        position[] = {12046.1, 0, 9097.79};
        name = "ExileMarker6";
        text = "";
        markerType = "ELLIPSE";
        type = "ExileSpawnZone";
        colorName = "ColorBlack";
        alpha = 0;
        fillName = "Border";
        a = 1;
        b = 1;
        drawBorder = 1;
        id = 106;
        atlOffset = 0;
    };
    class Item7
    {
        dataType = "Marker";
        position[] = {12046.1, 0, 9097.79};
        name = "ExileMarker7";
        text = "";
        type = "ExileSpawnZoneIcon";
        id = 107;
        atlOffset = 0;
    };
    class Item8
    {
        dataType = "Marker";
        position[] = {13425.1, 0, 6265.54};
        name = "ExileMarker8";
        text = "";
        markerType = "ELLIPSE";
        type = "ExileSpawnZone";
        colorName = "ColorBlack";
        alpha = 0;
        fillName = "Border";
        a = 1;
        b = 1;
        drawBorder = 1;
        id = 108;
        atlOffset = 0;
    };
    class Item9
    {
        dataType = "Marker";
        position[] = {13425.1, 0, 6265.54};
        name = "ExileMarker9";
        text = "";
        type = "ExileSpawnZoneIcon";
        id = 109;
        atlOffset = 0;
    };
    class Item10
    {
        dataType = "Marker";
        position[] = {10344.6, 0, 2133.2};
        name = "ExileMarker10";
        text = "";
        markerType = "ELLIPSE";
        type = "ExileSpawnZone";
        colorName = "ColorBlack";
        alpha = 0;
        fillName = "Border";
        a = 1;
        b = 1;
        drawBorder = 1;
        id = 110;
        atlOffset = 0;
    };
    class Item11
    {
        dataType = "Marker";
        position[] = {10344.6, 0, 2133.2};
        name = "ExileMarker11";
        text = "";
        type = "ExileSpawnZoneIcon";
        id = 111;
        atlOffset = 0;
    };
    class Item12
    {
        dataType = "Marker";
        position[] = {6808.35, 0, 2568.98};
        name = "ExileMarker12";
        text = "";
        markerType = "ELLIPSE";
        type = "ExileSpawnZone";
        colorName = "ColorBlack";
        alpha = 0;
        fillName = "Border";
        a = 1;
        b = 1;
        drawBorder = 1;
        id = 112;
        atlOffset = 0;
    };
    class Item13
    {
        dataType = "Marker";
        position[] = {6808.35, 0, 2568.98};
        name = "ExileMarker13";
        text = "";
        type = "ExileSpawnZoneIcon";
        id = 113;
        atlOffset = 0;
    };
    class Item14
    {
        dataType = "Marker";
        position[] = {3666.24, 0, 2477.93};
        name = "ExileMarker14";
        text = "";
        markerType = "ELLIPSE";
        type = "ExileSpawnZone";
        colorName = "ColorBlack";
        alpha = 0;
        fillName = "Border";
        a = 1;
        b = 1;
        drawBorder = 1;
        id = 114;
        atlOffset = 0;
    };
    class Item15
    {
        dataType = "Marker";
        position[] = {3666.24, 0, 2477.93};
        name = "ExileMarker15";
        text = "";
        type = "ExileSpawnZoneIcon";
        id = 115;
        atlOffset = 0;
    };
    items = 15;
};

 

Share this post


Link to post
Share on other sites
Advertisement


i having sometimes the same problem, test follow make another marker

    class Item0
    {
        dataType = "Marker";
        position[] = {12111.4, 0, 12625.6};
        name = 
        text = "";
        type = "ExileAircraftTraderIcon";
        atlOffset = 0;
    };

put this befor class Item1 and change

 items = 15;

too

items = 16;

i have also problem with the EdenPlugin and the markers but with my last work on the mission.sqm its works after trying this

Share this post


Link to post
Share on other sites

the eden editor exports the code a little different from old mission.sqm format, instead of the markers having their own class, things are now grouped as entities.

first off if you look at the top of your mission.sqm

you will see something like

 

class ItemIDProvider
	{
		nextID=154;
	};

your nextID will always be the next number after adding the last new object

in your example you have your items=15; at the bottom which may be ok, but its usually something like:

class Entities
	{
		items=16;
		class Item0 {

now you will also notice 1 other class in there

class Item#
		{
			dataType="Group";
			side="Independent";
			class Entities
			{
				items=100;
				class Item0
				{

so you also have to account for that as an ID, so your actual count would then be 17

If you have other items in your list as well you need to count those

you have to think in groups.

you have
 

class Mission
{

	class Entities
    {
		items=4;
		class Item0
		{
		#data here
		};

		class Item1
		{
		#data here
		};

		class Item2
		{
		#data here
		};
		class Item3
		{
			dataType="Group";
			side="Independent";
			class Entities
			{
				items=3;
				class Item0
				{
				#data here
				};

				class Item1
				{
				#data here
				};

				class Item2
				{
				#data here
				};
	};
};

 

1 person likes this

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

  • Recently Browsing   0 members

    No registered users viewing this page.