CTF Flag zones

Questions, comments, and news on the server side plug-ins and it's API
Post Reply
User avatar
Tedius
Sergeant First Class
Sergeant First Class
Posts: 142
Joined: Tue Sep 19, 2006 6:10 pm
Contact:

CTF Flag zones

Post by Tedius »

In my map I have a barrier between the teams, making it impossible for tanks to cross to their opponents side. My original intent was to make it CTF, however there seems to be no easy way to make the team flags spawn anywhere other than on the team base. Does anyone want to help me out with a plugin to create team flag spawn zones?

Any help is appreciated,
Thnx,
Tedius
dango
Private First Class
Private First Class
Posts: 1400
Joined: Sun Feb 06, 2005 5:40 pm
Location: Somewhere over there.

Post by dango »

Code: Select all

zone
name ragh
position <x> <y> <z>
size <x> <y> <z>
rotation <z>
safety <1> #where the team flag spawn
end
so for a red team flag:

Code: Select all

zone
name redteamflag
position 50 50 0
size 50 50 1
rotation 0
safety 1
end
etc. etc.
Image
User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner »

Safety is where the team flag will go if the team flag is dropped over a deadly object or a incline. It will not spawn there, just go there if the above is true.

I think you might be able to use normal zones for it, but I do not know.

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image
User avatar
L4m3r
Hater of Everything
Hater of Everything
Posts: 724
Joined: Tue Feb 08, 2005 5:15 am
Location: Los Angeles

Post by L4m3r »

me1 wrote:

Code: Select all

zone
name ragh
position <x> <y> <z>
size <x> <y> <z>
rotation <z>
safety <1> #where the team flag spawn
end
so for a red team flag:

Code: Select all

zone
name redteamflag
position 50 50 0
size 50 50 1
rotation 0
safety 1
end
etc. etc.
Not quite. use the "zoneflag" parameter like so:

Code: Select all

zone
name redteamflag
position 50 50 0
size 50 50 1
rotation 0
safety 1
zoneflag R*
end
That was how I did it for Steal the Bacon games.
Optimism is just a milder alternative to denial.
User avatar
Tedius
Sergeant First Class
Sergeant First Class
Posts: 142
Joined: Tue Sep 19, 2006 6:10 pm
Contact:

Post by Tedius »

Brilliant!

Thanks guys. You followed my train of thought. I think I left out "zoneflag" and put "flag" instead. Either that or else I left out the * on the flag type.

I'll see you at "Sniper Country, CTF by Tedius" on a server near you...

Ted
Post Reply