Jump to content

Custom respawn Load-Out for players, donators, and admins


Scaris

Recommended Posts

donator_list changed on donor_list in StartingLoadout.sqf. Nothing has changed. Or is it a problem in position in classs  sensors   .  position  [] = {23600.3,0.23,18000.1}; This posytion is at Altis so I think. And what the position is on Chernarus?

 

IPJW1BD.png

Link to comment
Share on other sites

all the time I try to run. No effect. I am still without gear. Can someone check again whether it is correct.

 

when used admin_list

 

FCDgo21.png

 

 

 

whether here is a correctly?

 

 

bqjT6xd.png

 

 

 

 

when used donor_list

 

 

0Vkr6MY.png

 

 

I changed donator_list on donor_list

 

 

 

 

kiscLjW.png

 

 

 

 

 

init.sqf

 

QgBuj7J.png

 

 

 

mission.sqm I changed here position []={23600.3,0.23,18000.1};  on

position[]={1025.23,2024.04,0.233403};   because I use Chernarus not Altis . But the position I'm not sure

 

 

 

 

47lg1lD.png

 

 

grid position each time is a little different

 

 

qkgcR6K.jpg

 

 

position  M3Editor  .  This position, I'm not sure

 

1c2mppR.png

 

 

 

 

onPlayerRespawn.sqf

 

HKqo0l4.png

 

publicvariable.txt

 

xA9zfWR.png

 

 

does anyone have it on Chernarus? I could show by example what it looks like for him and give the the correct position.Sorry for poor English

Link to comment
Share on other sites

It isn't going to work until you set the correct world space for the cloning room... Right now the sensor is pointing to somewhere else on the map. It's not that hard to get the location on your own and put it in. I use an in-game stat bar that gives it for me, but I am sure there are other options.

Link to comment
Share on other sites

donator_list changed on donor_list in StartingLoadout.sqf. Nothing has changed. Or is it a problem in position in classs  sensors   .  position  [] = {23600.3,0.23,18000.1}; This posytion is at Altis so I think. And what the position is on Chernarus?

 

I trying this: 1024.85,2023.52,0.224995 but it doesn't work then I hanged in onPlayerRespawn.sqf

if((player distance cloneroomsafezone) < 25) then

to that

if((player distance [1024.85,2023.52,0.224995]) < 25) then 

and it works

Link to comment
Share on other sites

I trying this: 1024.85,2023.52,0.224995 but it doesn't work then I hanged in onPlayerRespawn.sqf

if((player distance cloneroomsafezone) < 25) then

to that

if((player distance [1024.85,2023.52,0.224995]) < 25) then 

and it works

 

You should be putting the location in the mission file for the sensor location, not in the onPlayerRespawn.sqf. I have no idea what is going to break doing it that way.

Link to comment
Share on other sites

I typed in mission.sqm  without changes does not work

 

class Sensors
{
items=1;
class Item0
{
position[]={1024.85,2023.52,0.224995};
a=50;
b=50;
activationBy="ANY";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="cloneroomsafezone";
expCond = "";
expActiv="";
expDesactiv="";
class Effects
{
};
};
}; 

 

 

 

then I added  in onPlayerRespawn.sqf

if((player distance [1024.85,2023.52,0.224995]) < 25) then

 

working but 30 seconds

 

4EjGwP2.jpg

Link to comment
Share on other sites

I was trying to put cords to mission.sqm and on Altis it's work perfect, on Chernarus even witch right cords doesyn't. Any ideas ?

 

Are you sure you put the coords right? can you show me what you put for coords?

Link to comment
Share on other sites

OK so you need to look at your createvehicle.log and see what is flagging the restriction and put the exception in createvehicle.txt. I can't tell you what exceptions you need because it depends on what you decide to add with the script.. It sounds like it's working now, you just need to work out your battleye filters.

Link to comment
Share on other sites

I trying this: 1024.85,2023.52,0.224995 but it doesn't work then I hanged in onPlayerRespawn.sqf

if((player distance cloneroomsafezone) < 25) then

to that

if((player distance [1024.85,2023.52,0.224995]) < 25) then 

and it works

 

You have the coordinates wrong in the mission file:

		class Item6
		{
			position[]={1025,0,2022};
			a=50;
			b=50;
			activationBy="ANY";
			repeating=1;
			interruptable=1;
			age="UNKNOWN";
			name="cloneroomsafezone";
			expCond = "(player distance cloneroomsafezone) < 25;";
			expActiv="sleep 1; hint ""Welcome to the clone room, we've got fun and games!"";  inSafeZone = true; execVM ""custom\StartingLoadoutHC.sqf"";";
			expDesactiv="hint ""You are leaving the Safe Zone!"";  inSafeZone = false;";
			class Effects
			{
			};
		};

That is from my mission file and it works every time, check the order of the coordinates it is different in the mission file to how you have it.

Link to comment
Share on other sites

im not sure why you keep hanging in these trigger based setups as they usually fuck up at one point or anther ... i found this to quite be reliable:

_rspawnw = getMarkerPos "respawn_west";
waitUntil{!isNil "Epoch_my_GroupUID"};
//exit if player is not near spawn
if(player distance _rspawnw > 25)exitWith{};
Link to comment
Share on other sites

second_coming

 Kasztura method for me work. But I checked it what you wrote.It works very well but I have a moment information. I pressed close ( ZAMKNIJ ) and it's ok . How to get rid of this information

 

tKl2USw.png

 

That looks like a typo in the filename somewhere. There is no StartingLoadoutHC.sqf unless you made your own.

Link to comment
Share on other sites

 so I removed   execVM ""custom\StartingLoadoutHC.sqf"";";    and it is all right

 

class Item6
        {
            position[]={1025,0,2022};
            a=50;
            b=50;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="cloneroomsafezone";
            expCond = "(player distance cloneroomsafezone) < 25;";
            expActiv="sleep 1; hint ""Welcome to the clone room, we've got fun and games!""; inSafeZone = true; execVM ""custom\StartingLoadoutHC.sqf"";";
            expDesactiv="hint ""You are leaving the Safe Zone!""; inSafeZone = false;";
            class Effects
            {
            };
        };

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
×
×
  • Create New...