You can make your own Outgun graphics theme. A theme is a set of pictures which are in the PCX format.
Textures are tiled on the floor and walls. Sprites are used for players, rockets, powerups and flags. Outgun scales the sprites depending on the resolution.
Some sprites have an alpha channel for translucency and some for team or personal colour. Due to restrictions of the PCX format, alpha channels must be in separate files. Alpha channel pictures are 256-colour (8-bit) greyscale pictures. The lighter the alpha channel is the more colour or opacity the sprite will have. In the sprites that do not have an alpha channel, the transparent parts are purple (RGB 255, 0, 255).
Create a directory with the name of your theme under the
graphics directory, e.g. Mytheme. That is the name which is seen in the graphics setup menu in Outgun. Put the pictures of the theme there.
The size of the textures must be 2n×2m, e.g. 64×32 pixels. Notice that the texture files can and usually should be 8-bit images, which decreases the file size quite dramatically when compared to 24 bits.
|3||red team floor||floor_red.pcx|
|4||blue team floor||floor_blue.pcx|
|3||red team wall||wall_red.pcx|
|4||blue team wall||wall_blue.pcx|
The recommended size of the player sprites is 256×256 pixels. The collidable area is a circle with a diameter of half the picture.
|player.pcx||The main player sprite.|
|player_team.pcx||Alpha channel for the team colour.|
|player_personal.pcx||Alpha channel for the player colour.|
|player_shield.pcx||Player’s shield sprite.|
|player_shield_team.pcx||Alpha channel for the team colour.|
|dead.pcx||Sprite seen when the player dies.|
|dead_team.pcx||Alpha channel for the team colour.|
|dead_alpha.pcx||Alpha channel for the dead sprite.|
|ice_cream.pcx||Sprite seen instead of ice cream, “virou sorvete”.|
The recommended size of the rocket sprites is 32×32 pixels.
|rocket.pcx||Normal rocket sprite.|
|rocket_team.pcx||Alpha channel for the team colour.|
|rocket_pow.pcx||Power rocket sprite.|
|rocket_pow_team.pcx||Alpha channel for the team colour.|
The recommended size of the powerup sprites is 128×128 pixels.
The recommended size of the flag sprite is 256×256 pixels.
|flag_team.pcx||Alpha channel for the team colour.|
Starting from Outgun 1.0.3, you can use a background image on the game screen. Name it as
background.pcx. It is tiled on the screen background and has the same restrictions as the textures.
Starting from Outgun 1.0.4, a graphic theme can include a custom colour set. This works by placing a
colours.txt file in the theme directory. If you run Outgun with the
-colour-file command line parameter, the default colours are saved in the
graphics/colours.txt file. Copy that to your theme directory and modify it.
The format of the colour file that Outgun 1.0 understands is very simple. Every non-empty line that is not a comment (those start with a semicolon, ‘;’), is a colour command line. It has a keyname and colour value in hexadecimal RGB format, separated by whitespace. The RGB hex can have three or six digits: F93 is same as FF9933. For example:
team_red_basic FF0000 map_wall 070