Jump to content

Photo
- - - - -

Respawn for Editor Missions played in multiplayer


  • Please log in to reply
28 replies to this topic

#1 dkosmack

dkosmack

    Private First Class

  • Members
  • 18 posts

Posted 24 March 2011 - 06:04 AM

I created a mission in the editor and have played it online with a friend of mine, does anyone know how to make it so that when you die you can respawn? as of now, whenever one of us dies we spawn in as a crow and fly around, and if we both die we return to the lobby screen. Any help?

#2 Demonized

Demonized

    Warrant Officer

  • Members
  • 2653 posts

Posted 24 March 2011 - 06:10 AM

look here:
http://community.bis...Description.ext

click on respawn for info.

i think you only need this in a file called description.ext in your mission folder.

respawn = "BASE"; // this means base wich is a marker named respawn_west
respawndelay = 4; // this is time from death to new life

Edited by Demonized, 24 March 2011 - 06:14 AM.

My scripts:



Any new mission editor or scripter in Arma2 should have read Mr Murrays Editing Guide Deluxe at least once, it still applies for A2 even though it was made for Armed Assault.

#3 dkosmack

dkosmack

    Private First Class

  • Members
  • 18 posts

Posted 24 March 2011 - 08:01 AM

thanks, where does that information get typed in at? im still learning the editor sorry

#4 Egosa-U

Egosa-U

    Sergeant

  • Members
  • 174 posts

Posted 24 March 2011 - 08:16 AM

Suggest you read the link! Starts off with "Introduction" :rolleyes:

#5 Günter Severloh

Günter Severloh

    Major

  • Members
  • 7006 posts

Posted 24 March 2011 - 05:43 PM

How to setup a respawn for MP using a base respawn

Theres many ways to respawn but in this little tutorial we will cover a base respawn.
Note: this tutorial was built for Arma2, and Arma2OA (Arma2CO), it will work for Arma3.

Question
What is a base respawn?
A base respawn is a marker on the map placed wherever you wish to respawn.

Step one - Editor - Markers
In the editor in your mission go to markers (F6) In the list you can pick whatever
type of marker you want but for basics let just choose a flag.
Place the flag marker where you want to respawn.

Step two - Editor - Name the Marker
This next step is we will need to indicate who will respawn at this marker.
The following list is the playable respawn classes:
respawn in base. Requires a marker named:

* respawn_west ---> for Bluefor (USA)
* respawn_east ----> for Opfor (Russia, Takistani, Iranians)
* respawn_guerrila --> for Independent
* respawn_civilian

Open your marker and name it one of the above, lets go with Bluefor for now, so for Bluefor we need
respawn_west dont misspell it!

Step Three - Description.ext

Question
What is the Description.ext?
It is the script that tells the game how you will respawn, it contains codes that allows you to define many things in your
mission When editing a mission in the mission editor description.ext is only read when the mission is loaded,
not when you preview the mission.

Step three part 1 - Tools needed to create the Description.ext script

Armaedit
http://www.armaholic...age.php?id=1455

Install this tool wherever you want maybe setup a folder for game tools.

Step three part 2- Using Armaedit to create the Description.ext script
-Startup Armaedit
-Go to new file and create a new Description file (.ext)
-In the open space, place these codes:

respawn = base;
respawndelay = 5;

Refer to the Description.ext Reference for other types of respawn
http://community.bis...ion.ext#Respawn...

Option to using armaedit
Notepad instead of Armedit
Armaedit is the technical way to add the codes for respawn, an easier way is to just start a new document with notepad
and put the codes in as listed above adn then save the notepad doc as a description.ext
make sure that when you name and save the document as a description.ext that it doesn't say
description.ext.txt or the game wont be able to read the codes.

Step Four - Save the Description.ext and place into MPmissions folder
This next step you will need to save your Description.ext, and move the script to your Mpmissions folder.

Question
Where is this folder I need to place the Description.ext script?
The path for this folder is here:
Find your Arma profiles its along this path:
C:\Documents and Settings\username\My Documents\ArmA 2\MPMissions
Arma3 path - C:\Users\username\Documents\Arma 3\MPMissions

Find your mission and put the Description.ext in the folder of your mission.

This concludes this short tutorial.

Tips
* when you edit any mp missions always edit Mp missions using the basic default Arma2 game, do not edit mp missions
with a modded arma2/arma3 or you will create an addon dependency and make the mission unplayable
unless the mission has the addon, or mod present that you used when you edited the mission.

* If you are editing an mission and you are inserting units and misc and a addon, or mod is needed to do so,
then when you play that mission,the mission will require that addon, or mod to be loaded to play the mission,
without it the mission will not be playable.

* If you save your MPmission as a usermission, be sure to add all the script files and other misc files that your
Mpmission had in the folder with it when you unpbo'd it or the mission wont work as its missing files, you will find
this out the hard way if you go play the mission and a window pops up saying the something something script is missing.

* you can create mp missions in the sp mission editor, but when done just be sure that you locate the sp mission in the sp mission editor folder, and put all scripts needed in there and then export the mission in the sp editor to mp, once you export it to mp then the mission will become a pbo and can be found in your main directory in the folder mpmissions, and will show listed in the mission list for a given island the mission was built on, the color of the title should be gold or tan.
==========================
How to open Pbos and edit Mp Missions
Refer to my other tutorial:
http://forums.bistud...123&postcount=2
==========================
Hope that helps.

Edited by Günter Severloh, 06 March 2014 - 02:34 PM.
update

WarMod Series - A Massive Addon & Mod Customizable Compilation mod for Arma1, Arma2,CO & soon Arma3 IFA3
Mission Repository - Hosting Missions & Files for Iron Front: Liberation 1944
WW2Epic - A Compilation Archive of Photos, Music, Videos, & References of WW2
AI Compilation List of Addons/Mods/Scripts & Misc for Arma3

#6 Demonized

Demonized

    Warrant Officer

  • Members
  • 2653 posts

Posted 24 March 2011 - 08:56 PM

Nice Günter.
In with a teaspoon instructions.
My scripts:



Any new mission editor or scripter in Arma2 should have read Mr Murrays Editing Guide Deluxe at least once, it still applies for A2 even though it was made for Armed Assault.

#7 genrelguner

genrelguner

    Newbie

  • Members
  • 2 posts

Posted 07 January 2013 - 04:43 PM

Nice Günter.
In with a teaspoon instructions.


Im sorry but it didn't work and it was really dissaponting. I just want a simple script that i can put in the init field of a soldier and be able to edit its respawn time AFTER death. i tried the methods you gave but they didn't work.

#8 Katipo66

Katipo66

    Warrant Officer

  • Members
  • 2589 posts

Posted 07 January 2013 - 05:21 PM

Grab this
:icon_eek: :popcornsmilie:

#9 Iceman77

Iceman77

    Chief Warrant Officer

  • Members
  • 3580 posts

Posted 07 January 2013 - 05:22 PM

Put a gamelogic on the map named server.Follow demons 2nd post. Put a marker on the map named respawn_west (or respawn_east). It's probably THE simplest thing to setup for your mission.

#10 Günter Severloh

Günter Severloh

    Major

  • Members
  • 7006 posts

Posted 07 January 2013 - 07:26 PM

Im sorry but it didn't work and it was really dissaponting. I just want a simple script that i can put in the init field of a soldier and be able to edit its respawn time AFTER death.
i tried the methods you gave but they didn't work.

If it didn't work then you obviously didn't do it correctly, and you give no explanation as to what you did and didn't do,
I know the tutorial works, as this is the basic setup for a base respawn for a marker, if that not what you wanted,
it doesn't mean that it doesn't work, it dont work for what you are trying to do.

A base respawn is one of many ways to setup a respawn, and by default in the game a base respawn is nuts and bolts basic.

A base respawn requires but 3 things:

1. A marker named after the faction of your choice placed on the map somewhere you wish to respawn
2. A description.ext with the basic respawn codes:
[B]respawn = base;[/B] ([U]base[/U] is the marker you put down, the [U]faction[/U] is indicated by the marker name, that decides who respawns there)
[B]respawndelay = 3;[/B] ([U]respawndelay[/U] is the amount of [U]time[/U] before a unit respawns, in this case 3, which is 3 seconds)

3. Final is to put the description.ext into your mission folder.
=============
If something isn't working for you then ask, and be specific about what you want, as said theres many ways to respawn.
I wouldn't waste my time building a tutorial on something if I knew it didn't work, I know it works, I have used it many times
in missions over the years, as well as many others have.
WarMod Series - A Massive Addon & Mod Customizable Compilation mod for Arma1, Arma2,CO & soon Arma3 IFA3
Mission Repository - Hosting Missions & Files for Iron Front: Liberation 1944
WW2Epic - A Compilation Archive of Photos, Music, Videos, & References of WW2
AI Compilation List of Addons/Mods/Scripts & Misc for Arma3

#11 cuel

cuel

    Sergeant Major

  • Members
  • 1554 posts

Posted 07 January 2013 - 07:43 PM

Just a note, ArmaEdit isn't really required, notepad (or the text editor of your choice) works perfectly fine as long as you know how to save files correctly :)

#12 Günter Severloh

Günter Severloh

    Major

  • Members
  • 7006 posts

Posted 07 January 2013 - 09:41 PM

Correct.
For a description.ext, you will need to name that notepad file if you use that method:
description.ext
save it and then move it to your mission folder.

Notepad++ is also good too!
http://notepad-plus-plus.org/
WarMod Series - A Massive Addon & Mod Customizable Compilation mod for Arma1, Arma2,CO & soon Arma3 IFA3
Mission Repository - Hosting Missions & Files for Iron Front: Liberation 1944
WW2Epic - A Compilation Archive of Photos, Music, Videos, & References of WW2
AI Compilation List of Addons/Mods/Scripts & Misc for Arma3

#13 JakeDK

JakeDK

    Rookie

  • Members
  • 5 posts

Posted 16 May 2013 - 11:08 AM

Just a question, if I already have a description.ext file in my mission folder for respawning, how do I add a loading screen without getting rid of my respawn script?

Edit: Forget that. Didn't realise you could put two different scripts in the same file. Lol.

Edited by JakeDK, 16 May 2013 - 11:38 AM.


#14 Jarmo

Jarmo

    Rookie

  • Members
  • 3 posts

Posted 25 May 2013 - 06:11 AM

how do you set how many respawns a player is allowed to have?

#15 SavageCDN

SavageCDN

    Warrant Officer

  • Members
  • 2860 posts

Posted 28 May 2013 - 12:46 PM

With the above method you cannot specify how many lives a player has (respawn = 3 or respawn = "base")

You would have to add a respawn/revive script in order to do this.. I believe Norrin's revive has this ability and if you are using ACE the ACE revive script by columdrum will work.
Posted Image
ALiVE Wiki - CHECK HERE FIRST

Grubes ALiVE Tutorial

DAC Unit Configs

"Arma is like the porn of the gaming world theres something for everyone."
- BL1P 13.08.2014

#16 Boogzor

Boogzor

    Rookie

  • Members
  • 5 posts

Posted 05 June 2013 - 01:32 AM

I cant for the life of me get this to work, plz help.


What have i missed? :confused:
Thanks for any help.

#17 Günter Severloh

Günter Severloh

    Major

  • Members
  • 7006 posts

Posted 05 June 2013 - 12:06 PM

Hi Boogzor,
You did everything right but one thing, step 2 is wrong, the description.ext goes in the same folder as the mission you created.
So you need to locate the editor made mission also known as a usermission, it should be located here:
C:\Documents and Settings\username\My Documents\ArmA 2\MPMissions
WarMod Series - A Massive Addon & Mod Customizable Compilation mod for Arma1, Arma2,CO & soon Arma3 IFA3
Mission Repository - Hosting Missions & Files for Iron Front: Liberation 1944
WW2Epic - A Compilation Archive of Photos, Music, Videos, & References of WW2
AI Compilation List of Addons/Mods/Scripts & Misc for Arma3

#18 Boogzor

Boogzor

    Rookie

  • Members
  • 5 posts

Posted 05 June 2013 - 01:45 PM

Thanks i think i got it to work now.
found the MPmissions folder in "Arma 2 Other profiles" folder

#19 Nibbles04

Nibbles04

    Rookie

  • Members
  • 3 posts

Posted 05 June 2013 - 05:02 PM

Hi Boogzor,
You did everything right but one thing, step 2 is wrong, the description.ext goes in the same folder as the mission you created.
So you need to locate the editor made mission also known as a usermission, it should be located here:
C:\Documents and Settings\username\My Documents\ArmA 2\MPMissions


Hey just a heads up, but for me the description.ext file was not under that directory (took me over an hour of frustrating trial and error to figure it out). It might be because I have Windows 7, installed Arma 2 through Steam, or just have mods like ACE/ACRE installed.

The correct path for me was C:\Libraries\Documents\Arma 2 Other Profiles\[my profile name]\missions\[mission name].

Like I said my computer might just be a unique (frustrating) snowflake, but it might help some others out.

Edited by Nibbles04, 05 June 2013 - 05:22 PM.


#20 SavageCDN

SavageCDN

    Warrant Officer

  • Members
  • 2860 posts

Posted 05 June 2013 - 06:06 PM

^ the quoted path is for Windows XP while your path is for Windows 7
Posted Image
ALiVE Wiki - CHECK HERE FIRST

Grubes ALiVE Tutorial

DAC Unit Configs

"Arma is like the porn of the gaming world theres something for everyone."
- BL1P 13.08.2014