Forts.wiki
author Wuzzy
Fri, 19 Apr 2019 16:07:50 +0100
changeset 1831 365c30b4c669
parent 798 30c5f1ebd552
permissions -rw-r--r--
LuaGears: Add temporary mistake to test documentation script
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
441
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
     1
#summary Quick explanation of forts and how to create them
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
     2
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
     3
= Forts =
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
     4
== Explanation of forts ==
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
     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.
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
     6
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
     7
== Creating a fort ==
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
     8
Creating a fort is a relatively simple task.
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
     9
642
5a3244f7c91d Explain 0.9.22 automirror feature
Wuzzy
parents: 444
diff changeset
    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
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    11
642
5a3244f7c91d Explain 0.9.22 automirror feature
Wuzzy
parents: 444
diff changeset
    12
All transparent pixels are open air and all opaque and semitransparent pixels are part of the fort.
441
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    13
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    14
Both images have to be at a size of exactly 1024×1024 pixels.
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    15
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    16
The file names of the image files have to follow this name scheme:
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    17
{{{
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    18
fortnameL.png
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    19
}}}
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    20
for the left fort and
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    21
{{{
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    22
fortnameR.png
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    23
}}}
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    24
for the right fort. “fortname” will be the name how the fort will appear in Hedgewars, replace it with the name you want.
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    25
642
5a3244f7c91d Explain 0.9.22 automirror feature
Wuzzy
parents: 444
diff changeset
    26
Since version 0.9.22, `fortnameR.png` can be omitted if it is just a perfect mirror image of `fortnameL.png`.
5a3244f7c91d Explain 0.9.22 automirror feature
Wuzzy
parents: 444
diff changeset
    27
441
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    28
Please try to only use alphanumeric characters and the underscore when choosing a name.
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    29
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    30
When you are finished, save the files in `Data/Forts` of your Hedgewars data directory.
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    31
665
408f524462b5 Sharing section
Wuzzy
parents: 642
diff changeset
    32
== Sharing forts ==
408f524462b5 Sharing section
Wuzzy
parents: 642
diff changeset
    33
You can only play a Fort Mode game with custom forts against other players online if all participating players have the fort installed under the same name.
408f524462b5 Sharing section
Wuzzy
parents: 642
diff changeset
    34
408f524462b5 Sharing section
Wuzzy
parents: 642
diff changeset
    35
If any player does not have the fort installed, the game will fail to start and an error message is displayed.
408f524462b5 Sharing section
Wuzzy
parents: 642
diff changeset
    36
798
30c5f1ebd552 global replace of http with https for hedgewars.org wiki links
nemo
parents: 665
diff changeset
    37
You are encouraged to share your forts in the thread “[https://www.hedgewars.org/node/2361 Forts! additions, submissions, information.]”, where submissions are considered for official inclusion into Hedgewars.
665
408f524462b5 Sharing section
Wuzzy
parents: 642
diff changeset
    38
441
ad93dd01d0bc Quick guide about forts
almikes@aol.com
parents:
diff changeset
    39
== See also ==
665
408f524462b5 Sharing section
Wuzzy
parents: 642
diff changeset
    40
444
a7a49e2ea0e9 Fix link
almikes@aol.com
parents: 441
diff changeset
    41
 * [PresetMaps]