CTF Question

For all the help you need with Armagetron!
Post Reply
User avatar
Agility
Core Dumper
Posts: 134
Joined: Fri Jun 19, 2009 10:22 pm

CTF Question

Post by Agility »

Whats the code to put in notepad to make a ctf zone and a flag?
User avatar
fman23
On Lightcycle Grid
Posts: 36
Joined: Thu Sep 08, 2011 1:54 am
Location: Yes
Contact:

Re: CTF Question

Post by fman23 »

If you want the full CTF arena and physics, just include the brawl settings minus the tournament part. I host a copy with these changes online at http://fkmclane.tk/resource/ctf/ctfbrawl30.cfg. You can use it by putting

Code: Select all

RINCLUDE ctfbrawl30.cfg(http://fkmclane.tk/resource/ctf/ctfbrawl30.cfg)
in your config file or in the console.

To make the fortress zones (the respawn one) and flag zones, you can put it into the map or use the SPAWN_ZONE command. The syntax for the command is:

Code: Select all

SPAWN_ZONE <fortress|flag> < <team> <x> <y> <size> <growth> <xdir> <ydir> <interactive> <r> <g> <b> <target_size>
User avatar
sinewav
Graphic Artist
Posts: 6413
Joined: Wed Jan 23, 2008 3:37 am
Contact:

Re: CTF Question

Post by sinewav »

Or more simply, flag and base.

Code: Select all

<Zone effect="flag">
  <ShapeCircle radius="5">
    <Point x="100" y="575"/>
  </ShapeCircle>
</Zone>

<Zone effect="fortress">
  <ShapeCircle radius="25">
    <Point x="300" y="575"/>
  </ShapeCircle>
</Zone>
Don't forget to review the Map Making section on the wiki.
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1876
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: CTF Question

Post by kyle »

sinewav wrote:Or more simply, flag and base.

Code: Select all

<Zone effect="flag">
  <ShapeCircle radius="5">
    <Point x="100" y="575"/>
  </ShapeCircle>
</Zone>

<Zone effect="fortress">
  <ShapeCircle radius="25">
    <Point x="300" y="575"/>
  </ShapeCircle>
</Zone>
Don't forget to review the Map Making section on the wiki.
Just remember using flag, requires a non standard dtd, I don't remember the location of it on the official repository, and the server must be one that supports this type of zone (sty based)
Image
Post Reply