• 0
Flow

[SOLFED] Custom spawn zones in 1.10

Question

Posted (edited)

Hey guys,

tried to add two more spawnpoints but they don't work. Added this at the bottom of mission.sqm but they don't show up in the  menu. Any hint would be great

cheers

	class Item58
	    {
	        dataType = "Marker";
			position[] = {5961.29, 0, 10053.7};
	        name = "ExileMarker58";
	        text = "Georgtown";
	        type = "ExileSpawnZoneIcon";
	        id = 158;
	        atlOffset = 0;
	    };
		class Item59
	    {
	        dataType = "Marker";
			position[] = {10497.5, 0, 10612.2,0};
	        name = "ExileMarker59";
	        text = "Imona";
	        type = "ExileSpawnZoneIcon";
	        id = 159;
	        atlOffset = 0;
	    };

 

Edited by Flow

Share this post


Link to post
Share on other sites

6 answers to this question

  • 0

See if this helps, works fine for me.

Spoiler

class Item6
        {
            position[]={10513.343,6.8559303,2081.8613};
            name="SpawnElektro";
            text="Elektro";
            type="ExileSpawnZone";
            markerType="ELLIPSE";
            colorName="ColorBlack";
            fillName="Border";
            a=500;
            b=500;
            drawBorder=1;
        };

        class Item7
        {
            position[]={10513.343,6.8559303,2081.8613};
            name="SpawnElektroIcon";
            text="";
            type="ExileSpawnZoneIcon";
        };

Don't forget to update:

class Markers
    {
      

class Markers
    {
        items=20;

        class Item0

        class Item0

The amount of items ofc needs to be updated :)

Share this post


Link to post
Share on other sites
  • 0

Thanks. Totaly forgot that. Let's see at next restart if it's working.

Share this post


Link to post
Share on other sites
Advertisement
  • 0

Mmmh. Doesn't work either ^^

Share this post


Link to post
Share on other sites
  • 0
9 hours ago, Flow said:

Mmmh. Doesn't work either ^^

Odd, mine are the same as GolovaRaoul's

Snippet of mine:

Spoiler

class Item16
        {
            position[]={4558.7598,0.0013427699,21407.5};
            name="SpawnOreokastro";
            text="Oreokastro";
            type="ExileSpawnZone";
            markerType="ELLIPSE";
            colorName="ColorBlack";
            fillName="Border";
            a=500;
            b=500;
            drawBorder=1;
        };
        class Item17
        {
            position[]={4558.7598,0.0013427699,21407.5};
            name="SpawnOreokastroIcon";
            text="";
            type="ExileSpawnZoneIcon";
        };

Maybe something above it is breaking it somehow?

Share this post


Link to post
Share on other sites
  • 0

Oh. Thanks for the heads up. No i see you have to define 2 Items for a spawn. One is the marker and the other one is the spawnzone itself. So i would ne 2 more items with

type="ExileSpawnZone"

Thanks for that

Share this post


Link to post
Share on other sites
  • 0

Yep. That did the trick. Don't forget to add SpawnZoneMarker AND SpawnZone ;)

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.