humpabry

[SOLVED] custom spawn points

18 posts in this topic

Credits to - VJ - for helping me with this one:

You add the following in the mission.sqm

Under class Markers

class Item[Insert Number]
        {
            position[] = {x,z,y};
            name = "NameOfSpawnPoint";
            text = "This is the text players will see";
            type = "ExileSpawnZone";
        };

also don't forget to increase items = x; by how many more markers you are adding

You also need to change the number of items showing (next to classMarkers I think) to however many you have added.

Also, make sure you dont make the mistake I did and put the co-ords in as X, Y, Z. They need to be in as X, Z, Y (horizon, height, vertical)

  • Like 5

Share this post


Link to post
Share on other sites
Advertisement

need some help please i adding some more spawns  but dont seem to be working  ?

posted  my code  some thing a drift ? some were just cant see it

    class Markers
    {
        items = 13;
        class Item0
        {
            position[] = {3874.3633,18.12563,13280.79};
            name = "SpawnKavala";
            text = "Kavala";
            type = "ExileSpawnZone";
        };
        class Item1
        {
            position[] = {9926.529,12.364729,12083.253};
            name = "SpawnZaros";
            text = "Zaros";
            type = "ExileSpawnZone";
        };
        class Item2
        {
            position[] = {20978.37,27.78056,7045.6055};
            name = "SpawnSelekano";
            text = "Selekano";
            type = "ExileSpawnZone";
        };
        class Item3
        {
            position[] = {17137.752,15.032475,12719.362};
            name = "SpawnPrygos";
            text = "Pyrgos";
            type = "ExileSpawnZone";
        };
        class Item4
        {
            position[] = {25713.313,20.344301,21329.576};
            name = "SpawnSofia";
            text = "Sofia";
            type = "ExileSpawnZone";
        };
        class Item5
        {
            position[] = {8612.528,180.58038,18272.271};
            name = "SpawnSyrta";
            text = "Syrta";
            type = "ExileSpawnZone";
        };
        class Item7
        {
            position[] = {20815.254,55.546757,16975.455};
            name = "SpawnParos";
            text = "Paros";
            type = "ExileSpawnZone";
        };
        class Item8
        {
            position[] = {13882.778,20.1245,18882.066};
            name = "SpawnAthira";
            text = "Athira";
            type = "ExileSpawnZone";
        };
        class Item9
        {
            position[] = {17831.3,17980.6,0.00166035};
            name = "SpawnKalithea";
            text = "Kalithea";
            type = "ExileSpawnZone";
        };            
        class Item10
        {
            position[] = {14599.966,22.349989,16797.193};
            name = "TraderCityMarker";
            text = "Mafia Trader City";
            markerType = "ELLIPSE";
            type = "ExileTraderZone";
            colorName = "ColorBlue";
            fillName = "SolidBorder";
            a = 175;
            b = 175;
            drawBorder = 1;
        };
        class Item11
        {
            position[] = {23334.605,4.009558,24188.938};
            name = "TraderZoneSilderas";
            text = "Silderas Trader City";
            markerType = "ELLIPSE";
            type = "ExileTraderZone";
            colorName = "ColorBlue";
            fillName = "SolidBorder";
            a = 175;
            b = 175;
            drawBorder = 1;
        };
        class Item12
        {
            position[] = {2998.0603,3.775602,18175.479};
            name = "TraderZoneFolia";
            text = "Folia Trader City";
            markerType = "ELLIPSE";
            type = "ExileTraderZone";
            colorName = "ColorBlue";
            fillName = "SolidBorder";
            a = 175;
            b = 175;
            drawBorder = 1;
        };

    };

Share this post


Link to post
Share on other sites

Your also using the co-ords the wrong way for this. Its all backwards!

Instead of;

     class Item9
        {
            position[] = {17831.3,17980.6,0.00166035};
            name = "SpawnKalithea";
            text = "Kalithea";
            type = "ExileSpawnZone";
        };  

is should be;

     class Item9
        {
            position[] = {17831.3,0.00166035,17980.6};
            name = "SpawnKalithea";
            text = "Kalithea";
            type = "ExileSpawnZone";
        };  

Hope that helps

 

~iCE

Share this post


Link to post
Share on other sites

Scratch that I got it

Instead of scratching that, can you share what you did?  That would be helpful.  :)  (update) I found out the answer and will share it here.  To read/edit an sqm type file like the mission.sqm; download a program called eliteness.  If you open it and it says you are missing something, note which files are missing and get them here https://dev.withsix.com/projects/mikero-pbodll/files

Edited by Tesh
UPdate

Share this post


Link to post
Share on other sites
Advertisement
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.