Forts.wiki
changeset 642 5a3244f7c91d
parent 444 a7a49e2ea0e9
child 665 408f524462b5
equal deleted inserted replaced
641:0f32bfac1974 642:5a3244f7c91d
     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.
     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 
     6 
     7 == Creating a fort ==
     7 == Creating a fort ==
     8 Creating a fort is a relatively simple task.
     8 Creating a fort is a relatively simple task.
     9 
     9 
    10 To create a fort, you have to create two graphics in PNG format, for the fort on the left side and 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.
    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.
    11 
    11 
    12 All transparent pixels are open air and all opaque pixels are part of the fort.
    12 All transparent pixels are open air and all opaque and semitransparent pixels are part of the fort.
    13 
    13 
    14 Both images have to be at a size of exactly 1024×1024 pixels.
    14 Both images have to be at a size of exactly 1024×1024 pixels.
    15 
    15 
    16 The file names of the image files have to follow this name scheme:
    16 The file names of the image files have to follow this name scheme:
    17 {{{
    17 {{{
    21 {{{
    21 {{{
    22 fortnameR.png
    22 fortnameR.png
    23 }}}
    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.
    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 
    25 
       
    26 Since version 0.9.22, `fortnameR.png` can be omitted if it is just a perfect mirror image of `fortnameL.png`.
       
    27 
    26 Please try to only use alphanumeric characters and the underscore when choosing a name.
    28 Please try to only use alphanumeric characters and the underscore when choosing a name.
    27 
    29 
    28 When you are finished, save the files in `Data/Forts` of your Hedgewars data directory.
    30 When you are finished, save the files in `Data/Forts` of your Hedgewars data directory.
    29 
    31 
    30 == See also ==
    32 == See also ==