Feral Heart

Help & Guidance => Game Help => Topic started by: .Apocalyptic. on August 10, 2018, 04:37:14 pm

Title: Material Code screwed up?
Post by: .Apocalyptic. on August 10, 2018, 04:37:14 pm
So, I downloaded a preset a while ago that was basically a deer which had no tail.  By no tail, I just mean that no tail.jpg came with the preset. Thought nothing of it.

Fast forward to now, I replaced that preset with another one. Both were doubled sided, so I didn't have to change the material code from when I first got the preset. yt

Everything is working fine.. besides the tail.
I'm wondering if the first preset creator may have done something to the material code to the tail part? Probably not, but I just don't know any other way that my preset tail isn't working.

I compared the preset material (preset 5) to another spare preset material (preset 9) and edited 5 to look like 9 in the tail section. Nothing happened. Now I'm worried it's screwed up even more. Can someone help me out?
Title: Re: Material Code screwed up?
Post by: Flurr on August 10, 2018, 04:46:22 pm
Hi, Im a bit confused which I really apologize for. Can you give a screenshot of what you see on your preset? :O
Title: Re: Material Code screwed up?
Post by: .Apocalyptic. on August 10, 2018, 05:37:52 pm
yes!

(http://i1097.photobucket.com/albums/g349/radiostonesaj/notail_zpssel6xzdb.png?t=1533836079)

this is what i see. the tail is physically there, but it's white.
Title: Re: Material Code screwed up?
Post by: Ame88 on August 10, 2018, 05:53:50 pm
Hello! I did the same thing a long while ago pff- but, here is a replacement coding for the presets:

Code: [Select]
material preset_(enter folder number)_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_(enter folder number)body.jpg
}
}
}
}
material preset_(enter folder number)_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_(enter folder number)body.jpg
}
}
}
}
material preset_(enter folder number)_headMatL
{
technique
{
pass
{
texture_unit
{
texture preset_(enter folder number)head.jpg
}
}
}
}
material preset_(enter folder number)_headMatR
{
technique
{
pass
{
texture_unit
{
texture preset_(enter folder number)head.jpg
}
}
}
}
material preset_(enter folder number)_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_(enter folder number)eye.jpg
}
}
}
}
material preset_(enter folder number)_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_(enter folder number)eye.jpg
}
}
}
}
material preset_(enter folder number)_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_(enter folder number)tail.jpg
}
}
}
}
    material preset_(enter folder number)_maneMat
    {
            technique
            {
                    pass
                    {
                            cull_hardware none
                            cull_software none
                            alpha_rejection greater_equal 128
                            texture_unit
                            {
                                    texture preset_(enter folder number)mane.png
                            }
                    }
            }
    }


Just copy and paste it into the coding and replace the (enter folder number) with the number associated with the folder.
Also, make sure the tail file is named the same as it is in the coding. So, if it reads "texture preset_5tail.jpg" then you need to name the image "preset_5tail.jpg"
I hope this works!