Jump to content
Sign in to follow this  
zxc

Can u choose your own death?

Recommended Posts

I know that when u die in multiplayer games, You can either:

1) Respawn after a few seconds like in "capture the flag" maps

2) Respawn by taking the place of the next AI in your squad (untill there's nobody left)

3) Remain dead till the end of the game.

My question is:

Can we choose the type of death when editing?? Is there a command for that??

I also have problems extracting most of the single missions using Depbo: it extracts the mission, I put it in User\missions then launch the editor, find it and load it then... an empty map appears. sad.gif Why?

Share this post


Link to post
Share on other sites

In missions with specific respawn settings there is a file named description.ext that determines the parameters of the mission. It can contain info like this:

respawn=3;

respawndelay=10;

onLoadMission="<mapname>"

titleParam1 = "Time:";

valuesParam1[] = {10000, 20, 300, 600, 900, 1200, 1500, 1800, 2700, 3600, 7200};

defValueParam1 = 2700;

textsParam1[] = {"Unlimited", "20 Seconds", "5 min", "10 min", "15 min", "20 min", "25 min", "30 min", "45 min", "1 hour", "2 hours"};

titleParam2 = "Score to Win:";

valuesParam2[] = {10000, 1, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 60, 70, 80, 90, 100, 120, 140, 160, 180, 200, 250, 300};

defValueParam2 = 10000;

textsParam2[] = {"Unlimited", 1, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 60, 70, 80, 90, 100, 120, 140, 160, 180, 200, 250, 300};

class CfgSounds

{

sounds[] = { UCapture };

class UCapture

{

name = "UCapture";

sound[] = {"UCapture.ogg", 10, 1.0};

titles[] = { };

};

};

The area that says respawn=3 is the kind of respawn it will be. Respawn 3 means you'll spawn at a predtermined area that you mark on the map with a marker named respawn_west and respawn_east for the NATO and Soviet teams.

There are other kinds of respawn but I don't remember their specific numbers. You could also put in respawn="BASE" which is the same as 3. There's also "INSTANT" which means you respawn where you died.

you should look at the tutorials on this website for more info:

http://www.ofpeditingcenter.com/

Share this post


Link to post
Share on other sites

Thankx very much, very useful info u provided here smile.gif  smile.gif

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  

×