Jump to content
Sign in to follow this  
chrizzo

Respawn Script?

Recommended Posts

How do add a respawn for west and east? After dead respawn on marker point?

Share this post


Link to post
Share on other sites

oh okay its the same like in ofp1 and arma2 ^^

this file should be in the same folder as mission.sqm right?

Edited by chrizzo

Share this post


Link to post
Share on other sites

the spawn define you do in the description.ext

Here a Example:

respawn = "BASE";

respawnDelay = 1;

respawnDialog = 1;

disabledAI = 1;

minScore = 0;

maxScore = 50;

class Header

{

gameType = TDM;

minPlayers = 2;

maxPlayers = 10;

};

Share this post


Link to post
Share on other sites

So I went to my MPMissions-folder and made a file named description.ext with the code you provided:

respawn = "BASE";
respawnDelay = 1;
respawnDialog = 1;
disabledAI = 1;
minScore = 0;
maxScore = 50;

class Header
{
gameType = TDM;
minPlayers = 2;
maxPlayers = 10;
};

Next I put a marker on the ground with the name respawn_west and a blufor-player (me).

Then I converted it to a mp mission and fired it up.

Now, when I die, I still don't respawn, but turn into a bird after like 20 seconds and the game ends.

Could anybody help me please?

(And once that works... when I put more playable units onto the map and my friends join, they spawn as a bird from the beginning...)

Thank you!

Toxx

Share this post


Link to post
Share on other sites

Try changing

respawn = "BASE";

to

respawn = 3;

and adding a marker in the editor with the name 'respawn_west' (no quotes)

Edited by CreepyBumbleBee

Share this post


Link to post
Share on other sites

No problem, for the other teams just add markers with these names.

Blufor: respawn_west

Independent: respawn_guerrila

Opfor: respawn_east

Civilian: respawn_civilian

Share this post


Link to post
Share on other sites

okay :)

well onto the next problem: my friends still sometimes spawn as a sea gull. how can I fix that?

Share this post


Link to post
Share on other sites

I could always get the base respawn to work, but what if I want them to spawn on other teammates in their squad? Not AI, but actual teammates. I need this for 6 man Co-Ops that I run with some friends, one of them has an infamous ability to always manage to get shot in the face in the very beginning of every engagement. (Not even kidding, there has been times where he was in the back or in a helicopter and we'd see one tracer round and it'd hit him right in the face, instant death, every time.)

Share this post


Link to post
Share on other sites

Here is a legitimate question, is the respawn functionality fixed for the duration of the mission being that it is in the description.ext? Or could the respawn be turned off dynamically like other traditional triggers as in trigger=false etc? I would like to allow for respawn untill a certain objective has been completed by one side on mp, therefore disabling respawn for one side only dynamically during the mission.

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
Sign in to follow this  

×