# Stratagus unit graphics

## The units/buildings of a race

### Units

- Worker
  The heart of the army, collects resources, repairs buildings and builds buildings.
- Worker with resource GOLD
  The worker carring a resource.
- Worker with resource WOOD
  The worker carring a resource.
- Soldier with close combat weapon
  Small close combat unit.
- Soldier with far combat weapon
  Small far combat unit.
- Improved soldier with far combat weapon
  Small far combat unit with better features.
- Big/fast soldier with close combat weapon
  Bigger and faster close combat unit.
- Improved big/fast soldier with close combat weapon
  Bigger and faster close combat unit with special magic features.
- Kamikaze
  Self destroying fast unit.
- Siege weapon
  Heavy slow engine.
- Magic unit
  Unit with many magic features.
- Flying fighter
  Heavy flying far combat unit.
- Flying scout
  Fast flying none combat unit.
- Tanker
  Collects resources on water, can build buildings on water.
- Tanker with resources
  Tanker carring resources.
- Transporter
  Transports units over the water.
- Small ship
  Small water far combat unit.
- Big ship
  Big/slow water far combat unit.
- Undersea ship
  Under water fighting unit.

- Heros
  There are also many heros which only have an own icon.

### Buildings

- Farm
  Supplies 4 units.
- Barracks
  Trains fighters.
- Home house
  Trains workers, store for resources.
- Improved home house
  Gives more resources and new buildings.
- Very improved home house
  Gives even more resources and new buildings.
- Land resource store
  Extra store for land resource.
- Armory
  Research for better weapons.
- Scout tower
  Base for the defence towers.
- Defence tower
  Light weapons with air defence.
- Better defence tower
  Heavy weapons without air defence.
- Wall
  Only used for building phase.
- Training/building place for bigger land units.
- Training/building place for improved bigger land units.
- Training/building place for magic units.
- Training/building place for air units.
- Training/building place for sea units.
- Training/building place for undersea units.
- Building to produce water resource.
- Store for water resource.

## General units/buildings

- Animals as decoration on maps.
- Building for land resource. (mine)
- Shows water resource.
- Stones
- Gate

## Needed graphics for the units

To an unit/building/object belongs an icon and some animations.

Each unit/building/object has its portrait, which could be different for each tileset.

And following animations:

- Standing
- Moving
- Attacking
- Dieing
- Under construction
- In use

## The icon format

An icon has the size of 46x38 pixels. Currently all icons are stored in a single file (I will change this, if required).

## Unit file format

All images for all animations and headings are stored in an single file. Currently the loader supports only PNG format. The biggest needed size is taken for all images.

[1-1][1-2][1-3][1-4][1-5]
[2-1][2-2][2-3][2-4][2-5]
....
[n-1][n-2][n-3][n-4][n-5]

X-1 ... X-5 are the different headings for the same animations.

- X-1 looking north
- X-2 looking north-west
- X-3 looking west
- X-4 looking south-west
- X-5 looking south
- The missing directions are made with mirroring

2-Y is the second frame of the animation.

All trademarks and copyrights on this page are owned by their respective owners.