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
Line 1: Line 1:
=Settings Accessible via console/script=
+
=Settings - Authentication, etc=  
Not to be used in settings_dedicated.cfg or similar config file.<br>
+
Some may work there, use with caution.
+
==[[Spawn Zone | SPAWN_ZONE]]==
+
The ability to spawn all different types of zones via the command line or a script.<br>
+
See the [[Spawn Zone | SPAWN_ZONE]] page for details.
+
 
==RENAME_ENABLED <1> [<player>]==
 
==RENAME_ENABLED <1> [<player>]==
 
set (the default value and all players flags) or a specific player flag. default value is 1.
 
set (the default value and all players flags) or a specific player flag. default value is 1.
Line 10: Line 5:
 
to rename the player from script
 
to rename the player from script
 
==FORCE_SPECTATING <player>==
 
==FORCE_SPECTATING <player>==
force a player to spectator mode immediately. means the player is also killed if he's in the game
+
force a player to spectator mode immediately. means the player is also killed if he's in the game.
 
==LOGIN_REQUIRED <1> [<player>]==
 
==LOGIN_REQUIRED <1> [<player>]==
 
set (the default value and all players flags) or a specific player flag . default value is 0.
 
set (the default value and all players flags) or a specific player flag . default value is 0.
Line 17: Line 12:
 
==RENAME_PLAYER_ENABLED playername 1|0==
 
==RENAME_PLAYER_ENABLED playername 1|0==
 
=set the flag for the selected player
 
=set the flag for the selected player
 +
==ALLOW_PLAYER_TO_JOIN_DEFAULT 1|0==
 +
set the default value for player joining the server
 +
==RENAME_ENABLED_DEFAULT 1|0==
 +
to set the default flag for player joining the server. if 0, players can't rename ...
 +
==RENAME_ENABLED 1|0==
 +
set the default value + all players flags
 +
 +
== Spawn Zone ==
 +
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.
 +
 +
Possible types:
 +
win - As soon as a player touches the zone he/his team win the round immediately.
 +
death - Touch the zone you die.
 +
ball - acts like a hockey puck, the should be some kind of goal you need to aim for. In the shape of a fortress zone.
 +
flag - you can pick up a flag, it will stick to you for a specified period. Take it back to your base in ctf.
 +
fortress - capture the enemies fortress/s and protect your own.
 +
zombie - I deathzone that is locked onto a player. Sometimes you can shoot them and get rid of them.
 +
target - can be used as a trigger for your script for many uses. A race checkpoint perhaps, or a deathzone generator.
 +
 +
<nowiki> SPAWN_ZONE <win|death|ball|target> <x> <y> <size> <growth> <xdir> <ydir> <interactive> <r> <g> <b> <target_size>
 +
SPAWN_ZONE <fortress|flag> <team> <x> <y> <size> <growth> <xdir> <ydir> <interactive> <r> <g> <b> <target_size>
 +
SPAWN_ZONE zombie <player> <x> <y> <size> <growth> <xdir> <ydir> <interactive> <r> <g> <b> <target_size>
 +
SPAWN_ZONE zombieOwner <player> <owner> <x> <y> <size> <growth> <xdir> <ydir> <interactive> <r> <g> <b> <target_size></nowiki>
 +
 +
Instead of <x> <y> one can write: L <x1> <y1> <x2> <y2> [...] Z
 +
This will allow you to have the zone follow a set path. It will continue to use the same initial speed.
 +
 +
optional: if you wanr to give zones a name you can include:
 +
SPAWN_ZONE n zone_name TARGET .....
 +
 +
If you give more than one zone the same name you can influence all zones of the same name simultaneously.
 +
 +
===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.
 +
If you spell it incorrectly, it links the zone to the closest player team(default behavior).
 +
===cordinates (x,y)===
 +
<pos_x>, <pos_y>, self explanatory. Of course it depends of the map
 +
===size===
 +
<size> is the radius of the zone
 +
===growth===
 +
<growth> is the growing factor of the zone.
 +
===speed===
 +
<dir_x>, <dir_y> is the speed vector, to make the zone move all alone Wink
 +
===interactive===
 +
<bouncing_flag> is a boolean. true or false (still case sensitive). If true, it makes the zone bounce on the rim walls
 +
===colour===
 +
<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.
 +
==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 !
 +
 +
 +
===Examples===
 +
 +
spawn_zone death 200 300 10 0.5 0 30 true 0 0 15 20
 +
 +
This would spawn a death zone with the following attributes...
 +
coordinate x=200, y=300
 +
size radius=10
 +
growth=0.5
 +
speed along x=0
 +
speed along y=30
 +
It will bounce of walls
 +
colour=blue
 +
max radius it will grow to=20
 +
 +
 +
 
==Special Settings for Influencing Zones==
 
==Special Settings for Influencing Zones==
 
===SET_ZONE_POSITION <zone> <x> <y>===
 
===SET_ZONE_POSITION <zone> <x> <y>===
Line 55: Line 129:
 
- sending messages to users  
 
- sending messages to users  
 
==CYCLE_SPEED_MAX <int>==  
 
==CYCLE_SPEED_MAX <int>==  
Default 100000. Unlike CYCLE_SPEED_MIN, which is "Minimal speed of your cycle, measured relative to CYCLE_SPEED". This is an int which is the actual maximum speed of your cycle. Things get ugly if you set CYCLE_SPEED_MAX < CYCLE_SPEED, but then they would.  
+
Default 100000. Unlike CYCLE_SPEED_MIN, which is "Minimal speed of your cycle, measured relative to CYCLE_SPEED". This is an int which is the actual maximum speed of your cycle. Things get ugly if you set CYCLE_SPEED_MAX < CYCLE_SPEED, but then they would.
==ALLOW_PLAYER_TO_JOIN_DEFAULT 1|0==
+
set the default value for player joining the server
+
==RENAME_ENABLED_DEFAULT 1|0==
+
to set the default flag for player joining the server. if 0, players can't rename ...
+
==RENAME_ENABLED 1|0==
+
set the default value + all players flags
+
==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 !
+

Revision as of 14:56, 4 October 2007

Personal tools