OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: PimpD on 17 Aug 2003, 16:40:42
-
hi :)
how do I make so when my ppl die, they respawn in the base they started? :/
in the respawn thread it only says "random respawn" and I dont want it to be random :o
And do I only need to make a description file with
respawn=2;
respawndelay=20;
And then they should respawn? :/
-
to make it easy for u, my question is.
How do I make a respawn zone? :)
-
respawn=2;
respawndelay=20;
should do it in the description.ext file. However I don't remember what the right number for base respawn is.. to make sure you can use
respawn="base"; which sets the respawn to base
respawndelay=20; sets the delay time to be waited untill the unit who died will respawn.
you can alter the '20' to what ever amount of seconds.
base respawn doesn't really respawn to base in a sence. The game doesn't know what the heck is your base unless you pinpoint it. So, in addition to the description.ext you'll need to place a marker named like this
respawn_west
change the part after the _ to the side which you want to be respawned on the marker.
-
m8, can I make a new description with WordPad?
or is it called OFP description document :o
-
and shud I put
respawn="respawn_west";
respawndelay=20;
-
You can make a description.ext with wordpad, word, notepad, dos editor, whatever. Just remember to save it as description.ext and no other extensions. I use notepad.
Also remember to place the description.ext in your mission folder /ofpdir/users/youruser/missions/yourmission/ or if you're using the mpwizard ofpdir/users/youruser/mpmissions/yourmission/
In the description.ext put simply
respawn="base";
respawndelay=20;
In the editor place a marker named respawn_west to the place where you want to respawn.
;)
-
Ok thanks alot m8 :)
btw, can I make that file while im running the editor?
or do I need to quit operation flashpoint and then make the file.
then I start the game and open the mission working on then I make the marker.
-
and what is mpwizard lolz ???
-
Cool it works :)
Thanks alot m8 :)
-
Ok I got a problem now m8, it all work perfectly but...
when the pilots die, they respawn on my respawn_west marker.
and the respawn_west marker is in base called "HQ" and the airplanes/helis are at a place called AirField. And its a long way from HQ to Airfield so I wonder...
Can I make so Pilots respawn in a marker called respwan_pilots or something
and then the pilots respawn in the airfield.
and the rest respawn in HQ.