OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: SupeRambo on 21 Jan 2003, 05:56:40

Title: How Do U Make Respawn???
Post by: SupeRambo on 21 Jan 2003, 05:56:40
 How do i put respawn in my maps??ive looked through this whole site and cant find anything on the respawn im looking for!  >:( im looking for one where that if you die in a coop mission u can respawn at the same location that u died...anyone got any info/ideas???
Title: Re:How Do U Make Respawn???
Post by: Terox on 21 Jan 2003, 17:46:07
In your description.ext place the following lines

respawn=2    
//(This causes you to respawn at the same place you die)
respawndelay=10  
//(This is the respawn delay in seconds)

disable AI=1
//(This cancels any AI in the soldier selection screen)
//Which may be of no use to you for coops  but defintely used for ctf, c&h etc



showCompass = 1
// (This allows the compass in the map view)
showNotepad = 1
//This allows the notepad to be accessible in the map view
showGPS = 1
//This allows the GPS to be accesible in the map view



By the way if you had looked at the very top thread in this forum, it has lots of information about Respawn :)
------------------------------------------------------------------------------------------------------------------------------------------
If you are using respawn=1
(This respawns you at an area allocated by a marker)
to make the actual respawn location, create a marker called
respawn_west
or
respawn_east

If you are west, you will automatically respawn to respawn_west etc


Title: Re:How Do U Make Respawn???
Post by: SupeRambo on 22 Jan 2003, 07:38:15
ok thanx,but i did the exact same thing,for coop,but it didnt work,i didnt put the disable ai thing tho
Title: Re:How Do U Make Respawn???
Post by: Terox on 22 Jan 2003, 08:53:56
the disableai=1 is only to stop player slots from becoming ai if not taken by a player at the player selection screen

some folks playing coops like ai assistance