Home   Help Search Login Register  

Author Topic: Problem with Respawn protection zones... (you´re my very last Hope)  (Read 1116 times)

0 Members and 1 Guest are viewing this topic.

ItsMeAgain

  • Guest
Hey Guys!

IÂ've got some trouble with respawn protection (the subject may sugest that...)
I made a neat little MP TDM Mission (my first), for that, I think, some spawn protection canÂ't be wrong.

I already read the excelennt tut by tactican (in the ofpec ED tut section MP) it helped a lot.
IÂ'm using Ofp V1.46 so I must use triggers...

Kinda like that:

 _________________________________________
|    |                                       1                               |    |
|    |___________________________________|    |
|    |                 |    |                           |    |               |    |
|    |                 |    |                           |    |               |    |
|    |                 |    |                           |    |               |    |
| 1 |    RSP       | 2 |        BATTLE        | 2 |   RSP       | 1 |
|    |                 |    |                           |    |               |    |
|    |                 |    |                           |    |               |    |
|    |                 |    |                           |    |               |    |
|    |________|__|_____________|__|_______ |    |
|    |                                      1                              |    |
|__|___________________________________|__|

(little lame but should do it ...)

1: kills everyone (battlefield border)
Activated by  : Everyone
Condition      : (vehicle player in thisList)
On activation: (vehicle player) setDammage 1; player setDammage 1; hint "Deserters will be shot"

2: spawnpoint protection ( SHOULD kill enemy units)
Activated by : depending on Side
Condition     : (vehicle player in thisList)
On activation: (vehicle player) setDammage 1; player setDammage 1; hint "You violated the X respawn area!"


The Problem:
----------------
Every thing works fine... at least on the server...
The clients die when leaving 2 (they can enter without problems). Second thing is, there seem to be spots a client player dies completely without any reason (I tried to enter one until the dead bodies marked the place pretty clearl... It is empty in editor... ???


I searched FAQ and Forum already so you guys are my last Hope...
If anyone has an Idea how to fix the problem please let me know
Thanx dudes!
« Last Edit: 03 Jul 2005, 22:16:09 by ItsMeAgain »

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
This is a known problem.

Basically the following can cause the problem

1) Too many objects on the map
2) The use of rectangle shaped triggers
3) the use of triggers that are set at any other angles other than 0 or 90 degrees.

What happens is that the triggers can migrate to a different location than the ones you positioned them at

Easy fix

Redo your triggers, use spherical ones and set there angles at 0 or 90

You can still create a rectangularish killzone area using spehrical triggers

also to debug, set a marker at the position where you place the trigger in the mission and then have another marker setpossed to the trigger 1 second into the mission

"markername" setmarkerpos (getpos triggername)

obviously make sure the marker isnt an empty marker otherwise you wont see it
« Last Edit: 04 Jul 2005, 01:30:01 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

ItsMeAgain

  • Guest
Thanx dude!

that helped alot!