Home   Help Search Login Register  

Author Topic: Respawn  (Read 649 times)

0 Members and 1 Guest are viewing this topic.

Mad Monk

  • Guest
Respawn
« on: 25 Jan 2005, 07:22:44 »
Hello,

I see a lot of tutorials on how to make a unit respawn in a MP ctf game, but I want to do it in a co-op scenario. Can I make it so that when I or my friend die, we will take over an AI controlled soldier on our team? In my mission, there are many small groups of one or two people and I was wondering if you can only take command of someone in your group or anyone on your team?



Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:Respawn
« Reply #1 on: 25 Jan 2005, 09:48:12 »
Open the description.ext. In the top line you write:

respawn = "group"

Check the syntax carefully though. It should make your player respawn as another member of your team when he is killed.
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Mad Monk

  • Guest
Re:Respawn
« Reply #2 on: 26 Jan 2005, 02:15:36 »
Will I respawn as a soldier only in my group or anyone on my side (the west.) Will only soldiers marked as playable be availible? Does it work in multiplayer?

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Respawn
« Reply #3 on: 26 Jan 2005, 02:20:17 »
Read this thread for the definitive information on respawning.

http://www.ofpec.com/yabbse/index.php?board=7;action=display;threadid=91

Respawn is only possible in Multiplayer.



Planck
« Last Edit: 26 Jan 2005, 02:21:02 by Planck »
I know a little about a lot, and a lot about a little.

Mad Monk

  • Guest
Re:Respawn
« Reply #4 on: 26 Jan 2005, 04:06:23 »
OK, so my character is alone (not in a group) but I still want to respawn. Would it be possible for him to respawn by having a trigger that detects when he dies, and then quickly adding an AI to his group so when it goes to respawn a member in a group it makes that new AI soldier the player? Or, is it possible to have reserve characters that are "in" the group but not actually in it? Meaning that they won't send any radio chatter and you cannot control them? Thanks for any responses.



MadFred

  • Guest
Re:Respawn
« Reply #5 on: 26 Jan 2005, 04:52:05 »
I think if you use

respawn="INSTANT";

you will respawn at your place of death after a small delay.
never used it before tho.

someone will surely correct me if I am wrong.

MadFred

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Respawn
« Reply #6 on: 26 Jan 2005, 05:04:17 »
yes, that works, but then you have an unlimited amount of spawns, AFAIK
if you want a limited number, or you want to use all units of a side, you would need group respawn and make a unit join his side at death from an array of all eligible units