Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
thecoolsideofthepillow

MenuPosition Respawn Template Broken for One Team

Recommended Posts

I always have problems with the respawn template ><

 

I had both my teams spawning in random points on the map perfectly fine with just the respawn = 3 and marker arrangement. Then I needed to give them loadouts and allow at least one team to pick their position, so I used the respawn templates and now the green team's menu says no respawn positions available, only correctly showing their loadout.

 

I have the following markers placed on the map where I want my players to be able to spawn: respawn_independent0, respawn_independent1, respawn_independent2, respawn_independent 3, respawn_east0, respawn_east1, respawn_east2, respawn_east3, respawn_east4, respawn_east5.

 

Description.ext:

author = "The Cool Side of the Pillow";

overViewText = "The military has cordoned Altis off as an exclusion zone, but trespassers are constantly making it ashore to explore the strange things they've only heard rumors about.";

overviewPicture = "";

onLoadName = "The Zone: Altis";

loadScreen = "";

disabledAI = 1;

joinUnassigned = false;
 
class Header

{

 gameType = sandbox;

 minPlayers = 1;

 maxPlayers = 32;

};
 
respawn = 3;

respawnDelay = 25;

respawnDialog = 1;

respawnTemplates[] = {"MenuInventory","MenuPosition"};

respawnOnStart = 1;
 
class cfgRespawnInventory

{

 class STALKER

 {

  displayName = "Newbie STALKER";

  icon = "\A3\Ui_f\data\GUI\Cfg\Ranks\sergeant_gs.paa";

  

  weapons[] = {

   "hgun_P07_F",

   "Binocular"

  };

   magazines[] = {

    "16Rnd_9x21_Mag",

    "16Rnd_9x21_Mag",

    "16Rnd_9x21_Mag",

    "16Rnd_9x21_Mag"

   }; 

  items[] = {

   "FirstAidKit"

  };

  linkedItems[] = {

   "ItemMap",

   "ItemCompass",

   "ItemWatch"

  };

  uniformClass = "U_IG_Guerilla1_1";

 };

 class ARMY

 {

  vehicle = "O_Soldier_SL_F"

 };

};

Init.sqf:

_gear = [independent, "STALKER"] call BIS_fnc_addRespawnInventory;

_gear = [east, "ARMY"] call BIS_fnc_addRespawnInventory;

_nil = execVM "radiationzone.sqf";

Share this post


Link to post
Share on other sites

I fixed the green team's spawn problem by forcibly adding their spawns to the spawn list

_stalkSpawn = ["respawn_independent0","respawn_independent1", "respawn_independent2", "respawn_independent3"];
_armyspawn = ["respawn_east0", "respawn_east1", "respawn_east2", "respawn_east3", "respawn_east4", "respawn_east5"];
{_spawnposgrn = [independent, _x] call BIS_fnc_addRespawnPosition;} forEach _stalkSpawn;
{_spawnposred = [east, _x] call BIS_fnc_addRespawnPosition;} forEach _armyspawn;

They are able to spawn now, at least, however it's using *every* spawn point, including OPFOR's, so there's a huge chance a green team player spawns in OPFOR's bases just to get shot. At first I thought it was not using the addRespawnPosition for red, but even after doing that, green team is still spawning at all of the spawn points and not just theirs.

Share this post


Link to post
Share on other sites

Respawn markers for independent side are named respawn_guerrila, see Arma 3 Respawn Community Wiki page for more info.

Share this post


Link to post
Share on other sites

Other respawn markers are listed below:

- respawn_opfor

- respawn_blufor

- respawn_civ

Share this post


Link to post
Share on other sites

Other respawn markers are listed below:

- respawn_opfor

- respawn_blufor

- respawn_civ

I'm afraid these are not valid side respawn marker names. Please check the Community Wiki link I've posted.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×