Home   Help Search Login Register  

Author Topic: Respawn protection  (Read 1267 times)

0 Members and 1 Guest are viewing this topic.

StealthAssassin

  • Guest
Respawn protection
« on: 15 Mar 2003, 18:41:20 »
It's me again ;D

My map is almost complete, now all I need to some kind of script or trigger that protects each teams respawn. e.g I dont want west forces running into the east respawn and camping it...

So is there any way that if a player attempts to enter an enemy respawn, he will die?

Cheers,

-Stealth

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Respawn protection
« Reply #1 on: 16 Mar 2003, 09:19:28 »
Respawn Protection
To create a good respawn protection zone, you need 3 things

1) A marked area on the map to show where it is
2) An outer warning zone
3) The actual kill zone itself
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
1) Marked Map Area
This is done by using the "Markers" (F6) in the map editor
Name Lets call it "W_Kill_marker"
ICON: RECTANGLE: ELLIPSE: Use "ellipse"
Color Red for killing West, Blue for killing East
Fill "Solid"
Axis A Dimensions (Exactly same size as the "Warning Zone")
Axis B Dimensions (Exactly same size as the "Warning Zone")
Axis A and Axis B are normally the same size and create a circle
Angle Leave as "0" if a circle
Text "W Kill marker" (Used only to describe what it is)


-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
2) Outer warning Zone

This is done by creating a "Trigger" in the editor with the following settings

Axis A Same as Marker
Axis B Same as Marker
Angle Same as Marker
Ellipse: Rectangle Always Ellipse, Never use Rectangle
Activation West (If warning West Players) East (If warning East players
Once: Repeatedly: Repeatedly
Present: Not Present Present
Type None
Text W_Warning
Name W_Warning
Condition this
On Activation Titletext [format["%1
You are entering an EAST Safezone
Turn around or die!",name(thisList select 0)],"Plain down"]
On DeActivation leave blank

Then click the "Effects" Tab
In the "Sounds" section, select "Play Alarm" in the "Anonymous" menu

Anything that has not been mentioned leave in their default setting
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
2) Killzone

This is done by creating a "Trigger" in the editor with the following settings

Axis A less than "Marker" and "Warning Zone"
Axis B less than "Marker" and "Warning Zone"
Angle less than "Marker" and "Warning Zone"
Ellipse: Rectangle Always Ellipse, Never use Rectangle
Activation West (If killing West Players) East (If killing East players
Once: Repeatedly: Repeatedly
Present: Not Present Present
Type None
Text W_Killzone
Name W_Killzone
Condition this
On Activation "_x setdammage 1" forEach thislist; titleText[format["%1
You didn't heed the warnings",name (thisList select 0)],"Plain down"]
On DeActivation leave blank


Anything that has not been mentioned leave in their default setting
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
Both the triggers and the marker then needs to have its epicentre in the middle of the "Respawn_West" or "Respawn_East" marker
« Last Edit: 16 Mar 2003, 09:21:31 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Respawn protection
« Reply #2 on: 16 Mar 2003, 10:35:45 »
Why not try this for the warning trigger:

Condition Field: Player in thislist

Then it will only activate on the player who entered the trigger's computer, rather that every client in the game ;)

StealthAssassin

  • Guest
Re:Respawn protection
« Reply #3 on: 16 Mar 2003, 15:46:30 »
Cheers Terox, those triggers work perfectly! ;D

Thx again guys,

-Stealth :P