Help with not well documented commands

For all the help you need with Armagetron!
Post Reply
User avatar
Jip
Round Winner
Posts: 397
Joined: Sat Sep 26, 2009 5:32 pm

Help with not well documented commands

Post by Jip »

I stumbled about those commands and couldn't find out how to use them:

Code: Select all

COLLAPSE_ZONE                collapse a zone # I guess it just needs the zone_id?
SELF_DESTRUCT_VANISH         Flag for if a self distruct zone should vanish
SET_TARGET_COMMAND           Add commands for a target zone to issue when someone enters it.
SET_ZONE_COLOR               Change the color of a zone
SET_ZONE_EXPANSION           Change the Expansion rate of a zone
SET_ZONE_POSITION            change a zones position
SET_ZONE_RADIUS              change zones radius
SET_ZONE_SPEED               change a zones speed
ZOMBIE_ZONE                  zombie_zone_help
ZOMBIE_ZONE_FALL             zombie_zone_fall_help
ZOMBIE_ZONE_RADIUS           zombie_zone_radius_help
ZOMBIE_ZONE_RISE             zombie_zone_rise_help
ZOMBIE_ZONE_ROT              zombie_zone_rot_help
ZOMBIE_ZONE_SHOOT            How much zone to take away from a zombie when a shot enters it
ZOMBIE_ZONE_SPEED            zombie_zone_speed_help
ZOMBIE_ZONE_VANISH           Flag for if a zombie zone should vanish
I would appreciate any help on those :)
User avatar
dlh
Formerly That OS X Guy
Posts: 2035
Joined: Fri Jan 02, 2004 12:05 am
Contact:

Re: Help with not well documented commands

Post by dlh »

A few are documented in settings_dedicated.cfg.

Code: Select all

COLLAPSE_ZONE <zone_id>

# Documented in settings_dedicated.cfg
# if set to 1, self destruct zone vanishes quickly after a kill
SELF_DESTRUCT_VANISH <0 | 1>

# Overwrites all prior target commands
SET_TARGET_COMMAND <zone_id> <"onenter" | "onvanish"> <command>

# Appends a new target command
SET_TARGET_COMMAND <zone_id> "add" <"onenter" | "onvanish"> <command>

# r,g,b are floats in range 0.0-1.0
SET_ZONE_COLOR <zone_id> <r> <g> <b>

SET_ZONE_EXPANSION <zone_id> <expansion_rate>

# Use multiple coordinates to define the zone's route
SET_ZONE_POSITION <zone_id> <x> <y> [<x> <y> ...]

SET_ZONE_RADIUS <zone_id> <radius> [<expansion_speed>]

# Documented in settings_dedicated.cfg
# if set to 1, killed players create a zombie zone
ZOMBIE_ZONE <0 | 1>

# Documented in settings_dedicated.cfg
# Fall speed of the zombie zone, 0 for zombies that don't diminish
ZOMBIE_ZONE_FALL <fall_speed>

# Documented in settings_dedicated.cfg
# Final radius of the zombie zone
ZOMBIE_ZONE_RADIUS <radius>

# Documented in settings_dedicated.cfg
# Rise speed of the zombie zone
ZOMBIE_ZONE_RISE <rise_speed>

# Documented in settings_dedicated.cfg
# Speed of rotation
ZOMBIE_ZONE_ROT <roation_speed>

# Documented in settings_dedicated.cfg
# If > 0, shots will kill of zombies, 1 to decrease zombie size by shot size, > 1 to decrease zombie faster
ZOMBIE_ZONE_SHOOT <n>

# Documented in settings_dedicated.cfg
# Speed of the zombie zone
ZOMBIE_ZONE_SPEED <speed>

# Documented in settings_dedicated.cfg
# If 1, zombie will vanish after killing someone other than his killer
ZOMBIE_ZONE_VANISH <0 | 1>
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: Help with not well documented commands

Post by kyle »

The only other one missing from what dlh posted is

Code: Select all

SET_ZONE_SPEED <zone_id> <speed>
Takes current speed and multiples it by this factor.
Image
Post Reply