From Armagetron
Revision as of 12:03, 24 August 2021 by Cadillac (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Texture is just a fancy way of saying "picture". In 3d modeling, you create a representation of an object in three dimensions, and one of the parts of that representation is its surface. When you look at, say, a table in real life, you don't see a bunch of wires and points, do you? No! You see color, patterns, bumps, and various other parts of the table. By looking at the table, your brain determines what it feels like to touch, approximately what it smells/tastes like, and other things. In 3d modeling, we accomplish that by creating what are called textures. A texture isn't anything fancy, though it certainly sounds fancy. All it is is a picture made with your favorite paint program that is laid on top of what would otherwise be just a wire model.

Location of Textures

Armagetron Advanced has two places where you're likely to find textures. One of them is installed by default in a directory aptly named textures. If you look in that directory, you'll see a whole slew of regular graphics files that you can view in a web browser, image file viewer, or whatever. You can modify them in a paint program such as the GIMP, or Adobe's Photoshop. Finally, you can just put completely different images in that directory, and as long as you name them the way the game expects them to be named, your special images will be loaded and rendered onto the models in the game.

Here is a list of texture files that ship with the game:

  • cycle_body.png
  • cycle_wheel.png
  • dir_wall.png
  • floor.png
  • floor_a.png
  • floor_b.png
  • font.png
  • font_extra.png
  • font_s.png
  • icon.png
  • KGN_logo.png
  • rim_wall.png
  • shadow.png
  • sky.png
  • title.jpg
  • wrap.png

Now what are all these files exactly?


The game's splash screen is the file title.jpg. If you want your own customized splash screen, just put one in there. There are probably some resolution requirements, but I don't know them (hint hint).

Cycle Textures

The default cycle model needs two textures to render. They are:

  • cycle_body.png
  • cycle_wheel.png

Obviously, cycle_body.png is used on the body of the cycle and cycle_wheel.png is used for the wheels.

Wall textures

the dir_wall has many many great looking posibilities
Example of a different trail texture
Another shot of a different trail

There are two kinds of walls in Armagetron Advanced, therefore there are two different textures for them. Cycle walls are rendered using dir_wall.png and other walls are rendered using rim_wall.png.

Floor Textures

There are three floor textures. The exact textures that are chosen depend entirely on your game settings, so when you work with these textures, you need to work with all possible floor settings. They are additionally rendered onto a colored surface, so when you disable these textures there is still a colored surface underneath.

  • floor.png
  • floor_a.png
  • floor_b.png

Sky & Floor Textures

an example of unintended dual textured plain

There is one simple sky texture labeled as * sky.png * which, depending on your settings can move and is placed "underneath" an upper sky which shares the * floor.png * texture with the "textured plain" floor. * floor_a * and * floor_b * make up the "dual textured plain" setting in the options of the arma GUI. These textures of the "dual textured plain" are straight Grey lines by default. Using images that exceed 1 pixel in width act in a variety of unintended ways but can ultimately lead to some cool looking grids.

Not implemented in the actual game as far as I can tell. Perhaps its a developer's signature or something. Anyhow the game plays without them.

Other Textures

Textures Library TODO (fonts and shadow)