| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<!-- |
| 5 |
|
| 6 |
---- (c) Copyright 2003-2013 by Nehal Mistry |
| 7 |
|
| 8 |
---- This program is free software; you can redistribute it and/or modify |
| 9 |
---- it under the terms of the GNU General Public License as published by |
| 10 |
---- the Free Software Foundation; only version 2 of the License. |
| 11 |
---- |
| 12 |
---- This program is distributed in the hope that it will be useful, |
| 13 |
---- but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
---- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
---- GNU General Public License for more details. |
| 16 |
---- |
| 17 |
---- You should have received a copy of the GNU General Public License |
| 18 |
---- along with this program; if not, write to the Free Software |
| 19 |
---- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
| 20 |
---- 02111-1307, USA. |
| 21 |
--> |
| 22 |
<title>Bos Wars Media Documentation</title> |
| 23 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 24 |
</head> |
| 25 |
|
| 26 |
<body> |
| 27 |
|
| 28 |
<h1>Bos Wars Media Documentation</h1> |
| 29 |
<hr> |
| 30 |
|
| 31 |
<h2>Graphics</h2> |
| 32 |
Bos Wars graphics use a 256 color palette.<p> |
| 33 |
|
| 34 |
To see color indices in Gimp, open the 'Indexed Palette' dialog.<p> |
| 35 |
|
| 36 |
The color indexes 208 to 211 are reserved to display the player color. |
| 37 |
They go from lightest to darkest and will be replaced depending on the player color. |
| 38 |
The remaining colors may be used as regular colors. |
| 39 |
|
| 40 |
<h4>Buildings</h4> |
| 41 |
|
| 42 |
Buildings are simple to do. Each graphic consists of a .png file using |
| 43 |
the palette format specified in the link above. The first frames in |
| 44 |
the graphic form the animation of the building. The remaining frames |
| 45 |
form the animation of the construction of the building. |
| 46 |
Here is an example of 'camera.png'.<p> |
| 47 |
|
| 48 |
<img src="../units/camera/camera.png" alt="camera"><br> |
| 49 |
|
| 50 |
<h4>Units</h4> |
| 51 |
|
| 52 |
Units are a little more complex as there are more sections per graphic. |
| 53 |
The 5 columns represent the directions. The rows are varied among |
| 54 |
different type of graphics, see the script files for more info. Here is |
| 55 |
an example of 'unit_engineer.png'. First 5 rows are used for movement, |
| 56 |
next 5 for building, and the next 3 for dieing.<p> |
| 57 |
|
| 58 |
<img src="../units/engineer/unit_engineer.png" alt="engineer"><br> |
| 59 |
|
| 60 |
<h2>Sounds</h2> |
| 61 |
|
| 62 |
Any format of sound will work with Bos Wars, although to save space it is |
| 63 |
recommended that you use 16 bit, 22050 kHz, mono format.<p> |
| 64 |
|
| 65 |
Look through the script files for existing media for more examples.<p> |
| 66 |
|
| 67 |
<hr> |
| 68 |
(C) Copyright 1998-2013 by The <a href="http://boswars.org">Bos Wars</a> Project |
| 69 |
under the <a href="gpl.html">GNU General Public License</a>.<br> |
| 70 |
All trademarks and copyrights on this page are owned by their respective owners.<br> |
| 71 |
</body> |
| 72 |
</html> |