Update 17/05/2013

Please do not ask any more questions about this tutorial, I left this game a long time ago and I DO NOT REMEMBER how those things work. LOOK AT THE COMMENTS because your question was probably already answered there. I am only not blocking comments on this deviation because of the already answered questions!



-------------

A simple preset effects tutorial for feral hearts! :D
I was going to make a picture,but I think that it would have a really big size and im lazy so lets have a text tutorial. derp

Ok, in this tutorial i'll help you guys making presets. I'll make a short description of how you're supposed to make a preset,then I'll talk about effects (making animated presets, transparent presets, invisible presets,etc.) If you dont know how to make a preset, try doing a simple preset first (without effects), so this will be less confusing. I hope you guys understand everything,and I'm already sorry for my crappy english :'D

1) Making a preset.
Ah,the preset making. How confusing it was back on Impressive Title times. Lots of codes, confusing UV maps... Now, in FH, its a waaay more easy. You dont need to change anything in codes to make a preset. You can change,but its not needed now. (I'm saying that because a lot of preset tutorials for begginers have codes involved,belive me,its not needed,not now)
...wow i said the same thing in 9033 different ways lmao
Ok, to make a preset,you will need:
; A program better than paint
; Patience if your character have lots of markings lol
Now that you have those two precious itens,lets do it.
1a) Open your FH folder, open the my_presets folder, open the preset_1 folder,you will see textures.
those textures can be used as a base for your preset. I think its cleary where is where in the texture, like, in the preset_1head.jpg you can cleary see where is the eye,where is mouth... You just need to change this texture colours. A good tip is to save those textures in another folder so you can edit them for another preset later.
1b) Now that you edited the file, save it with the same name of the file you edited (preset_1head.jpg). Save it as .jpg. Do the same with the other body parts. Now you have a preset. :)
1c) Open FH, go to tools,then to preset maker and click in "preset 1". you'll see your edited file,yay! now export it so you can use your preset online :)
If you want to send a preset to your friends,you only need to send them the exported preset, a .fhz file located in feralhearts/presets (not my_presets). The file name will be your user name and the number of the preset folder your preset is.fhz
Ok,those are the basics. If something went wrong then its something you did wrong. Also, if you want another preset, go to preset 2 folder, edit the textures, and save them as preset_2(body part).jpg. If you havent noticed it, you only need to save your texture as preset_(number of the preset folder)(body part).jpg and it will appear in game ;)

2) Adding fur
Adding fur is really simple. You only need to copy and paste the fur texture into your preset texture and change the layer blending option to "multiply".
Example: Open your preset head texture, go to feralhearts>media>textures folder,copy cheadshade (if your character is a feline, copy fheadshade) into your preset head texture,then change the layer to multiply. (in photoshop - right click in the layer where the fur texture is and click in blending options,then change to normal to multiply) Done! :D

3) File names
Ok, you want to have a .png texture instead of a .jpg texture? or a texture with a different name from preset_xbody? you can do it in seconds C:
Open your preset folder, there will be a preset_(folder number) file inside it. open it with notepad, press Ctrl+H and change from .jpg to .png (I really recommend you to save your textures as .png). You can change the file name by simple changing it (lol) like, if your body texture is ifartrainbows.png, search for preset_(foldername)body.jpg and change its name to ifartrainbows.png. lol
Not hard,isnt it?

4) Assymmetrical presets
This one is easy too. You will need two textures,one for the right side, another for the left side. Tail and mane can't use this method to be assymetrical, you only need to change those textures xD (im pretty sure mane cant be assymmetrical).
Ok, supposing that your character have a marking in the left side of his body and not in the right side. You will need 2 textures - one with the marking,one without. Lets call the left texture "presetleft.png" and the right texture "presetright.png". Go to your preset file, open the material file and do this:
material preset_(FOLDER NUMBER)_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture presetleft.png
}
}
}
}
material preset_(FOLDER NUMBER)_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture presetright.png
}
}
}
}

Simple, isn't it? you only need to change names. :D

5) Animated presets
This one you need lots of files and to change the preset material file.
Lets suppose your character have a tail that change colours,from white to black. Lets call the tail textures "black.png" and "white.png". Obviously,place then into your preset folder. xD
Open your preset folder,then open the preset material file and do this:
material preset_(FOLDER NUMBER)_tailMat
{
technique
{
pass
{
texture_unit
{
animtexture black.png white.png 1
}
}
}
}

See what i've done? I've changed from 'texture' to 'animtexture',this is like saying to feral heart that your textures will be animated. So, which textures,says feral heart. you say black.png white.png, the space is like a and. How many seconds will take to change the textures?,asks fh. Then you say 1 second.

[?]

FH is dumb and can't read .gif textures. You will have to do one by one. like if you were doing gif frames. C:

6) Transparent textures
This is a simple script, you need to save your texture as png,and with transparent spots. With this script, your texture transparent parts wont be white anmore,yaay! :D
To make it work,add a new row above texture_unit and paste alpha_rejection greater_equal 128 in it. like that:
material preset_(FOLDER NUMBER)_(BODY PART)Mat
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture (your texture).png
}
}
}
}


7) Scrolling textures
Simple moving textures,like the rainbow tie in IT :)
To make it work,add a new row below texture and write scroll_anim 0.0 0.1,like that:
material preset_(FOLDER NUMBER)_(BODY PART)Mat
{
technique
{
pass
{
texture_unit
{
texture (your texture).png
scroll_anim 0.0 0.1
}
}
}
}

The numbers are the speed of the scrolling. You can change them,and add a "-" if you want them going to the opposite side,like, scroll_anim 0.0 -0.1.

8)Glowing texture
This one makes the whole texture glow - even if you add it into the tail only,all body will be glowing xD
The script is scene_blend add, you put it in the same location of the transparent texture script ; in a new row above texture_unit.
material preset_(FOLDER NUMBER)_(BODY PART)Mat
{
technique
{
pass
{
scene_blend add
texture_unit
{
texture (your texture).png
}
}
}
}


PS: you can make a transparent,scrolling,animated, everything texture. just add new rows for the scripts!
</i>
Example:
material preset_(FOLDER NUMBER)_(BODY PART)Mat
{
technique
{
pass
{
alpha_rejection greater_equal 128
scene_blend add
texture_unit
{
animtexture (your texture).png (your texture).png 1
scroll_anim 0.0 0.1
}
}
}
}


9) Layered texture
(this one is somewhat hard.)
This one was REALLY useful for me while doing erasure's preset. Erasure,in total,have 33 colours. Imagine if i made 33 textures,each one with different colours? that would increase the preset file size a lot,and would be even more time taking. I'll use erasure preset material as an exemple for this one.
Look:
material preset_6_bodyMatL
{
receive_shadows on
technique
{
pass
{
texture_unit
{
texture erasurebody.png
scale 1 1
}
texture_unit
{
texture erasurebodymask.png
colour_op alpha_blend
}
texture_unit
{
anim_texture derp1.png derp2.png derp3.png derp4.png derp5.png derp6.png derp7.png derp8.png derp9.png derp10.png derp11.png derp12.png derp13.png derp14.png derp15.png derp16.png derp17.png derp18.png derp19.png derp20.png derp21.png derp22.png derp23.png derp24.png derp25.png derp26.png derp27.png derp28.png derp29.png derp30.png derp31.png derp32.png derp33.png 1
colour_op_ex blend_current_alpha src_texture src_current
tex_address_mode wrap
filtering trilinear
}
}
}
}


The first texture, erasurebody.png, is the simple, gray texture,without animations. The 2nd one, erasurebodymask.png, is a transparent texture,where i drawed white markings,using erasure's body as a base. (If you're an map maker, its the same code from map masks in impressive title) Those white markings will be where the animated texture (this fuckton of derps.png) will appear. You dont need to make an animated texture to have an layered preset. heres the "blank" code:
Look:
material preset_6_bodyMatL
{
receive_shadows on
technique
{
pass
{
texture_unit
{
texture (the texture "layer 1")
scale 1 1
}
texture_unit
{
texture (texture mask, a transparent texture with white marks)
colour_op alpha_blend
}
texture_unit
{
texture (texture that will appear in the white parts of texture mask)
colour_op_ex blend_current_alpha src_texture src_current
tex_address_mode wrap
filtering trilinear
}
}
}
}


I tried to make a smaller code, but when i tried to erase the things i thought was useless, FH stopped workings,so SAY HELLO TO ENORMOUS CODING , YOU MUST LOVE IT
This can be also useful for character mixes lol.

End desu
Ok...this is a long tutorial..it was time taking so if you use this favorite plz lol
I hope you guys can understand everything <:
There are more scripts, but I don't remember about them now. Feel free to comment with any extra scripts and i'll add them into this tutorial! :D
Don't forget to read the comments and check out the forums,maybe there was someone with the same problem you have!Also there are more scripts in the forums and i'm so lazy to update this tutorial. lol