Home   Help Search Login Register  

Author Topic: Kill Zone in MP  (Read 1871 times)

0 Members and 1 Guest are viewing this topic.

Grenadier

  • Guest
Kill Zone in MP
« on: 25 Sep 2002, 19:41:05 »
How would one go about making a kill zone for the opposite side to prevent them from entering respawn area?

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Kill Zone in MP
« Reply #1 on: 25 Sep 2002, 20:19:35 »
Make your trigger and set it to activate repeatedly and to detect whatever side you want.

Leave the condition as;

This

And set the activation as;

"_X SetDammage 1" Foreach ThisList

Grenadier

  • Guest
Re:Kill Zone in MP
« Reply #2 on: 25 Sep 2002, 22:09:46 »
Thanks

demon of evil

  • Guest
Re:Kill Zone in MP
« Reply #3 on: 30 Dec 2002, 16:53:40 »
thanks too, I needed

Tactician

  • Guest
Re:Kill Zone in MP
« Reply #4 on: 30 Dec 2002, 22:43:00 »
I used to use this method, but I found it to be unreliable.  Sometimes it stops working when multiple units enter the kill zone, and a unit with a negative rating (anyone who kills enough friendly units) won't be detected at all.  So I made this exploit-proof method.

Trigger activated by Anybody present, repeatedly.  In the condition below, replace SIDE with the side that's supposed to be protected by the kill zone, not the side it's supposed to kill.  This will even kill negative rating units, and won't be broken by multiple intruders.

Condition:
(vehicle player) in thisList AND side player != SIDE

Activation:
(vehicle player) setDammage 1; player setDammage 1; hint "You violated enemy territory!"

The one thing this version of the killzone won't do (without a little more work) is broadcast a message to everyone that x player violated the kill zone.  If that's really important to you, it can still be done with some publicVariable work.

Diepvriezer

  • Guest
Re:Kill Zone in MP
« Reply #5 on: 09 Jan 2003, 20:45:17 »
I also needed this script for my other map CTF map, thx!

Diepvriezer

  • Guest
Re:Kill Zone in MP
« Reply #6 on: 09 Jan 2003, 20:48:19 »
O yes, how can I add it so that the other could see a hint like this when a player has been killed in the zone:   player has violated enemy territory!


Where   player   is the players name