Game Development Community

Killing a client when leaving mission area

by Mike "wowo" Miller · in Torque Game Engine · 01/09/2003 (12:46 pm) · 2 replies

Howdy everyone,

I have my game set up so that I don't want players straying too far off the map.
Currently, I've set up the server scripts so that the client is killed immediately upon leaving the mission area.

My question is: How would I go about giving the clients a time limit for how long they are allowed to be outside the mission area before being killed? This way I could give them fair warning before they are punished.

Preferably, I'd like a countdown in the messageHud so the player knows exactly how much time they have left to get back into the mission area.

I was thinking schedules are probably the way to go, but I'm quite new with Torque so if anyone can help, i'd appreciate it :)

Thanks!
Mike

#1
01/09/2003 (4:31 pm)
Y'might think about buying a copy of Tribes 2 (I recently picked one up for $10 at EB), and seeing how they did it. Lots of good stuff in Tribes 2... At the very least, test media ;).

Just don't directly lift stuff and publish it; that brings the Intellectual Property Enforcers upon your heels.
#2
01/09/2003 (4:35 pm)
Hey,

I never thought of looking in the t2 scripts before ;) Heh, and i've owned the game for a couple years already too.

Thanks for the tip,
Mike