Hats.wiki
changeset 1132 a7edef700a91
parent 1131 bfaa8cfa4138
child 1133 b0458918e0c8
equal deleted inserted replaced
1131:bfaa8cfa4138 1132:a7edef700a91
   101 
   101 
   102 Hedgewars will always use the very first frame of a hat image to create the preview in the team editor. This also applies to team hats.
   102 Hedgewars will always use the very first frame of a hat image to create the preview in the team editor. This also applies to team hats.
   103 
   103 
   104 
   104 
   105 == Templates ==
   105 == Templates ==
   106 For your convenience, we have created some templates to ease the creation of hats to help you to align the hats pixel-perfectly. You can use them as background layer to help you align your hats.
   106 For your convenience, we have created some templates to ease the creation of hats to help you to align the hats pixel-perfectly. Use them as background layer.
   107 
   107 
   108  * Static normal hat: [https://www.hedgewars.org/images/Static_Hat_Template.png Static_Hat_Template.png]
   108  * Static normal hat: [https://www.hedgewars.org/images/Static_Hat_Template.png Static_Hat_Template.png]
   109  * Static team hat: [https://www.hedgewars.org/images/Static_Team_Hat_Template.png Static_Team_Hat_Template.png]
   109  * Static team hat: [https://www.hedgewars.org/images/Static_Team_Hat_Template.png Static_Team_Hat_Template.png]
   110  * Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.png Hat_Template.png]
   110  * Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.png Hat_Template.png]
   111  * Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.png Team_Hat_Template.png]
   111  * Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.png Team_Hat_Template.png]
   113 For GIMP users, we also have XCF files with layers for your convenience:
   113 For GIMP users, we also have XCF files with layers for your convenience:
   114  * Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.xcf Hat_Template.xcf]
   114  * Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.xcf Hat_Template.xcf]
   115  * Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.xcf Team_Hat_Template.xcf]
   115  * Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.xcf Team_Hat_Template.xcf]
   116 
   116 
   117 === Quick explanation ===
   117 === Quick explanation ===
   118 You can use these images as a background layer. They show a colored checkerboard pattern, each field represents an animation frame. The green and red fields are those where the idle hedgehog has an offset of +1px or −1 px (see above). The black fields are the unused frames. In the front, the idle hedgehog can be seen but shifted 5 pixels lower and the 5 lowest pixels cut off.
   118 Use these images as a background layer. They show a colored checkerboard pattern, each field represents an animation frame. The green and red fields are those where the idle hedgehog has an offset of +1px or −1 px (see above). The black fields are the unused frames. In the front, the idle hedgehog can be seen but shifted 5 pixels lower and the 5 lowest pixels cut off.
       
   119 The gray hedgehogs remind you of the fields which need to be in grayscale for team hats.
   119 
   120 
   120 == Sharing hats ==
   121 == Sharing hats ==
   121 Custom hats (hats which are not part of the official Hedgewars installation) are only visible to other players if they have the hat installed under the same file name.
   122 Custom hats (hats which are not part of the official Hedgewars installation) are only visible to other players if they have the hat installed under the same file name.
   122 
   123 
   123 In case the other player does not have the custom hat installed, the player will see no hat instead.
   124 In case the other player does not have the custom hat installed, the player will see no hat instead.