Jump to content
BiRRdYY

Respawn location naming issue in MP

Recommended Posts

Hey guys,

 

I am currently working on a mission where I want to use the respawn menu from the MenuPosition template in Description.ext. It works basically but when I add coustom respawn positions they are displayed with a generic name created automatically by the game, e.g.: "near Lavalle".

The main issue I have is that I want to label a ModuleRespwnPosition_F with a coustom name like "HQ" but it displays two spawn locations in the menu. One is the spawn with my coustom name and another duplicated one with the generic description, mentioned above. Unfortuneatly creating a classic map marker with respawn_west is not solving the problem either.

 

Do you know what happens here? I couldnt find any help how to turn those generic respawn names off.

 

Thank you!

 

 

Description.ext:

respawn = "BASE";						
respawnDelay = 3;						
respawnButton = 1;
respawnOnStart = 1;
respawnDialog = 0;
respawnTemplates[] = {"MenuPosition","Wave"};

disabledAI = 1; 						
showSquadRadar = 1;						
joinUnassigned = 0;						
disableChannels[] = {0,2,4,3};			

Share this post


Link to post
Share on other sites

Thank you! This works quite well with markes as reference points but using an 2D array as coordinations creates some Arma internal script errors.

 

So it works for me now as a workaround. The original problem is still present on local MP. When played on dedicated server it works fine as well, just the coustom name is used and no spawn is duplicated.

Share this post


Link to post
Share on other sites

I see. I just read the notes at the bottom of that Wiki page. You could try like:

[x, y, 0]

If you aren't setting the positions manually, and you get the 2D position another way. You could use this command:

https://community.bistudio.com/wiki/set

Oh... I think I misunderstood? A bit confused... The respawn position name should show?

myRespawn = [missionNamespace, (position player), "Battle Arena"] call BIS_fnc_addRespawnPosition;

 

Share this post


Link to post
Share on other sites

I am now using this code, so the 2D position error is no problem anymore:

createMarker ["marker_respawn_checkpoint", [3423.569,13736.29]];
"marker_respawn_checkpoint" setMarkerType "respawn_Inf";
"marker_respawn_checkpoint" setMarkerColor "ColorWEST";
"marker_respawn_checkpoint" setMarkerDir 160.349;
[west, "marker_respawn_checkpoint", "Checkpoint"] call BIS_fnc_addRespawnPosition;

The code above works on my dedicated server just fine. So thanks for your help. I can go on with my editing now.

 

The "problem" (or Bug) I have is, that when I die on my local MP Server the respawn positions are duplicated in the menu but with two different names. One is named "Checkpoint" and the duplictated one is named "near Lavalle" (Generic name for respawn position in Arma). You are able to spawn at both of them. It is more of a display issue than a game breaking thing and I am wondering what went wrong there from my side.

Share this post


Link to post
Share on other sites

Just delete your module of respawn position. You don't need it if you create a marker and call bis_fnc_addRespawnPosition.

Share this post


Link to post
Share on other sites
On 10.8.2017 at 10:33 PM, pierremgi said:

Just delete your module of respawn position. You don't need it if you create a marker and call bis_fnc_addRespawnPosition.

 

Yeah, thats what I did. But the problem I told you was BEFORE that code. Just with the module. The module was duplicating the entries in the respawn menu.

Share this post


Link to post
Share on other sites

Sorry for bumping an old topic, but I had this issue, too, until I removed the variable name (I had respawn_west) from the respawn location module.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×