# HG changeset patch # User Wuzzy # Date 1510897103 0 # Node ID 216ffcca9ede7fe28aa78ff5f4fd5bb1bb71289c # Parent 8d4ef9a49b0845ad4ab5a181aab1804ab3f69626 Hats: Simplify list of templates diff -r 8d4ef9a49b08 -r 216ffcca9ede Hats.wiki --- a/Hats.wiki Fri Nov 17 05:26:42 2017 +0000 +++ b/Hats.wiki Fri Nov 17 05:38:23 2017 +0000 @@ -101,21 +101,19 @@ == Templates == -For your convenience, we have created some templates to ease the creation of hats. You can use them as background layer to help you align your hats. +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. -=== Static normal hats === -Just use the template for animated normal hats and crop it to the first frame (top left 32×32 pixels). +* Static normal hat: [https://www.hedgewars.org/images/Static_Hat_Template.png Static_Hat_Template.png] +* Static team hat: [https://www.hedgewars.org/images/Static_Team_Hat_Template.png Static_Team_Hat_Template.png] +* Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.png Hat_Template.png] +* Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.png Team_Hat_Template.png] -=== Animated normal hats === -A basic PNG template is [https://www.hedgewars.org/images/Hat_Template.png Hat_Template.png]. You can use this image as a background layer. This image shows 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. -You can use this image to exactly align the hat properly. +For GIMP users, we also have XCF files with layers for your convenience: +* Animated normal hat: [https://www.hedgewars.org/images/Hat_Template.xcf Hat_Template.xcf] +* Animated team hat: [https://www.hedgewars.org/images/Team_Hat_Template.xcf Team_Hat_Template.xcf] -This image is also available as XCF for GIMP users: [https://www.hedgewars.org/images/Hat_Template.xcf Hat_Template.xcf]. It got an additional layer and you can easily toggle a couple of layers on and off. - -=== Animated team hats === -You can use [https://www.hedgewars.org/images/Team_Hat_Template.png Team_Hat_Template.png]. This is similar to the previous PNG. The hedgehogs on the right half are in gray to remind you that you only should use grayscale colors on this side. - -The XCF source of this file is here: [https://www.hedgewars.org/images/Team_Hat_Template.xcf Team_Hat_Template.xcf]. +=== Quick explanation === +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. == Sharing hats == 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.