OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: megabass on 11 Aug 2004, 00:58:44

Title: New life?
Post by: megabass on 11 Aug 2004, 00:58:44
I try to do multiplayer map, small one. Problem is that i don't know how i get
new life if i die, i want jump to next player (just like 2-8 Holdcity). Then there's 3 stupid AI soldiers, and they can't do shit! Please help me!
Title: Re:New life?
Post by: Kaliyuga on 11 Aug 2004, 01:05:28
make a text file... named  decription.ext  

and put these two lines in it

respawn=4;
respawndelay=5;

then place it in your mission folder

:cheers:

Title: Re:New life?
Post by: megabass on 11 Aug 2004, 11:40:01
i did it but it won't work. I noticed that it must be description.ext
This is my first script, so what's wrong?

It's located here:
D:\games\OperationFlashpoint\Users\megabass\missions\2_8 holdcity9.abel

I end up flying in the sky.

So what more I have to do?
Title: Re:New life?
Post by: Zombie on 11 Aug 2004, 14:05:09
one thing I have found...if you edit the description.ext, you have to completely reload the mission for it to take.  So if you alt-tab out of the editor with your mission even in the editor screen, change the .ext and then try to preview the mission, the change won't be there.  I always save my mission, load another in the editor, alt-tab and change my .ext, then alt-tab back in, reload the mission I am trying to change, and the .ext will be updated.
  The .ext seems to be the only file that requires this.
Related issue.....
to make life easier for a number of reasons, I have creted a map on each island and named them  desert blank, everon blank  etc...  I just created a new mission, put in 1 unit as player and saved as named above, this has been an enormous help in several ways for me
Title: Re:New life?
Post by: Mr.Cool on 18 Aug 2004, 21:00:54
and you have to make a trigger where your respawns gonna be...
Name:it matters...is the respawn gonna be for west then put this as the name,
Respawn_West
if its east then the samething just change out West with East.
Title: Re:New life?
Post by: Platoon Patton on 21 Aug 2004, 16:03:47
and you have to make a trigger where your respawns gonna be...

A marker?
Title: Re:New life?
Post by: Mr.Cool on 21 Aug 2004, 20:13:40
yeah...when you press F6 you are able to make markers...and mod can you lock this topic...there is a sticky topic that can answer his question...or the person who made topic press solve.