Quackhead will allow you to create hat packs without doing any coding at all!
This page provides instructions detailing the process of creating a hat pack.
First, choose an image editor. Use anything except MS Paint.
I recommend Paint.NET if you are new to image editing, get it Here. (The download page has ads that look like download links, so use adblock or be careful not to click them.)
The template is a 64x32 image, this image will animate between two frames when you quack (the left half and right half of the image).
If using GIMP or Photshop, use the PSD template. If using Paint.NET, use the PDN template.
Thanks to /u/BeardedBears for the layered template
Ultimate PSD Template: DOWNLOAD (for Photoshop, GIMP, and others)
Ultimate PDN Template: DOWNLOAD (for Paint.NET)
Flat PNG Template: (right click, then click "Save image as").
If using the ultimate templates, there's a reddit thread here with the creators notes
You should draw your hats on a layer in front of this template, and export them as transparent PNG files without the template layer(s).
If using photoshop, be sure to save the PNG files with the "interlaced" option, as otherwise the file size may end up too large to be a hat.
When finished creating your hat textures, go to the quackhead webpage (here).
Click "Add Team" and select the png files you created
For each team type a team name.
Hat files will allow you to use your hats in multiplayer games. Everyone will be able to see your hat, without any mod being needed!
They are, however, not "official". So if you have problems, try removing them before anything else.
Click "Export as .hat files" at the top.
Extract the .hat files from the zip, if you downloaded more than one.
Move the downloaded .hat files into your duck game folder, this is usually at something like
C:\Program Files (x86)\Steam\steamapps\common\Duck Game\
Then start duck game, your hats should be in your hat selector.
If you don't need to export as a mod pack, you're done! Otherwise read on.
Mod packs allow people using the mod to wear the hat, but currently they can ONLY play with other people using the mod.
You may not want to use this unless you have a group of people who will play using your mod.
Click "Export as Modpack" at the top.
Fill in the following fields, described below:
"Name" - Unique Name for your mod
"Description" - One line description of your mod
"Author" - Name / Username of the mod creator
"Version" - Must be a number, describes the version of your mod.
Once done, click "Download Exported Modpack"
Open the .zip file, and copy the folder inside to your Documents/Duck Game/Mods folder
Start duck game, and as soon as you can, try to change your hat. Check that your new hats work correctly.
Be aware that with mod packs, you can ONLY play with people that have the exact same combination of mod packs
If you have problems, you can remove the mod from your Mods folder to get things back to normal.
(this step is completely optional, but recommended)
The thumbnail is a square image that will be shown on the workshop and mod browser.
Create a 256x256 png file and name it "preview.png", put it in the "content" folder inside the mod directory.
You can publish your mod so other people can use it. In the settings page, go to "Manage Mods".
From there, you can publish your mod.