Home   Help Search Login Register  

Author Topic: DISABLING RESPAWN FOR 2 UNITS ONLY  (Read 2011 times)

0 Members and 1 Guest are viewing this topic.

MR_TROUBLE

  • Guest
DISABLING RESPAWN FOR 2 UNITS ONLY
« on: 23 Oct 2002, 07:28:54 »
I have a multiplayer mission where I don't want 2 WEST Pilots to respawn.  I have 6 Black Ops that respawn at the base where the respawn_west marker is.  But I want the pilots to respawn as a bird, not as a playable unit at the base where the respawn marker is located. The 2 pilots are their own group, the 6 black ops are also their own group.  How do I get this to happen?

Mike

  • Guest
Re:DISABLING RESPAWN FOR 2 UNITS ONLY
« Reply #1 on: 24 Oct 2002, 01:47:55 »
instead of spawning them into a bird try spawning them ino a small island where they cant disturb gameplay

2 pilots  (pilot1, pilot2)

now make a trigger and name it dead

now make 2 more triggers with the following condition and activation... 0 radius, activated by none and Repeatedly..

condition: alive pilot1
on activation: pilot1 setpos (getpos dead)

and for pilot2:

condition: alive pilot2
on activation: pilot2 setpos (getpos dead)

now when pilot 1 and 2 are spawned again they will go to the small island where your trigger named "dead" is.. Problem is the pilots might spawn there off of the start.. most likely will. to prevent this make the 2 triggers condition:

condition: alive pilot1 && aaa1
on activation: pilot1 setpos (getpos dead)

condition: alive pilot2 & aaa2
on activation: pilot2 setpos (getpos dead)

now make 2 triggers with the following:

condition: !alive pilot1
on activation: aaa1 = true

condition: !alive pilot2
on activation: aaa2 = true

MR_TROUBLE

  • Guest
Re:DISABLING RESPAWN FOR 2 UNITS ONLY
« Reply #2 on: 24 Oct 2002, 03:16:51 »
Well this is a multiplayer map.  I believe your way of doing this will leave two multiplayer people stranded on an island somewhere? lol.  I just want the pilots to have no respawn.  East team is searching for the pilots, West team is trying to get them to safety.  East and West team respawn if they die during combat to get these pilots.  The game ends when both pilots are dead.  I have all that set up with the exception of NO respawn for the pilots.  Maybe that makes it more clear? Thanks for your help.

Mike

  • Guest
Re:DISABLING RESPAWN FOR 2 UNITS ONLY
« Reply #3 on: 24 Oct 2002, 06:04:53 »
Ive asked a similar question to yourse and go the responce: It cant be done. SO Id sudgest using my meathod above..

Add a trigger with the following in the condition & on activation..

condition: !alive pilot1 && !alive pilot2

On activation: "1" objstatus "FAILED"


so basically if they die once the objective is failed.. Yes the players would be "stranded" on the island.. but once the objective is failed it is failed.. Sorry that its not the answer u want but unless Someone out there can enlighten the both of us on how to actually disable a respawn... This is one idea that could make it work...
« Last Edit: 24 Oct 2002, 06:05:28 by Mike »

dreaming_adam

  • Guest
Re:DISABLING RESPAWN FOR 2 UNITS ONLY
« Reply #4 on: 09 Nov 2002, 17:12:10 »
You want the pilots to respawn as birds and the black ops to respawn as players? Thats gonna be really tricky and Im not sure if its possible - but the only way I could think of achieving what you want would be to set the respawn mode to BIRD (in description.ext) and then making a script that constantly loops in the background (with a VERY small delay... praps ~0.001) checking the health of the spec ops. if their dammage is >.95 then use setpos to sent them to the respawn point, setdammage 0 to heal them, and addmagazine to give em more ammo. Might be an idea to make the screen fade from black to make it look less like teleportation.

ciao ciao
Adam

Pandoz

  • Guest
similar question
« Reply #5 on: 30 Nov 2002, 22:07:07 »
I am also making a mission where i want East to respawn at the respawn point marker...(respawn_east). The west team CANNOT respawn in this mission in order for it to work, but when i use the "base" respawn or #3 in the description.ext file it makes the west team respawn too....if there is a way to "disable" the wests respawn or increase their time without increasing easts...that would be helpful...also if there is another alternative PLEASE tell me...thanx

Pandoz

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:DISABLING RESPAWN FOR 2 UNITS ONLY
« Reply #6 on: 30 Nov 2002, 22:24:58 »
...but the only way I could think of achieving what you want would be to set the respawn mode to BIRD (in description.ext) and then making a script that constantly loops in the background (with a VERY small delay... praps ~0.001) checking the health of the spec ops. if their dammage is >.95 then use setpos to sent them to the respawn point...

This wouldn't work, :( as one shot directly to the chest or head sends their dammage straight to 1.

It would be nice if BIS gave the option for multiple spawn types, but until they do, I would recommend Mikes suggestion of moving the pilots upon death.
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

LinCafe

  • Guest
Re:DISABLING RESPAWN FOR 2 UNITS ONLY
« Reply #7 on: 23 Mar 2003, 17:19:23 »
If the 2 pilots are resistance, AI (not playable), they will not respawn.

Set the resistance allied to USA. If u need to comand him, giving them orders using radio calls or wathever you want.

Here is a mission sample