Feral Heart
Help & Guidance => Game Help => Topic started by: Cannibalistic on February 15, 2013, 03:25:00 pm
-
Hi there,
I need a little help.
I'm trying to make a preset with a missing leg,but I apparently I'm stupid and I make half the preset transparent. o3o
I looked up how to do it here: http://happyshadow.deviantart.com/art/Feral-Heart-Preset-Script-Tuto-199736102 (http://happyshadow.deviantart.com/art/Feral-Heart-Preset-Script-Tuto-199736102)
But it just makes half the preset transparant and not just one leg no matter what I do.
It looks hilarious but it's not what I want. xD
I tried looking up a tutorial,but there's only one and I can't understand a word of what this girl is saying.
:L
Can someone help me,please..?
Danke.
(http://i1163.photobucket.com/albums/q554/Aragon_KK/screenshot_02152013_162252511_zpsc34be925.png)
-
The code is
material preset_{NUMBER}_bodyMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture {YOURTEX}.png
}
}
}
}
Make sure your image is a png
and when you color it, make sure you only color the leg, using a totally transparent square will make the whole side disappear.
-
The code is
material preset_{NUMBER}_bodyMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture {YOURTEX}.png
}
}
}
}
Make sure your image is a png
and when you color it, make sure you only color the leg, using a totally transparent square will make the whole side disappear.
I know the code,but what do you mean by 'using a totally transparent square will make the whole side disappear.
' ?
I just use the erasor with Transparency.
It still makes half the thing transparant.
I'm probably just dumb >->
Sorry. e3o
-
Can you show me your texture?
-
Can you show me your texture?
This is actually the first I try this.
I tried looking things up and I have no clue what you mean by texture. ;3;
If you don't feel like explaining the whole thing,then it's fine.
I'll just leave it then.
-
The texture as in the image you're using.
The one that you added into your code,
the one that you erased on.
-
The texture as in the image you're using.
The one that you added into your code,
the one that you erased on.
I use the 'Color me now' thingy I downloaded on DeviantArt.
If that is what you mean. :L
God,I'm a derp.
(http://i1163.photobucket.com/albums/q554/Aragon_KK/Snapshot_16_zpsd39a9b61.png)
-
Well that seems to be right so
It must be something in your code if the whole side just poofs.
-
Well that seems to be right so
It must be something in your code if the whole side just poofs.
Do I need to have more layers or is this really how it's supposed to look?
-
It doesn't need layers.
Unless you wanted that grid on another layer so you could take it off, but it's already merged so.
Can you open your material and paste what it says here?
-
It doesn't need layers.
Unless you wanted that grid on another layer so you could take it off, but it's already merged so.
Can you open your material and paste what it says here?
material preset_8_bodyMatL
{
technique
{
pass
alpha_rejection greater_equal 128
{
texture_unit
{
texture ZBody_Left.png
}
}
}
}
material preset_8_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture ZBody_Right.png
}
}
}
}
material preset_8_headMatL
{
technique
{
pass
{
texture_unit
{
texture ZHead_Left.png
}
}
}
}
material preset_8_headMatR
{
technique
{
pass
{
texture_unit
{
texture ZHead_Right.png
}
}
}
}
material preset_8_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture ZEye_Left.png
}
}
}
}
material preset_8_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture ZEye_Right.png
}
}
}
}
material preset_8_tailMat
{
technique
{
pass
{
texture_unit
{
texture ZTail.png
}
}
}
}
material preset_8_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture ZHair.png
}
}
}
}
-
I did!!
Thanks you so much for your help ?