Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Respawn for Editor Missions played in multiplayer

  1. #1

    Respawn for Editor Missions played in multiplayer

    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. #2
    look here:
    http://community.bistudio.com/wiki/Description.ext

    click on respawn for info.

    i think you only need this in a file called description.ext in your mission folder.
    PHP Code:
    respawn "BASE";  // this means base wich is a marker named respawn_west
    respawndelay 4;  // this is time from death to new life 
    Last edited by Demonized; Mar 24 2011 at 06:14.
    My scripts:
    Spoiler:

    what to do when posting any kind of code dammit!!

    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. #3
    Private First Class
    Join Date
    Mar 1 2011
    Posts
    18
    Author of the Thread
    thanks, where does that information get typed in at? im still learning the editor sorry

  4. #4
    Suggest you read the link! Starts off with "Introduction"

  5. #5
    Captain Günter Severloh's Avatar
    Join Date
    Apr 14 2009
    Location
    On Armaholic & Bis forums compiling something
    Posts
    6,386

    Post How to setup a respawn for MP using a base respawn

    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.com/page.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:

    Code:
    respawn = base;
    respawndelay = 5;
    Refer to the Description.ext Reference for other types of respawn
    http://community.bistudio.com/wiki/D...on.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.bistudio.com/showpost....23&postcount=2
    ==========================
    Hope that helps.
    Last edited by Günter Severloh; Mar 6 2014 at 14:34. Reason: update
    WarMod Series - A Massive Addon & Mod Customizable Compilation mod for Arma1, Arma2,CO & soon Arma3
    Mission Repository - Hosting Missions & Files for Iron Front: Liberation 1944
    AI Compilation List of Addons/Mods/Scripts & Misc for Arma3

  6. #6
    Nice Günter.
    In with a teaspoon instructions.

  7. #7

    Respawn

    Quote Originally Posted by Demonized View Post
    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. #8

  9. #9
    Chief Warrant Officer Iceman77's Avatar
    Join Date
    Jul 13 2007
    Location
    Fairbanks Alaska
    Posts
    3,559
    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. #10
    Captain Günter Severloh's Avatar
    Join Date
    Apr 14 2009
    Location
    On Armaholic & Bis forums compiling something
    Posts
    6,386
    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:
    Code:
    respawn = base; (base is the marker you put down, the faction is indicated by the marker name, that decides who respawns there)
    respawndelay = 3; (respawndelay is the amount of time 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.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •