• 0
5niper

DMS Static Missions on Altis: best way to disallow territories withing x radius of mission center?

Question

Running DMS and Occupation, on Altis. Wondering quickest and easiest way to "disallow building"
within x radius in meters from ai base; particularly slums, and mercenary (salt flats). And maybe
even ai island. I know I had done this once (long time ago) but my memory is not what it used to be. :)

Share this post


Link to post
Share on other sites

10 answers to this question

  • 0

This is what I added to my mission.sqm to create a no build radius for the mission. Be sure to increment your items to reflect the addition.

		class Item50
		{
	        dataType = "Marker";
	        position[] = {6571, 0, 14167};
	        name = "AIBaseMission";
	        text = "AI Base Mission";
	        markerType = "ELLIPSE";
	        type = "ExileNonConstructionZone";
	        colorName = "ColorBlack";
	        fillName = "Border";
	        alpha = 0;
	        a = 800;
	        b = 800;
	        drawBorder = 0;
	        id = 150;
	        atlOffset = 0;
		};

 

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement
  • 0

@Kurewe tried this. not working for me. wonder why.
coords for saltflats mission in dms given as [23300,18800,0],
I tried {23300, 0, 18800}, and also tried {18800, 0, 23300}, just in case I messed up coords.
But nothing shows on the map, and I can plant a territory flag right at the base too.

I did remember to change the class item number accordingly.

Share this post


Link to post
Share on other sites
  • 0

@5niper You dork...you forgot to increase the number of "items= " by +1 :$

Back to the drawing board...Let's try this again...SUCCESS! :D

Edited by 5niper

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, 5niper said:

@5niper You dork...you forgot to increase the number of "items= " by +1 :$

Back to the drawing board...Let's try this again...SUCCESS! :D

LOL... And after I specifically mentioned it too. Good deal. Glad you got it working. :rock:

Share this post


Link to post
Share on other sites
  • 0

Yeah, no I changed the number "class itemxx" but forgot to change the total (up top, at the beginning).

This worked great though. I did run into a snag. It worked so well, I thought I'd add one for the slums, and one
for the ai island too. So, I just added two more, in sequence. However, only the first one I added works.
The one I added for the slums, and for the ai island don't seem to work. What's the "id=150" for? Only for editor?
I looked in mission.sqm file, and located the highest number "id=xx", then changed the others to increase each by one.
In my case, there was an id=99, in the mission file, so I made the three "no build" I added id=100, id=101,id=102. Not sure
what that does though. Just in case the issue was just my coords, I thought I'd set the drawborder=1, so I could tell
where the areas were, to check. But it didn't draw the circles, so I can't tell.

Spoiler

        class Item26 //added for disallowing building near saltflats mission
        {
            dataType = "Marker";
            position[] = {23300, 0, 18800};
            name = "AIBaseMission";
            text = "AI Base Mission";
            markerType = "ELLIPSE";
            type = "ExileNonConstructionZone";
            colorName = "ColorBlack";
            fillName = "Border";
            alpha = 0;
            a = 800;
            b = 800;
            drawBorder = 1;
            id = 100;
            atlOffset = 0;
        };
        class Item27 //added for disallowing building near slums mission
        {
            dataType = "Marker";
            position[] = {15981.6, 0, 16253.2};
            name = "AIBaseMission";
            text = "AI Base Mission";
            markerType = "ELLIPSE";
            type = "ExileNonConstructionZone";
            colorName = "ColorBlack";
            fillName = "Border";
            alpha = 0;
            a = 800;
            b = 800;
            drawBorder = 1;
            id = 101;
            atlOffset = 0;
        };    
        class Item28 //added for disallowing building on ai island mission [1.14242,[8476.12,25125.1,0.001297]]
        {
            dataType = "Marker";
            position[] = {8476.27, 0, 25123.1};
            name = "AIBaseMission";
            text = "AI Base Mission";
            markerType = "ELLIPSE";
            type = "ExileNonConstructionZone";
            colorName = "ColorBlack";
            fillName = "Border";
            alpha = 0;
            a = 800;
            b = 800;
            drawBorder = 1;
            id = 102;
            atlOffset = 0;
        };   

 

Edited by 5niper

Share this post


Link to post
Share on other sites
  • 0

The names and the IDs of each marker should be unique. I set my IDs to match the ItemXX, as it seemed easier to keep track of.

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.