441
|
1 |
#summary Quick explanation of forts and how to create them
|
|
2 |
|
|
3 |
= Forts =
|
|
4 |
== Explanation of forts ==
|
|
5 |
Forts are a piece of landscape used in fort mode. Two such forts are placed on the landscape in fort mode, usually close together to hit other hedgehogs from one fort to another, but far enough so that hedgehog can’t reach the other fort by jumping or walking. Prior to the game, each team has its own fort assigned to it in the team editor.
|
|
6 |
|
|
7 |
== Creating a fort ==
|
|
8 |
Creating a fort is a relatively simple task.
|
|
9 |
|
642
|
10 |
To create a fort, you have to create one or two graphics in PNG format, one for the fort on the left side and optionally (since 0.9.22) one for the fort on the right side. Normally these images are just mirrored, but you may want to apply some graphical tweaks for written text or shadows.
|
441
|
11 |
|
642
|
12 |
All transparent pixels are open air and all opaque and semitransparent pixels are part of the fort.
|
441
|
13 |
|
|
14 |
Both images have to be at a size of exactly 1024×1024 pixels.
|
|
15 |
|
|
16 |
The file names of the image files have to follow this name scheme:
|
|
17 |
{{{
|
|
18 |
fortnameL.png
|
|
19 |
}}}
|
|
20 |
for the left fort and
|
|
21 |
{{{
|
|
22 |
fortnameR.png
|
|
23 |
}}}
|
|
24 |
for the right fort. “fortname” will be the name how the fort will appear in Hedgewars, replace it with the name you want.
|
|
25 |
|
642
|
26 |
Since version 0.9.22, `fortnameR.png` can be omitted if it is just a perfect mirror image of `fortnameL.png`.
|
|
27 |
|
441
|
28 |
Please try to only use alphanumeric characters and the underscore when choosing a name.
|
|
29 |
|
|
30 |
When you are finished, save the files in `Data/Forts` of your Hedgewars data directory.
|
|
31 |
|
|
32 |
== See also ==
|
444
|
33 |
* [PresetMaps] |