Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 717

Warning: Invalid argument supplied for foreach() in /var/www/ct/forums/wiki/includes/MagicWord.php on line 718

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 722

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/www/ct/forums/wiki/includes/MagicWord.php on line 739
Crazy Tronners Wiki - Settings

Settings

From Tronwiki
Jump to: navigation, search
(moved PLAYER_KILLED to edlog)
m (moved spawn zone to zones section)
Line 19: Line 19:
 
set the default value + all players flags
 
set the default value + all players flags
  
== Spawn Zone ==
+
 
 +
==Special Settings for Target Zone==
 +
===TARGET_LIFETIME <int>===
 +
default: -1. -1 means no limit. A positive value means the zone will collapse alone after n sec even if no one conquers it.
 +
===TARGET_SURVIVE_TIME <int>===
 +
default: 10. value <=0 means no limit. a positive value means the zone will remains n sec before collapsing after the first player enter the zone.
 +
===TARGET_INITIAL_SCORE <int>===
 +
default: 10. means the first player will win 10 pts.
 +
===TARGET_SCORE_DEPLETE <int>===
 +
default: 2. means the score for next player will be decrease by 2. second player will get 8 pts, 3rd 6 pts ...
 +
===TARGET_DECLARE_WINNER <bool>===
 +
default: 1. means the last target conquest declare winner (first player entering the last target zone is the winner)
 +
So if you want infinite zone, just to catch the enter/left message, just set them to -1, -1, 0, 0, 0 ... and here it is, you have a switch in your map !
 +
 
 +
==Special Settings for Influencing Zones==
 +
===Spawn Zone===
 
The ability to spawn all different types of zones via the command line or a script.<br>
 
The ability to spawn all different types of zones via the command line or a script.<br>
 
Zones no longer need to be specified in the map and can be spawned either via the console using /admin SPAWN_ZONE ... or using a script.
 
Zones no longer need to be specified in the map and can be spawned either via the console using /admin SPAWN_ZONE ... or using a script.
Line 45: Line 60:
 
  If you give more than one zone the same name you can influence all zones of the same name simultaneously.  
 
  If you give more than one zone the same name you can influence all zones of the same name simultaneously.  
  
===team===
+
====team====
 
<team> must be the team name or anything else if you want to ignore the param. It is mandatory for flag and fortress type.  
 
<team> must be the team name or anything else if you want to ignore the param. It is mandatory for flag and fortress type.  
 
If you spell it incorrectly, it links the zone to the closest player team(default behavior).
 
If you spell it incorrectly, it links the zone to the closest player team(default behavior).
===cordinates (x,y)===
+
====cordinates (x,y)====
 
<pos_x>, <pos_y>, self explanatory. Of course it depends of the map
 
<pos_x>, <pos_y>, self explanatory. Of course it depends of the map
===size===
+
====size====
 
<size> is the radius of the zone
 
<size> is the radius of the zone
===growth===
+
====growth====
 
<growth> is the growing factor of the zone.
 
<growth> is the growing factor of the zone.
===speed===
+
====speed====
 
<dir_x>, <dir_y> is the speed vector, to make the zone move all alone Wink
 
<dir_x>, <dir_y> is the speed vector, to make the zone move all alone Wink
===interactive===
+
====interactive====
 
<bouncing_flag> is a boolean. true or false (still case sensitive). If true, it makes the zone bounce on the rim walls
 
<bouncing_flag> is a boolean. true or false (still case sensitive). If true, it makes the zone bounce on the rim walls
===colour===
+
====colour====
 
<red>, <green>, <blue> are the colour component for the zone between 0 and 15. If not specified, it will be white.  
 
<red>, <green>, <blue> are the colour component for the zone between 0 and 15. If not specified, it will be white.  
 
If the zone is linked to a team, the color will be the team color whatever you set here.
 
If the zone is linked to a team, the color will be the team color whatever you set here.
==Special Settings for Target Zone==
+
====Examples====
===TARGET_LIFETIME <int>===
+
default: -1. -1 means no limit. A positive value means the zone will collapse alone after n sec even if no one conquers it.
+
===TARGET_SURVIVE_TIME <int>===
+
default: 10. value <=0 means no limit. a positive value means the zone will remains n sec before collapsing after the first player enter the zone.
+
===TARGET_INITIAL_SCORE <int>===
+
default: 10. means the first player will win 10 pts.
+
===TARGET_SCORE_DEPLETE <int>===
+
default: 2. means the score for next player will be decrease by 2. second player will get 8 pts, 3rd 6 pts ...
+
===TARGET_DECLARE_WINNER <bool>===
+
default: 1. means the last target conquest declare winner (first player entering the last target zone is the winner)
+
So if you want infinite zone, just to catch the enter/left message, just set them to -1, -1, 0, 0, 0 ... and here it is, you have a switch in your map !
+
 
+
 
+
===Examples===
+
  
 
  spawn_zone death 200 300 10 0.5 0 30 true 0 0 15 20
 
  spawn_zone death 200 300 10 0.5 0 30 true 0 0 15 20
Line 88: Line 89:
 
  colour=blue
 
  colour=blue
 
  max radius it will grow to=20
 
  max radius it will grow to=20
 
 
 
==Special Settings for Influencing Zones==
 
===SET_ZONE_POSITION <zone> <x> <y>===
 
 
Allow you to set a new position for a zone or group of zones, relative to its current position.eg:<br>
 
Allow you to set a new position for a zone or group of zones, relative to its current position.eg:<br>
 
  spawn_zone n group1 target 100 100 10
 
  spawn_zone n group1 target 100 100 10
Line 115: Line 111:
 
===COLLAPSE_ZONE <zone>===
 
===COLLAPSE_ZONE <zone>===
 
kill the specified zone or group of zones.
 
kill the specified zone or group of zones.
 +
===SET_ZONE_POSITION <zone> <x> <y>===
 
===SET_ZONE_RADIUS <zone> <radius> <growth_rate>===
 
===SET_ZONE_RADIUS <zone> <radius> <growth_rate>===
 
Change the radius and growth rate of zone or group of zones.
 
Change the radius and growth rate of zone or group of zones.

Revision as of 21:05, 16 February 2008

Personal tools