Difference between revisions of "Customizing the game"

From Armagetron
m (linked the moviepacks list)
(cycle colors, fixed headings)
Line 1: Line 1:
==Customizing the game==
 
 
 
Often people ask how to install a moviepack, how you make your cycle color different from your tail's, etc. Read on if you want to know how.
 
Often people ask how to install a moviepack, how you make your cycle color different from your tail's, etc. Read on if you want to know how.
  
== Installing a Moviepack ==
+
== Moviepacks ==
 +
===  Installing a Moviepack ===
  
 
[[Moviepacks]] are packages that completely change the look of the game. the floor, the walls, the cycles, everything. Nowadays, you can download many from different places around the net; for pointers, consult the [[Moviepacks list]]. They usually come in a ZIP file containing a ''moviepack'' folder. This folder goes into your armagetron advanced installation or user configuration directory:
 
[[Moviepacks]] are packages that completely change the look of the game. the floor, the walls, the cycles, everything. Nowadays, you can download many from different places around the net; for pointers, consult the [[Moviepacks list]]. They usually come in a ZIP file containing a ''moviepack'' folder. This folder goes into your armagetron advanced installation or user configuration directory:
Line 20: Line 19:
 
''The armagetron installation and configuration paths should be somewhere else on the wiki, too''
 
''The armagetron installation and configuration paths should be somewhere else on the wiki, too''
  
==  Problems  ==
+
===  Problems  ===
  
 
sometimes you get errors after installing a moviepack, such as
 
sometimes you get errors after installing a moviepack, such as
Line 27: Line 26:
 
this means that the moviepack you installed is not complete, i.e. Armagetron Advanced looks for files that are not present in the moviepack. The easiest way around this is to first install the [http://armagetron.sourceforge.net/old/addons.html original moviepack (get the ZIP)] and install the moviepack you actually want ''on top of it''.
 
this means that the moviepack you installed is not complete, i.e. Armagetron Advanced looks for files that are not present in the moviepack. The easiest way around this is to first install the [http://armagetron.sourceforge.net/old/addons.html original moviepack (get the ZIP)] and install the moviepack you actually want ''on top of it''.
  
== Cycle Colors ==
+
==Cycle Colors==
 +
 
 +
===  The basics of cycle color  ===
 +
 
 +
First you have to understand how computers understand colors. In armagetron, colors are saved with three values: the ''red'', ''green'' and ''blue'' (R, G and B) parts. These are also the three components of light.
 +
Each of these three so-called RGB values can hold a number from 0 to 15 - 0 means none and 15 means as much as
 +
possible. A few examples:
 +
 
 +
''r 15, g 0, b 0  :  strong red
 +
 
 +
r 0, g 15, b 0  :  strong green
 +
 
 +
r 0, g 0, b 15  :  strong blue
 +
 
 +
r 8, g 0, b 0  :  darker red''
 +
 
 +
you can also combine the colours:
 +
 
 +
''r 15 g 0 b 15 : strong pink''
 +
 
 +
''r 0 g 15 b 10 : strong cyan''
 +
 
 +
''r 15 g 15 b 0 : yellow''
 +
 
 +
''r 15 g 8 b 0  : orange (less green => more red than yellow)''
 +
 
 +
you get the gist. So how do you set these colours ? you can set them via the player setup menu, but if you want to have
 +
different cycle and trail colours, you have to use the [[Console]]. The commands are
 +
 
 +
''color_r_1 X  # set red component of the 1st player's cycle to X''
 +
 
 +
''color_g_1 Y  # set green component of the 1st player's cycle to Y''
 +
 
 +
''color_b_1 Z  # set blue component of the 1st player's cycle to Z''
 +
 
 +
The best way to learn how to write the colour you want is to experiment a bit.
 +
 
 +
===  Different Cycle and trail colors  ===
 +
 
 +
Remember me saying that the colors were saved as numbers between 0 and 15 ? Well, that was not entirely true. If you set
 +
a color to a value over 15, the trail part is set to 15 and the cycle is (usually) set to the actual value minus 16.
 +
For example:
 +
 
 +
''r 16 g 16 b 0  : yellow tail (r 15 g 15) and black bike (16 - 16 = 0)''
 +
 
 +
higher numbers can give you multi-colored trails. Again, experiment.
  
TODO
+
''TODO: exact axplanation''
  
== Chat Colors ==
+
==Chat Colors==
  
 
TODO
 
TODO

Revision as of 10:24, 29 January 2006

Often people ask how to install a moviepack, how you make your cycle color different from your tail's, etc. Read on if you want to know how.

Moviepacks

Installing a Moviepack

Moviepacks are packages that completely change the look of the game. the floor, the walls, the cycles, everything. Nowadays, you can download many from different places around the net; for pointers, consult the Moviepacks list. They usually come in a ZIP file containing a moviepack folder. This folder goes into your armagetron advanced installation or user configuration directory:

Default armagetron advanced installation folder

Windows: C:\Program Files\Armagetron Advanced\

Unix/Linux: /usr/local/share/games/armagetronad/


Default armagetron advanced configuration folder

Unix/Linux: ~/.armagetronad

The armagetron installation and configuration paths should be somewhere else on the wiki, too

Problems

sometimes you get errors after installing a moviepack, such as Moviepack err.gif

this means that the moviepack you installed is not complete, i.e. Armagetron Advanced looks for files that are not present in the moviepack. The easiest way around this is to first install the original moviepack (get the ZIP) and install the moviepack you actually want on top of it.

Cycle Colors

The basics of cycle color

First you have to understand how computers understand colors. In armagetron, colors are saved with three values: the red, green and blue (R, G and B) parts. These are also the three components of light. Each of these three so-called RGB values can hold a number from 0 to 15 - 0 means none and 15 means as much as possible. A few examples:

r 15, g 0, b 0 : strong red

r 0, g 15, b 0 : strong green

r 0, g 0, b 15 : strong blue

r 8, g 0, b 0 : darker red

you can also combine the colours:

r 15 g 0 b 15 : strong pink

r 0 g 15 b 10 : strong cyan

r 15 g 15 b 0 : yellow

r 15 g 8 b 0 : orange (less green => more red than yellow)

you get the gist. So how do you set these colours ? you can set them via the player setup menu, but if you want to have different cycle and trail colours, you have to use the Console. The commands are

color_r_1 X # set red component of the 1st player's cycle to X

color_g_1 Y # set green component of the 1st player's cycle to Y

color_b_1 Z # set blue component of the 1st player's cycle to Z

The best way to learn how to write the colour you want is to experiment a bit.

Different Cycle and trail colors

Remember me saying that the colors were saved as numbers between 0 and 15 ? Well, that was not entirely true. If you set a color to a value over 15, the trail part is set to 15 and the cycle is (usually) set to the actual value minus 16. For example:

r 16 g 16 b 0 : yellow tail (r 15 g 15) and black bike (16 - 16 = 0)

higher numbers can give you multi-colored trails. Again, experiment.

TODO: exact axplanation

Chat Colors

TODO