Author Topic: Material Code screwed up?  (Read 751 times)

Offline .Apocalyptic.

  • Forum Newcomer
  • *
  • Posts: 4
  • Floof-O-Meter: 0
    • View Profile
Material Code screwed up?
« 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?

Flurr

  • Guest
Re: Material Code screwed up?
« Reply #1 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

Offline .Apocalyptic.

  • Forum Newcomer
  • *
  • Posts: 4
  • Floof-O-Meter: 0
    • View Profile
Re: Material Code screwed up?
« Reply #2 on: August 10, 2018, 05:37:52 pm »
yes!



this is what i see. the tail is physically there, but it's white.

Offline Ame88

  • ❄✧❄✧❄✧❄✧❄✧❄✧❄✧❄ Winter is a .' - ` , ' - . ` timeless ' , ` - '. ` , - ' . season. - ', - ` , ' - . ` , Everything ' , ` - . ' , ` . freezes. `_,_'_-_._`_,_-
  • Admin
  • Elder Grey Pelt
  • *******
  • Posts: 3,141
  • Country: us
  • Floof-O-Meter: 218
  • Yeah I believe in Bigfoot. Nessi and Kovu too!
    • Ame88thewolf
    • View Profile
Re: Material Code screwed up?
« Reply #3 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!

Profile picture by Telluric
Thank you ;u;
Bio | My Creations
Renegade Row | FeralHeart Resort