166 lines
4.7 KiB
HTML
166 lines
4.7 KiB
HTML
<!--
|
|
---- $Id$
|
|
|
|
---- (c) Copyright 2001-2003 by Lutz Sammer
|
|
|
|
---- This program is free software; you can redistribute it and/or modify
|
|
---- it under the terms of the GNU General Public License as published by
|
|
---- the Free Software Foundation; only version 2 of the License.
|
|
----
|
|
---- This program is distributed in the hope that it will be useful,
|
|
---- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
---- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
---- GNU General Public License for more details.
|
|
----
|
|
---- You should have received a copy of the GNU General Public License
|
|
---- along with this program; if not, write to the Free Software
|
|
---- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
---- 02111-1307, USA.
|
|
-->
|
|
<html><head>
|
|
<title>Stratagus unit graphics</title>
|
|
</head>
|
|
<body>
|
|
<h1>Stratagus unit graphics</h1>
|
|
<hr>
|
|
|
|
<h2>The units/buildings of a race</h2>
|
|
|
|
<h3>Units</h3>
|
|
<ul>
|
|
<li>Worker<br>
|
|
The heart of the army, collects resources, repairs buildings and
|
|
builds buildings.
|
|
<li>Worker with resource GOLD<br>
|
|
The worker carring a resource.
|
|
<li>Worker with resource WOOD<br>
|
|
The worker carring a resource.
|
|
<li>Soldier with close combat weapon<br>
|
|
Small close combat unit.
|
|
<li>Soldier with far combat weapon<br>
|
|
Small far combat unit.
|
|
<li>Improved soldier with far combat weapon<br>
|
|
Small far combat unit with better features.
|
|
<li>Big/fast soldier with close combat weapon<br>
|
|
Bigger and faster close combat unit.
|
|
<li>Improved big/fast soldier with close combat weapon<br>
|
|
Bigger and faster close combat unit with special magic features.
|
|
<li>Kamikaze<br>
|
|
Self destroying fast unit.
|
|
<li>Siege weapon<br>
|
|
Heavy slow engine.
|
|
<li>Magic unit<br>
|
|
Unit with many magic features.
|
|
<li>Flying fighter<br>
|
|
Heavy flying far combat unit.
|
|
<li>Flying scout<br>
|
|
Fast flying none combat unit.
|
|
<li>Tanker<br>
|
|
Collects resources on water, can build buildings on water.
|
|
<li>Tanker with resources<br>
|
|
Tanker carring resources.
|
|
<li>Transporter<br>
|
|
Transports units over the water.
|
|
<li>Small ship<br>
|
|
Small water far combat unit.
|
|
<li>Big ship<br>
|
|
Big/slow water far combat unit.
|
|
<li>Undersea ship<br>
|
|
Under water fighting unit.
|
|
<p>
|
|
<li>Heros<br>
|
|
There are also many heros which only have an own icon.
|
|
</ul>
|
|
|
|
<h3>Buildings</h3>
|
|
<ul>
|
|
<li>Farm<br>
|
|
Supplies 4 units.
|
|
<li>Barracks<br>
|
|
Trains fighters.
|
|
<li>Home house<br>
|
|
Trains workers, store for resources.
|
|
<li>Improved home house<br>
|
|
Gives more resources and new buildings.
|
|
<li>Very improved home house<br>
|
|
Gives even more resources and new buildings.
|
|
<li>Land resource store<br>
|
|
Extra store for land resource.
|
|
<li>Armory<br>
|
|
Research for better weapons.
|
|
<li>Scout tower<br>
|
|
Base for the defence towers.
|
|
<li>Defence tower<br>
|
|
Light weapons with air defence.
|
|
<li>Better defence tower<br>
|
|
Heavy weapons without air defence.
|
|
<li>Wall<br>
|
|
Only used for building phase.
|
|
<li>Training/building place for bigger land units.
|
|
<li>Training/building place for improved bigger land units.
|
|
<li>Training/building place for magic units.
|
|
<li>Training/building place for air units.
|
|
<li>Training/building place for sea units.
|
|
<li>Training/building place for undersea units.
|
|
<li>Building to produce water resource.
|
|
<li>Store for water resource.
|
|
</ul>
|
|
|
|
<h2>General units/buildings</h2>
|
|
|
|
<ul>
|
|
<li>Animals as decoration on maps.
|
|
<li>Building for land resource. (mine)
|
|
<li>Shows water resource.
|
|
<li>Stones
|
|
<li>Gate
|
|
</ul>
|
|
|
|
<h2>Needed graphics for the units</h2>
|
|
|
|
To an unit/building/object belongs an icon and some animations.<p>
|
|
Each unit/building/object has its portrait, which could be different for
|
|
each tileset.<p>
|
|
And following animations:
|
|
<ul>
|
|
<li>Standing
|
|
<li>Moving
|
|
<li>Attacking
|
|
<li>Dieing
|
|
<li>Under construction
|
|
<li>In use
|
|
</ul>
|
|
|
|
<h2>The icon format</h2>
|
|
|
|
An icon has the size of 46x38 pixels. Currently all icons are stored in a
|
|
single file (I will change this, if required).<p>
|
|
|
|
<h2>Unit file format</h2>
|
|
|
|
All images for all animations and headings are stored in an single file.
|
|
Currently the loader supports only <i>PNG</i> format.
|
|
The biggest needed size is taken for all images.
|
|
<p>
|
|
|
|
[1-1][1-2][1-3][1-4][1-5]<br>
|
|
[2-1][2-2][2-3][2-4][2-5]<br>
|
|
....<br>
|
|
[n-1][n-2][n-3][n-4][n-5]<br>
|
|
|
|
<p>X-1 ... X-5 are the different headings for the same animations.
|
|
<ul>
|
|
<li>X-1 looking north
|
|
<li>X-2 looking north-west
|
|
<li>X-3 looking west
|
|
<li>X-4 looking south-west
|
|
<li>X-5 looking south
|
|
<li>The missing directions are made with mirroring
|
|
</ul>
|
|
|
|
2-Y is the second frame of the animation.
|
|
|
|
<hr>
|
|
All trademarks and copyrights on this page are owned by their respective owners.
|
|
<address><a href="http://stratagus.org">The Stratagus Project</a>
|
|
</address></body></html>
|