Hats! additions, submissions, information.

547 replies [Last post]
picKid
User offline. Last seen 2 years 17 weeks ago. Offline
Joined: 2014-12-17
Posts: 8

how to delete posts?

Wuzzy
Wuzzy's picture
User is online Online
Joined: 2012-06-20
Posts: 780

PicKid allegedly wrote:

is there any good tutorials how to get started with this hatdrawing?

No. Documentation on hats is very poor indeed, and this is especially bad, since hat drawing is tricky to get into. Maybe I write a guide soon, I recently also wrote guides for flags and graves.

PicKid allegedly wrote:

the link is dead like all other too

Not surprising, since only one-click and temporary image hosters here used, the images were uploaded long time ago and now the hosters deleted it.
Silly, right? I wonder when people start to learn not to trust one-click hosters, especially not for long-term use.

PicKid allegedly wrote:
-how to get hats overlayed?

First you have to know where the hat is placed. That’s relatively simple: Take the idle hedgehog graphic (Data/Graphics/Idle.png) as reference. Your hat will be drawn 5 pixels higher.
If you just want to make a hat without any fancy animation, you still have to repeat the graphic 18 times for each frame. But that’s not enough: In the idle animation, the hedgehog moves slightly up and down, so must the hat. In the third, eighth and thirteenth frame, the hedgehog is one pixel lower than in the first frame and in the seventeenth frame, the hedgehog is one pixel higher. So on those 4 special frames, you have to also move the hat accordingly so it perfectly matches the Hedgehog idle animation.

To simplifiy all that, I have created this template:

You can use this template as a background layer and delete this layer when you’re finished.
This shows the idle hedgehog, but moved 5 pixels down and the lower 5 pixels of each frame cut off. I also conveniently draw a colorful raster. The green and red fields are special: On the green fields, the hedgehog is one pixel lower, on the red fields, it is one pixel higher than on the first frame.

You can check for yourselves that this template works by opening it in an image editor and overlaying any of the official hat images (except the “team” ones).

Quote:
what did i wrong? and what is this white line at the head of the hogh? is this for the orientation to draw hats?

Yes, this strange white line is just for orientation. You should delete it and replace it with your hat.

Sadly, the using the SVG template will not produce pixel-perfect output when you export it, well, at least not with Inkscape and GIMP. The three last images at the right upper part are slightly misplaced and this is noticable in the final animation. When I created my first hats, I manually placed the last images again.

For static hats, I think a good workflow would be: Create hat (preferably) as SVG (so it becomes easier to modify later). Export it as 32×32 pixel image. Then, using the template, manually align and copy the image to the other frames.

picKid
User offline. Last seen 2 years 17 weeks ago. Offline
Joined: 2014-12-17
Posts: 8

wow thx dude!

This is already very helpfull. Ok i think i got it now but have still some questions.

1-can i use reallife images? for example i found this stupid red hat and skaled it to 35 pixel size. and it doesnt look so bad...

2-when i want to draw my own hat i just cant draw it from pixel to pixel so i draw a normal size picture and skale it down? or like you said "Export it as 32×32 pixel image"?

i think i will experimet for a while with this and see what i can create Big Grin

thx so far

Wuzzy
Wuzzy's picture
User is online Online
Joined: 2012-06-20
Posts: 780

picKid allegedly wrote:

1-can i use reallife images?

Well, of course you can use real-life images. You can use any image you want, in theory, as long as the image follows the basic patterns, of course. Wheather the hat looks good in the end is a completely different question, of course. Big Grin

Quote:

for example i found this stupid red hat and skaled it to 35 pixel size. and it doesnt look so bad...



I don’t agree. This hat looks pretty bad in Hedgewars, because it is also badly aligned and the animation does not match the hedgehog in idle state. Have you tested the hat?

If you overlay it over my template, you can easily see how portions of the hat reach over to other tiles, this is clearly wrong. Also, anti-aliasing of this hat is also poor, I can see awful white borders.

Quote:

2-when i want to draw my own hat i just cant draw it from pixel to pixel so i draw a normal size picture and skale it down? or like you said "Export it as 32×32 pixel image"?

Actually that’s up to you. You can directly start with a 32×32 pixel image, or you could start with a large image and scale it down, or you could start with a SVG image and scale this one to 32×32 pixels. And maybe there are even more ways, but it’s really just up to you how you actually do it.

picKid
User offline. Last seen 2 years 17 weeks ago. Offline
Joined: 2014-12-17
Posts: 8

Allright, thx so far.

yea the reallife hat was just an expample (i know it doesnt fit preatty well xD, i just want to see the pic), but its good to know it is possible to use it.

Wuzzy
Wuzzy's picture
User is online Online
Joined: 2012-06-20
Posts: 780

I wrote a wiki page explaining hats!
Here you go:
http://hedgewars.org/kb/Hats

I hope it is useful for you all.

picKid
User offline. Last seen 2 years 17 weeks ago. Offline
Joined: 2014-12-17
Posts: 8

good job dude, thx for your work Smile

Wohlstand
Wohlstand's picture
User offline. Last seen 6 days 5 hours ago. Offline
Joined: 2013-06-21
Posts: 23

Quote:
“Russian” hat (I have no better name right now):

Wuzzy, this hat calling as "Ушанка" [Ushanka], cap with ear-flaps.
This cap have better protection against a frost and more warm. In the north regions it's a much useful, but I leaving in middle region where I have minimal temperature -25 and max +38 Celsius, is not so much cold.

Russia, Moscow
My Hedgewars stuff: http://wohlnet.ru/photos/Hedgewars/
My PGE Project: http://wohlsoft.ru/PGE

sheepluva
sheepluva's picture
User offline. Last seen 17 min 33 sec ago. Offline
Joined: 2009-07-18
Posts: 502

Wohlstand allegedly wrote:

Quote:
“Russian” hat (I have no better name right now):

Wuzzy, this hat calling as "Ушанка" [Ushanka], cap with ear-flaps.
This cap have better protection against a frost and more warm. In the north regions it's a much useful, but I leaving in middle region where I have minimal temperature -25 and max +38 Celsius, is not so much cold.

There is already a hat with such name btw:

https://hedgewars.googlecode.com/hg/share/hedgewars/Data/Graphics/Hats/ushanka.png

  sheepluva <- me  my code stats -> 
a Hedgewars Developer


   <- where I'm from  what I speak -> 

Wuzzy
Wuzzy's picture
User is online Online
Joined: 2012-06-20
Posts: 780
Wohlstand
Wohlstand's picture
User offline. Last seen 6 days 5 hours ago. Offline
Joined: 2013-06-21
Posts: 23

terror allegedly wrote:

Maybe someone do this hat?

for example:


Funny hat. This is a best friend of box hider - it is a barrel hider Big Grin

Russia, Moscow
My Hedgewars stuff: http://wohlnet.ru/photos/Hedgewars/
My PGE Project: http://wohlsoft.ru/PGE

TheMadCharles
TheMadCharles's picture
User offline. Last seen 36 weeks 1 day ago. Offline
Joined: 2012-10-19
Posts: 117

terror allegedly wrote:

Maybe someone do this hat?

for example:

Yup

This was the closest i can do. I had to even recreate the image because your was out of 32x32 boundary and it had black background. However i grabbed the barrel from the Data files and its also out of boundary so i had to cut it to 30x30, just so i can do even offsets.

Also, since imgur renames the files, rename it to "barrelhider_v1" without quotation marks (")

While i dont wanna get a doublepost, heres a TeamHedgehog hat that i use on my dummies.

Rename it as "TeamHedgehog_v1" without quotation marks (")

If you see any missing content from me (screenies, graphics, files) PM Me as soon as possible!

Sorry for bad English, because its not my native language.

It was a blast having you together.
It was fun while it lasted.
You were the one that got me into modding.

Thank you. Goodbye Sad Smiley

Wuzzy
Wuzzy's picture
User is online Online
Joined: 2012-06-20
Posts: 780

@Karol: Maybe it could work better when the barrel is scaled down first, then add the eyes and apply offset.

TheMadCharles
TheMadCharles's picture
User offline. Last seen 36 weeks 1 day ago. Offline
Joined: 2012-10-19
Posts: 117

@Wuzzy, im gonna try my best next time.

Anyway, i have almost full teams worth of hats. Emotions.
Screenie:

Download @ Imgur here: http://imgur.com/a/uFg4E

If you see any missing content from me (screenies, graphics, files) PM Me as soon as possible!

Sorry for bad English, because its not my native language.

It was a blast having you together.
It was fun while it lasted.
You were the one that got me into modding.

Thank you. Goodbye Sad Smiley

Fdito
Fdito's picture
User offline. Last seen 1 year 8 weeks ago. Offline
Joined: 2016-02-10
Posts: 4

I made three hats an uploaded them to DeviantArt
Here the links:


Those hats are 100% Made by me
I also made a voice you can download here : http://fdito-bomber369.deviantart.com/art/Iron-Man-Voice-Pack-v1-0-589844065

Why i made it? BECAUSE I'M BATHOG!!! Big Grin Big Grin Big Grin Big Grin

The best answer to everything:
BECAUSE I'M BATMAN!!!

Wuzzy
Wuzzy's picture
User is online Online
Joined: 2012-06-20
Posts: 780

Fdito, your facehugger and ironman hats are nice, but just not my taste. Your godzilla hat is cool but it looks very badly displaced on the actual hog.
For your iron man voice: Well, its pretty incomplete, isn't it? Most sounds are just copies from Robot and even the few actual new voices are just repeated. Sorry, this does not really make a voicepack. In this state, it's not worth keeping.


TheMadCharles has created a proper “barrel hider” hat now (licended under CC-BY 3.0) which I have just reuploaded for your convenience:

It works really great and is much better than the first try. It is on par with bushhider and cratehider. The official hat file name is “karboy_barrelhider3.png”.

This file is taken from this collection thread: http://hedgewars.org/node/6040
But note this is a bit chaotic here.

As a sidenode, TheMadCharles also created some new colored hairs which I also like and a “birthday” hat. Look it up for yourselves.
There are also tons of other hats but I don't think they are worth a mention.

Wuzzy
Wuzzy's picture
User is online Online
Joined: 2012-06-20
Posts: 780

Hi all! Time for a new round of hats.

I think Hedgewars has far too many “hats” which are not really hats but instead masks, costumes, or weird “mutations”. Okay, they are fun and stuff, but Hedgewars overdoes it at the moment. If I counted it correctly, hats (actual hats) are in the minority.

I'd like to see more “classical” hats, that is, those things you put on your head. No overly complex things with facepaintings and other complex stuff. Keeping it simple would be good.

I have created a bunch of new hats by using existing hats and removing some of the “extras”, like factial hair, face markings, etc., so that only the hat itself remains. I like to keep it simple.
Those are not meant as replacements, only as alternatives.

Preview:



List of new hats (original hat name written in parenthesis)

beefeaterhat (beefeater):

crown_princess (sm_peach) (SVG):

lambdahat (lambda):

nursehat (nurse):

pirate_bandana (pirate_jack_bandana):

pirate_hat (pirate_jack):

poke_ash_hat (poke_ash):

sf_vega_hat (sf_vega):

simple_green (sm_luigi) (SVG):

simple_red (sm_mario) (SVG):

simple_yellow (sm_wario) (SVG):

tf_demoman_hat (tf_demoman):

thug2 (thug):

This hat is based on a hat posted by a community member (I found the hat in one of the hat DLCs):
mage (blackmage):

Finally, there's a brand new hat for you (licenced WTFPL) (SVG):
detective:

Eldaryon
User offline. Last seen 46 weeks 6 days ago. Offline
Joined: 2016-05-29
Posts: 1

My first submission for years!
Made in 2 minutes in GIMP, HERE HE COMES!!!!

imgur.com/NM51SyU

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15

i dont understand how to make hats im using gimp but in gimp i can draw only with pixels because hedgehogs are very small. Please help what program i need to use i have inkscape but i dont use it. And where i can get normal size hedgehogs template??? Sad Smiley

ivan866
ivan866's picture
User offline. Last seen 5 weeks 21 hours ago. Offline
Joined: 2016-02-23
Posts: 44

Usually you draw in vector then downsample to raster image.

F8 is for bungee.

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15

i made hat how to paste it here? i saved mine hat like png format image. How to drag it here?

ivan866
ivan866's picture
User offline. Last seen 5 weeks 21 hours ago. Offline
Joined: 2016-02-23
Posts: 44

Upload to dropbox.com, then paste a direct link.
Also see http://hedgewars.org/kb/Hats and http://hedgewars.org/filter/tips.

F8 is for bungee.

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15

i made bowler hat if something wrong i can fix it Big Grin /home/elijas/Загрузки/Ссылка на bowler hat.png

ivan866
ivan866's picture
User offline. Last seen 5 weeks 21 hours ago. Offline
Joined: 2016-02-23
Posts: 44

Probably this would help: Hyperlink

F8 is for bungee.

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15

how to create hyperlink for image?

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15

help please Sad Smiley

ivan866
ivan866's picture
User offline. Last seen 5 weeks 21 hours ago. Offline
Joined: 2016-02-23
Posts: 44

Kid, you cannot post a file directly from your computer, you should send it to internet first.
So,
1) register on dropbox
2) upload an image file
3) request and copy a link
4) paste it here
Or simply play games.

Писать кстати по-русски можешь.

F8 is for bungee.

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15

can i do this with devianart?
and im not kid Big Grin

ivan866
ivan866's picture
User offline. Last seen 5 weeks 21 hours ago. Offline
Joined: 2016-02-23
Posts: 44

Можешь прислать мне свое творение наivan866@mail.ru, а я уже выложу сюда.

F8 is for bungee.

nemo
nemo's picture
User offline. Last seen 1 day 23 hours ago. Offline
Joined: 2009-01-28
Posts: 1492

You can use absolutely any service that allows posting an image, so yeah, deviant art probably qualifies. Heck, you could use your home computer if you installed a web server and had a stable IP or used a dynamic dns name service.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15

i made Bowler hat if you dont like it i can fix it or something http://zepryzzh.deviantart.com/art/Bowler-Hat-623042150?ga_submit_new=10%253A1469109445

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15
ivan866
ivan866's picture
User offline. Last seen 5 weeks 21 hours ago. Offline
Joined: 2016-02-23
Posts: 44

This one is good.

F8 is for bungee.

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15

thanks Flying Saucer Hedgehog

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15

how to test your hat in game?

Wuzzy
Wuzzy's picture
User is online Online
Joined: 2012-06-20
Posts: 780

Well, you place your hat in the correct directory and then create a team where at least one of its hedgehogs has the hat you want to test, and then you just need to play with this team and look at your hedgehogs.
Look closely at your hedgehogs and their hats and watch the entire animation. Normally you should make sure the hat stays on the hedgehog's head and doesn't bounce around (unless that's intentional). This is a common mistake made by newbies.

If you created a hat with custom team colors, you should also test you hat with at least all the default team colors to make sure it doesn't look like shit. Wink Smiley

More information about creating hats is here:
http://hedgewars.org/kb/Hats

KoBeWi
KoBeWi's picture
User is online Online
Joined: 2010-12-25
Posts: 271

Art test: does anyone recognize this guy?

If not, I have done it wrong Sad Smiley

Theme Editor / Code contributions / WIP
"Official" themes:
Crystal | Belly | Dreamland | Sky | Factory
"Unofficial" themes:
Chalk | Bowser | GIRDERZZZ!!! | Mirage | Sudra |
| Zombie

CopherNeue
CopherNeue's picture
User offline. Last seen 2 weeks 18 hours ago. Offline
Joined: 2016-11-08
Posts: 12

KoBeWi allegedly wrote:

Art test: does anyone recognize this guy?

If not, I have done it wrong Sad Smiley

Wearing that hat should give you invincibility or the power to kill your opponent in one hit, deforming the landscape behind them.

KoBeWi
KoBeWi's picture
User is online Online
Joined: 2010-12-25
Posts: 271

I guess it's not that bad if it's recognizable at least. Still, clearly it could be improved. I wish I was better at making hats Hiding


(probably more coming)

Theme Editor / Code contributions / WIP
"Official" themes:
Crystal | Belly | Dreamland | Sky | Factory
"Unofficial" themes:
Chalk | Bowser | GIRDERZZZ!!! | Mirage | Sudra |
| Zombie

UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 1 day 14 hours ago. Offline
Joined: 2016-06-26
Posts: 232

Its a Legendary Hats,,,

Agree CopherNeue says,,,

The Hats Activate GODMODE Which DESTROY EVERYTHINGS include your Laptop in One Attack,,,
Immune to ANYTHING !!!
AND INVISIBLE TO OTHERS !!!
Hope nobody know this ;/

]{

My Favorite Point :
[ "We are Something That Come Out From Nothing" ]

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15

I submitted 2 hats bowler at and penguin costume. And who decides to add this to game or no?

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15

and i want to know how to test your hats?! i open game files,data and when i click hats there is a text document and libreOffice dont want to open it! help me please. Im on linux,Ubuntu.

sheepluva
sheepluva's picture
User offline. Last seen 17 min 33 sec ago. Offline
Joined: 2009-07-18
Posts: 502

Zepryzzh allegedly wrote:

and i want to know how to test your hats?! i open game files,data and when i click hats there is a text document and libreOffice dont want to open it! help me please. Im on linux,Ubuntu.

Place your hat .png into: $HOME/.hedgewars/Data/Graphics/Hats
You might have to create those subfolders. Make sure to get the letter cases right.

Then restart Hedgewars and you should be able to select
your hat in the team settings.

And about your other question: Usually we devs harvest the forum for hats every now and then. So we're the ones that decide what we think fits the game and what doesn't.

If you hat doesn't make it into official release, we may put it up on DLC for you and other players to fetch.

  sheepluva <- me  my code stats -> 
a Hedgewars Developer


   <- where I'm from  what I speak -> 

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15

where i can get hedgehog,hat template i forgot Big Grin

UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 1 day 14 hours ago. Offline
Joined: 2016-06-26
Posts: 232

Already Sended allegedly wrote:

Do you mean
"Original hedgehog" (the one without hat)
then get it here : %Hedgewars%\Data\Graphics\Hats
get it where the Hedgewars placed then go to Data\Graphics\Hats
Then search for "NoHat". That one ?

or do you mean
"Some Hats Templates" (Basic form?) ?
Then get those Templates in %Hedgewars%\Data\Graphics\Hats
Same as above, take a look in where Hedgewars was placed then go to Data\Graphics\Hats
Then you will meet some tons of cute and ugly hats in it
That's it, use them all as template or reference
Make them as the starting point then Blast them off to be what you want

If those basic things above doesn't fit your question
I Provide you with some Basic Templates in Hats Making
Then take these links :D

Non-Team Hats Template

Non-Team Hats Template in XCF for GIMP user

Team Hats Template

Team Hats Template in XCF for GIMP user

My Favorite Point :
[ "We are Something That Come Out From Nothing" ]

Zepryzzh
User offline. Last seen 5 weeks 5 days ago. Offline
Joined: 2016-07-20
Posts: 15

when i make hats its so pixelated. Why? any tips how to improve quality? Im using Gimp.

Copyright © 2004-2017 Hedgewars Project. All rights reserved. [ contact ]