Jump to content

Change the location of the Spawn Box (Debug_Box)


Heath

Recommended Posts

Hi guys,

 

Just wondering if anyone has been able to move the spawn box to a different location?

 

example. I would like users to spawn in on a base that has been build in the middle of the ocean, and then teleport from there.

 

any help would be extremely appreciated.

 

Thanks in advance,

 

Heath.

Link to comment
Share on other sites

  • 4 months later...

when i change the coords its does nothing ? still spawns in the same place, do the coords have to be for outside the map ? 

You can make also sensor zone from old spawn box to new one. Then you need to add teleports from new spawn zone, thats all.

mission.sqm

	class Sensors
	{
		class Item0 {
			name = "tp_to_new_spawn";
			position[] = {23600.1,0.1,18000.1};    //old spawn                                                     
			a = 5;
			b = 5;
			angle = 1;
			activationBy = "ANY";
			repeating = 1;
			interruptable = 1;
			age = "UNKNOWN";
			expCond = "(vehicle player) in thislist;";
            expActiv="dome = execVM ""tp_to_new_spawn.sqf"";";
			expDesactiv="terminate dome;";
			class Effects{};
	};	
};
tp_to_new_spawn.sqf
player setpos [24045.8, 18115.1, 0.1]; //new spawn box cords

@EpochHive\addons\a3_epoch_server_settings\configs\maps\altis.H

	telePos[] = {                      //FROM SPAWN BOX CORDS                 TO TRADER CITY CORDS                              
			{ "Transport_C_EPOCH", { -0.286865, 8.17383, -10.3098 }, "", { 5479.5, 15000.2, 0.16426 } }, // Trader city 1
			{ "Transport_W_EPOCH", { -14.4316, 0.112793, -10.3098 }, "", { 13355.46, 14565, 0.00154114 } }, // Trader city 2
			{ "Transport_E_EPOCH", { 13.5127, 0.410156, -10.3098 }, "", { 25207.9, 21827.1, 0.00143814 } }, // Trader city 3
			{ "Transport_E_EPOCH", { 13.1127, 0.410156, -10.3098 }, "", { 20089.9, 7333.1, 0.00143814 } } // Trader city 4	
	};

 

 

You  can also make your own custom spawn box.

Here is example how i do it for my server:

 

Edited by SadBoy1981
Link to comment
Share on other sites

3 stages of Debug box, made  with m3editor

I was playing around with  it .. damn that spawn box you have there must block out the sun LOL .. would be ok in salt flats .. hard to make one that big in Bornholm .. looks out of place :) Wist there was rocks like in a2 editor you  cover the box in .. make a mountain on top  and around  the box lol

Link to comment
Share on other sites

 

 

So the Old spawn  is my West spawn .. here is my mission.sqm cords currently , and I tried changing them in the mission.sqm .. I used the manhole cords from m3editor to replace the below center,east, west .. that was a no go .. spawning in a debug in the ocean.. and no manholes lol .. obviously I hosed something .. or just don't follow lol ..  Using the mission.sqm method ..

I'm going to try your method after some sleep .. 4 hrs sleep last night .. and its 2am now .. I should have went to bed 4 hrs ago  LOL

SO the OLD SPAWN , as listed from your post.. this is the west cord from the mission file  here  position[]={13928.659,96.514503,6557.8701}; as shown from my sqm below .. correct ?

And the class sensor code would that be added to what position in the mission.sqm ? Above class makers ? 

Ok Im rambling lol .. maybe you can make sense of what Im saying lol

class Markers
    {
        items = 3;
        class Item0
        {
            position[] = {10058.347,117.54227,9015.848};
            name = "center";
            type = "Empty";
        };
        class Item1
        {
            position[]={13928.687,96.518669,6557.8232};
            name="respawn_east";
            type="Empty";
        };
        class Item2
        {
            position[]={13928.659,96.514503,6557.8701};
            name="respawn_west";
            type="Empty";

 
Link to comment
Share on other sites

 

So the Old spawn  is my West spawn .. here is my mission.sqm cords currently , and I tried changing them in the mission.sqm .. I used the manhole cords from m3editor to replace the below center,east, west .. that was a no go .. spawning in a debug in the ocean.. and no manholes lol .. obviously I hosed something .. or just don't follow lol ..  Using the mission.sqm method ..

I'm going to try your method after some sleep .. 4 hrs sleep last night .. and its 2am now .. I should have went to bed 4 hrs ago  LOL

SO the OLD SPAWN , as listed from your post.. this is the west cord from the mission file  here  position[]={13928.659,96.514503,6557.8701}; as shown from my sqm below .. correct ?

And the class sensor code would that be added to what position in the mission.sqm ? Above class makers ? 

Ok Im rambling lol .. maybe you can make sense of what Im saying lol



 

Yes, add sensor class above markers. 

position[] = {23600.1,0.1,18000.1};    //old spawn 

This must be default altis spawn box cords. Centr of spawn box

Just make 

tp_to_new_spawn.sqf

and add into :

player setpos [24045.8, 18115.1, 0.1]; //new spawn box cords

To make new teleports from new spawn box add in altis.h located

@EpochHive\addons\a3_epoch_server_settings\configs\maps\altis.H

	telePos[] = {                      //FROM SPAWN BOX CORDS                 TO TRADER CITY CORDS                              
			{ "Transport_C_EPOCH", { -0.286865, 8.17383, -10.3098 }, "", { 5479.5, 15000.2, 0.16426 } }, // Trader city 1
			{ "Transport_W_EPOCH", { -14.4316, 0.112793, -10.3098 }, "", { 13355.46, 14565, 0.00154114 } }, // Trader city 2
			{ "Transport_E_EPOCH", { 13.5127, 0.410156, -10.3098 }, "", { 25207.9, 21827.1, 0.00143814 } }, // Trader city 3
			{ "Transport_E_EPOCH", { 13.1127, 0.410156, -10.3098 }, "", { 20089.9, 7333.1, 0.00143814 } } // Trader city 4	
	};

Just edit cords where your new teleports must to be, and also destination cords to traders or some other custom places.

Link to comment
Share on other sites

  • 3 months later...
9 hours ago, Robio said:

Did you edit your mission.sqm with your coord's?

What I've done is got rid of the clone box, so player spawn straight into my new clone room, I've always got it working, my problem here is I'm not sure how to get offsets and that's my biggest problem, 

9 hours ago, Robio said:

Did you edit your mission.sqm with your coord's?

 

Link to comment
Share on other sites

2 minutes ago, kayzee said:

What I've done is got rid of the clone box, so player spawn straight into my new clone room, I've always got it working, my problem here is I'm not sure how to get offsets and that's my biggest problem, 

 

My problem here is I can't get tp holes to appear on the ground cos epoch don't use old style chords like before, rather offsets, which I'm not sure how get them 

Link to comment
Share on other sites

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
  • Advertisement
  • Discord

×
×
  • Create New...