TUTORIAL-Making custom hats for mari0

Mods, guides how to use and install mods go right in here.
GamerMaster2041
Posts: 68
Joined: 04 Mar 2012, 15:19

Post » 04 Mar 2012, 23:49

First off you need a Photoshop or paint.net or any other program that supports transparency and layers.
Then you need a mari0 sprite with no hat(included in image below)
Image
http://i43.tinypic.com/2cz23jm.jpg
Now you build a hat you want in new layer.
Disable mari0 sprite layer so you can only see hat layer.
Save it
And that's it ;)

sample(s):
MArio with helmet
http://i41.tinypic.com/33oodw2.jpg
Helmet only:
http://i43.tinypic.com/2na8rw2.jpg

Large version since actual pixel size is too small for browser to show

Image
Image
tomorrow i will work more on hat details cause i dont have time now.
Last edited by GamerMaster2041 on 05 Mar 2012, 00:06, edited 1 time in total.

User avatar
Necr0
Posts: 18
Joined: 03 Mar 2012, 22:48

Post » 05 Mar 2012, 00:06

Pretty simple, thanks for the tutorial, i made a Dovahkiin hat =P:

Image

BTW, how do you add hats in the game...

GamerMaster2041
Posts: 68
Joined: 04 Mar 2012, 15:19

Post » 05 Mar 2012, 00:07

Good question.
Staff.
I would kindly ask you to tell us how to add the hats into the mari0 game?

Thank you.

Camewel
Posts: 2996
Joined: 02 Feb 2012, 21:32

Post » 05 Mar 2012, 00:09

Maurice has said you can just send them to him and he'll add them if he likes them.
If you want them personally, you can replace a hat in the hats folder, or you can find the file controlling hat options and add your new hat in there.

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 05 Mar 2012, 00:12

hatconfigs.lua

Add a new line like:

table.insert(hat, {x = 6, y = 1, height = 4, graphic = love.graphics.newImage("graphics/SMB/hats/bestpony.png")})

x: x-offset (standard hat has 7)
y: y-offset (standard hat has 2)
height: Not really supported, but if you wear multiple hats at once, this is the added offset.
graphic: filename of hat

GamerMaster2041
Posts: 68
Joined: 04 Mar 2012, 15:19

Post » 05 Mar 2012, 00:13

i know he told me that.
But as you already said i wanna know how to add it for personal use.
Ill send him hats when i make some tomorrow.

BTW

Thanks maurice.

Over and out.

drock595
Posts: 4
Joined: 05 Feb 2012, 00:24

Post » 05 Mar 2012, 01:48

Image my idea ^_^

User avatar
Lexsym
Posts: 84
Joined: 04 Feb 2012, 05:32
Contact:

Post » 05 Mar 2012, 02:28

Image needs to be saved as peach.png

then add:

Code: Select all

table.insert(hat, {x = 6, y = 0, height = 5, graphic = love.graphics.newImage("graphics/SMB/hats/peach.png")})
to your hatsconfig.lua file and your result is this:
Image

User avatar
BenMcLean
Posts: 45
Joined: 04 Mar 2012, 00:43
Contact:

Post » 05 Mar 2012, 03:49

I am trying to make the Commander Keen helmet and haven't had much luck getting the transparency to work in the GIMP

User avatar
Raicuparta
Posts: 539
Joined: 04 Feb 2012, 02:07
Contact:

Post » 05 Mar 2012, 05:08

Image

Chaosoul
Posts: 1
Joined: 05 Mar 2012, 06:40

Post » 05 Mar 2012, 06:43

Could someone make a hat (mask) of this character for me? http://img585.imageshack.us/img585/4387/idle.gif Tsuna from Katekyo Hitman Reborn. Only pixilated version I could find. Unfortunately I suck at spriting. I tried using gimp and failed. I would really appreciate if someone found time to make this. Thanks for everything in advance and understand if no one can.

User avatar
Hatninja
Posts: 480
Joined: 03 Feb 2012, 18:42
Contact:

Post » 05 Mar 2012, 07:32

ok just one problem for me, how to get to the mari0 files and run it again? what i know just makes this error
Image

User avatar
Sašo
Stabyourself.net
Posts: 1444
Joined: 06 Jan 2012, 12:07

Post » 05 Mar 2012, 09:58

hatninja wrote:ok just one problem for me, how to get to the mari0 files and run it again? what i know just makes this error
Image
You're using an old (actually the current release) version of Löve. You need the beta.

User avatar
Zlmpery
Posts: 339
Joined: 05 Feb 2012, 19:12
Contact:

Post » 05 Mar 2012, 10:02

Sašo wrote:
hatninja wrote:ok just one problem for me, how to get to the mari0 files and run it again? what i know just makes this error
Image
You're using an old (actually the current release) version of Löve. You need the beta.
How do you download the beta?

User avatar
Lexsym
Posts: 84
Joined: 04 Feb 2012, 05:32
Contact:

Post » 05 Mar 2012, 10:39

Zlmpery wrote:
Sašo wrote:
hatninja wrote:ok just one problem for me, how to get to the mari0 files and run it again? what i know just makes this error
Image
You're using an old (actually the current release) version of Löve. You need the beta.
How do you download the beta?
http://love2d.org/builds/

User avatar
renhoek
Posts: 4545
Joined: 11 Feb 2012, 10:04

Post » 05 Mar 2012, 11:51

Raicuparta wrote:Image
I can tell you're happy about that.

any way I think I might try my hand at some *Gental men* hat *wink*

reference
Image

result
Image

result with body
Image

User avatar
Raicuparta
Posts: 539
Joined: 04 Feb 2012, 02:07
Contact:

Post » 05 Mar 2012, 15:36

Image
Wario and Waluigi.

User avatar
renhoek
Posts: 4545
Joined: 11 Feb 2012, 10:04

Post » 05 Mar 2012, 15:38

wish there was a competition for different hats to be in tha game...

User avatar
Andre
Posts: 13
Joined: 04 Mar 2012, 11:14

Post » 05 Mar 2012, 18:10

Check out my lame hats
Image
Image
Image
Image
Last edited by Andre on 05 Mar 2012, 20:31, edited 1 time in total.

GamerMaster2041
Posts: 68
Joined: 04 Mar 2012, 15:19

Post » 05 Mar 2012, 18:40

hi guys.
I am on line.
Building batman and skyrim mask.

User avatar
Andre
Posts: 13
Joined: 04 Mar 2012, 11:14

Post » 05 Mar 2012, 20:12

Raicuparta wrote:Image
Wario and Waluigi.
Nice hat.

User avatar
BenMcLean
Posts: 45
Joined: 04 Mar 2012, 00:43
Contact:

Post » 05 Mar 2012, 21:21

what are the reference images we should be using?

and how do we do the transparency properly in the GIMP ?

User avatar
Hatninja
Posts: 480
Joined: 03 Feb 2012, 18:42
Contact:

Post » 05 Mar 2012, 21:41

Lexsym wrote:
Zlmpery wrote:
Sašo wrote: You're using an old (actually the current release) version of Löve. You need the beta.
How do you download the beta?
http://love2d.org/builds/
too bad im on mac... but i figured out a way to run it

Camewel
Posts: 2996
Joined: 02 Feb 2012, 21:32

Post » 05 Mar 2012, 21:54

Slime posted a mac version of Love2d 0.8.0 is his Snayke topic found here and this is the only version I can find.

GamerMaster2041
Posts: 68
Joined: 04 Mar 2012, 15:19

Post » 05 Mar 2012, 22:09

i made skyrim and batman hats.
they looks awful though cause going from super duper awesome number of bits to 8 bits sucks.
But then again i remembered i played 8bit batman so ill use it to help me.
Also i am remaking heads of NES characters and put em as hats.

User avatar
Hatninja
Posts: 480
Joined: 03 Feb 2012, 18:42
Contact:

Post » 05 Mar 2012, 22:15

i made a ninja hat! just rename the file to n1nja.png
Image

Code: Select all

table.insert(hat, {x = 5, y = 2, height = 5, graphic = love.graphics.newImage("graphics/SMB/hats/n1nja.png")})

GamerMaster2041
Posts: 68
Joined: 04 Mar 2012, 15:19

Post » 05 Mar 2012, 22:30

Mega man head
Image
http://i39.tinypic.com/and7gz.jpg
Batman
Image
http://i40.tinypic.com/2dvmxzt.jpg
Skyrim(looks shitty thou because trying to make something that is 81293691464 bit into 8 bit isn't easy,and i made marios eyes blue here ;))
Image
http://i40.tinypic.com/15afbq.jpg


Also Maurice i would like you to consider about adding my hats into the game if they are good.
i am currently having very little free time.
Saturday and sunday is best time.
But ill make as much as i can.

GamerMaster2041
Posts: 68
Joined: 04 Mar 2012, 15:19

Post » 05 Mar 2012, 22:32

BTW sorry for no transparency.
Shitty photoshop 5 extended makes thigs too complicated.
I will edit those soon.



EDIT:i see JPG doesnt save transparancy even thought i thought it did save.

NVM switching to PNG.

ok fixed

heres megadude head
http://i44.tinypic.com/33ys228.png
some NANANANA BATMAN
http://i41.tinypic.com/if4x2c.png
Some sky rip
http://i44.tinypic.com/16hjcpx.png
And my first hat the motor bike helmet
http://i44.tinypic.com/27xedkk.png

saltysnacks
Posts: 3
Joined: 06 Mar 2012, 02:49

Post » 06 Mar 2012, 03:51

I still think this should be a thing...
Image

thunderfapper
Posts: 566
Joined: 03 Feb 2012, 06:35

Post » 06 Mar 2012, 04:32

Raicuparta wrote:Image
Wario and Waluigi.
Send to maurice!

User avatar
BenMcLean
Posts: 45
Joined: 04 Mar 2012, 00:43
Contact:

Post » 07 Mar 2012, 19:05

reference images please ?

you don't edit sprites in a jpeg, jpegs are for photographs. someone make some good png reference images please

User avatar
Lakyu
Posts: 10
Joined: 07 Mar 2012, 00:33

Post » 07 Mar 2012, 20:03

Raicuparta wrote:Image
Wario and Waluigi.
Nice man *---*
View my Pictures:

Small: Image Big: Image
Small: Image Big: Image
Small: Image Big: dont have D:

User avatar
Raicuparta
Posts: 539
Joined: 04 Feb 2012, 02:07
Contact:

Post » 07 Mar 2012, 20:29

thunderflipper wrote:
Raicuparta wrote:Image
Wario and Waluigi.
Send to maurice!
I actually could have asked him to include it in the 1.3 version, and he probably wouldn't mind, since I'm the one who redesigned the hats for big Mario, but they are kind of shitty masks because the skin of the face is part of the mask, so you're forced to use that skin color.

DjShadFox
Posts: 12
Joined: 06 Mar 2012, 20:33

Post » 07 Mar 2012, 21:42

Why if do i change hatconfig.lua or add sprite of hat, 7-zip forbids me do that?

User avatar
BenMcLean
Posts: 45
Joined: 04 Mar 2012, 00:43
Contact:

Post » 08 Mar 2012, 01:52

This is how crappy the provided reference image looks on account of being a jpeg:
Image

Can someone please provide a proper reference image, as a .png or (only if you're too stupid to use png) a .gif?

User avatar
BenMcLean
Posts: 45
Joined: 04 Mar 2012, 00:43
Contact:

Post » 08 Mar 2012, 01:59

BTW, I do my pixel editing in Paint XP for WIndows 7 cause I'm nostalgic for pain: http://www.mspaintxp.com/

Am planning to export results to another free (gratis) third party program. (possibly GIMP)

User avatar
HeroKing
Posts: 104
Joined: 10 Feb 2012, 23:57

Post » 08 Mar 2012, 03:53

can't believe no one else thought of these. Portal 2 Personality Cores. each one is just an iris swap of the other, but i included Space, Adventure, Fact, and Wheatley

Image Image

http://www.mediafire.com/?6ta7e91nhwc7adc

ginsolda
Posts: 2
Joined: 08 Mar 2012, 04:37

Post » 08 Mar 2012, 04:41

heheh.... funny question but where is the hat folder?

User avatar
HeroKing
Posts: 104
Joined: 10 Feb 2012, 23:57

Post » 08 Mar 2012, 04:51

ginsolda wrote:heheh.... funny question but where is the hat folder?
when you unpack the game, they'll be in graphics/SMB

ginsolda
Posts: 2
Joined: 08 Mar 2012, 04:37

Post » 08 Mar 2012, 04:55

hoow? sorry Im new to mari0 and all this editing. I usually play minecraft :( & use mods :D.

-Edit-
Do I need the actual LOVE to unpack it?

RainbowDash
Posts: 6
Joined: 08 Mar 2012, 08:24

Post » 08 Mar 2012, 08:30

HeroKing wrote:
ginsolda wrote:heheh.... funny question but where is the hat folder?
when you unpack the game, they'll be in graphics/SMB
when i unpacked the game it didnt have any folders just mari0 and a couple of file extensions and a read me notepad

User avatar
teryakisan
Posts: 53
Joined: 08 Mar 2012, 06:16
Contact:

Post » 08 Mar 2012, 11:11

Frogsuit hat

Image

add following to hatconfigs.lua for proper positioning

Code: Select all

i = 29
hat[i] = {}
hat[i].x = 3
hat[i].y = -5
hat[i].height = 5
hat[i].graphic = love.graphics.newImage("graphics/SMB/hats/frog.png")
set up colors like this...

HAT
Image

HAIR
Image

SKIN
Image

RESULT
Image

If you get a mushroom or flower, you get squid head big mario. I'll do the big hat tomorrow. :D

User avatar
eraykaan
Posts: 144
Joined: 12 Feb 2012, 15:54

Post » 08 Mar 2012, 14:19

Ok, I just want to make a GLaDOS Hat. But i can't.
That could be IT:
Image

But...
Image
(A.K.A fail)

Can somebody post zipped .exe version?

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 08 Mar 2012, 14:39

setIcon is nil?
Sounds like you got a really old löve verison.
https://love2d.org/builds/
Get the one for your system at the very bottom.

User avatar
FluffiMasta
Posts: 6
Joined: 08 Mar 2012, 14:44

Post » 08 Mar 2012, 14:48

Can someone give me a complete instruction how to make a hat?

Im new here and I have never worked with löve before.

User avatar
Nilsser
Posts: 24
Joined: 08 Mar 2012, 17:16

Post » 08 Mar 2012, 17:32

I agree with fluffimasta i dont know how to do it can someone do a youtube tutorial please.
Im being here for a while but i still dont get how to make mods also im runnin on windows XP.

User avatar
Nilsser
Posts: 24
Joined: 08 Mar 2012, 17:16

Post » 08 Mar 2012, 19:11

Okay guys i opened mari0 with 7 zip * and there is file name hatconfigs.lua but when i open it opens text document and then i scrolled down then *enter* twice added table.insert(hat, {x = 6, y = 0, height = 5, graphic = love.graphics.newImage("graphics/SMB/hats/peach.png")}) then saved tryed to leave the it says do you wants to update clicked yes error came then i couldnt save it :(

User avatar
BenMcLean
Posts: 45
Joined: 04 Mar 2012, 00:43
Contact:

Post » 09 Mar 2012, 05:29

oh i see. to get a reference image, unpack the game using LOVE. allrighty then.

User avatar
Nilsser
Posts: 24
Joined: 08 Mar 2012, 17:16

Post » 09 Mar 2012, 17:11

Would be cool if 1.5 has hat adding system :D :D .

TheLordKhon
Posts: 12
Joined: 06 Mar 2012, 15:31

Post » 09 Mar 2012, 17:20

Nilsser wrote:Would be cool if 1.5 has hat adding system :D :D .
well maurice was about to use canI hatloader i think

Post Reply