OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: pexmo on 19 May 2005, 12:16:07

Title: Special respawn questions.
Post by: pexmo on 19 May 2005, 12:16:07
Some respawning questions for a game mode:

OK can this be done and if it can how? Any scripts done or can you make one?

1: Can you set a number of different respawnzones for east sides so that when tou die you can choose where to spawn?

If above does not work: Can it be done so that the east reaspawn zone is moved by using a action? from spot A to B then from spot B to C?

2: Can it be made so that when a west player dies he will respawn as a east player?


EDIT: And how do i get the players to respawn as the model they started as or a set model?
Title: Re:Special respawn questions.
Post by: pexmo on 19 May 2005, 15:16:14
the exact thing i want to do is this:

When team west gets into zone A east reaspawn is pushed back to zone B etc. But the best thing would be to have the east players able to pick one of lets say 3 respawn locations.

Then i want to have it so that if a team weat player is killed he is spawned as a east player in east respawn.
Title: Re:Special respawn questions.
Post by: Terox on 19 May 2005, 17:02:57
try searching through the first post in this forum, the one thats says "RESPAWN"

http://www.ofpec.com/yabbse/index.php?board=7;action=display;threadid=91
Title: Re:Special respawn questions.
Post by: pexmo on 19 May 2005, 17:38:15
i tried but didnt find anything on the spawn as east after starting as west thing.

Alhtough i found something i can use for the moving the respawnbases with triggers question. But nothing on if you can have multiple bases and pick one.
Title: Re:Special respawn questions.
Post by: Terox on 20 May 2005, 01:06:03
would require either addaction on say the group commander at start of mission or a map click system, if you wanted to pick a respawn / spawn position
Title: Re:Special respawn questions.
Post by: pexmo on 20 May 2005, 07:10:35
Well some kind of progressive spawn i might be able to make on my own. But does anyone know anything on how you can make some one that starts on the west side spawn as east after dying?

And would then also spawn as east modell....
Title: Re:Special respawn questions.
Post by: pexmo on 20 May 2005, 13:46:04
No one has a answer on this ?
Title: Re:Special respawn questions.
Post by: Terox on 20 May 2005, 17:19:47
the only way to respawn as a different unit type is to use group respawn and have the unit class alive before you actually die

as for swapping sides.... most unlikely, as the unit you are bspawning into, has to be in your group and that means on the same side as you.


it may be possible to join groupname to a group on the opposite side once you had respawned, i've never had a need to do that