Feral Heart
Help & Guidance => Game Help => Topic started by: Nightpelt 1906 on February 09, 2012, 09:05:09 am
-
hey! i want to make a evil char who has green glowng eyes (i think green, but that doesnt matter much), and i want to know how to get glowing body parts, or eyes in this case, can someone help? (BTW i use FH+)
-
Now, I'm not sure if this works in FH+, but I don't see why it wouldn't... Have you tried this tutorial?: http://emecay.deviantart.com/favourites/#/d3ax1d2 (http://emecay.deviantart.com/favourites/#/d3ax1d2)
I find that it has helped me... a lot with my presets in the way of coding.
-
I made a glowing preset using that guide on FH+, It works well.
-
Try the code and tutorial here: http://feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=4246.0 (http://feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=4246.0)
For eyes you will want to make a separate eye marking to glow overtop; since the eyes are part of the teeth if you used the glow code on the entire body part your teeth would also glow. Unless you want that. lol
If you follow this way, your code should look something like this:
material preset_7_eyeMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5
cull_hardware none
cull_software none
texture_unit
{
texture preset_7eye.PNG
}
}
pass
{
emissive 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_7eyeglow.PNG
}
}
}
}
Though you can change the glow to have a different colour and add in fake glow for effect, as seen in the tut.
-
hmm i tried the tutorial Lawcere put, but that knda confused me. can you explain the tutorial or would i have to ask in the actual thread?
-
It's not complicated, don't worry.
Basically, you have your base layer and your glowing layer.
The base layer is what you normally work with, the file with the eye and teeth that you colour however you want. You'll end up calling this something like preset_1eye.png.
You'll want to make another layer overtop. In Photoshop (or whatever you use) create a new layer, and draw your eye (or whatever you want to glow). It helps if you make it a bright colour, and perhaps have a light glowy effect around the eye area on the head.
Hide the other layers so you have just your eye layer and a transparent background, and save this eye layer as a separate file. You can name it something like preset_1eyeglow.png.
Then in the .material file of your preset folder, scroll down to where the eye coding is and put what I paste:
{
technique
{
pass
{
ambient 0.5 0.5 0.5
cull_hardware none
cull_software none
texture_unit
{
texture preset_7eye.PNG
}
}
pass
{
emissive 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_7eyeglow.PNG
}
}
}
}
under each eye section, but change the filenames (preset_1eye.png) to whatever you saved the files as.
-
That actually just helped me quite a bit myself, so thank you, Law xD
-
XD
hmm that sounds a bit better... but how do i create a layer in photoshop? sorry first time using it.
-
The same way that you would if you were opening anything else, or so I assume. So if I wanted a glowing tail, one that glowed white, I would have one file for just the basic tail, and then another one with the part colored in the glows.
That... makes no sense to anyone but me, huh? xD Basically, you're creating a copy of the body part that you want to glow., only with just the glowing part.
Still makes no sense, I'm sure xD Even I'm confusing myself now.
-
HAH dont blame you, it IS confusing. and whats worse, i cant get onto the game as my preset, or another char, with the same name but not a preset!
-
Did you go into the preset maker and export it and everything first?
-
umm i said im not gonna try the photoshop thing until tomorrow, im too freaking tired right now. (and when i said "i cant get into the game on one of my chars" i meant ONLINE)
-
Ah, okay. Yes, I saw that thread and am trying to figure out the problem that you may be having right now.
-
ahh never mind that. i can just place my preset on one of my chars that is working, hold on, will test to see if the characters are working again....
hmmm nope. okay weird, its just my preset that isnt working...
-
I'm making a tutorial video on glowing presets to help you out. ;)
-
http://feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=17912.msg240001#msg240001 (http://feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=17912.msg240001#msg240001)
Here's the tutorial thread and video link.
-
O_O good idea! will watch that in a min when i get on my other laptop!