Feral Heart

Help & Guidance => Game Help => Topic started by: Dark Greyodon on December 28, 2012, 12:02:53 am

Title: Problems with materials
Post by: Dark Greyodon on December 28, 2012, 12:02:53 am
I'm not really sure what I'm doing wrong. When downloading meshes I have no problem at all with the meshes themselves, but the materials never work. What do I do? I've unpacked them into "my_objects". Should I be doing something else?
Title: Re: Problems with materials
Post by: Wolfexpert79 on December 28, 2012, 12:06:52 am
Did you type in the material under the materials tab of object maker?
Title: Re: Problems with materials
Post by: Dark Greyodon on December 28, 2012, 12:11:11 am
Yeah I've done that, still doesn't work.
Title: Re: Problems with materials
Post by: CloudFish on December 28, 2012, 11:35:51 am
the materials are case-sensitive, and to get them to work, you need to open up your material file for each respected mesh so you can see what to type in.

upon opening up a material file with notepad, you will see something similar to the following. what i have below in red is what you will type into the game to make it work.

material aluethdrawing
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture aluethdrawing.jpg
         }
      }
   }
}

I'm satisfied you're not coding yourself yet, so all the destination texture lines should be good. In which case, you do not need to alter ANYTHING, just look at the notepad for reference of what materials you are wanting to use.

Also be sure that you have placed all the .png and .jpg files into my_objects that came with your downloaded objects. It could be they just aren't being found, or it could be, like above, that you aren't typing in the right material name.
Title: Re: Problems with materials
Post by: Dark Greyodon on January 07, 2013, 01:53:17 pm
Thanks Cloudfish. :) Sorry for the late thank-you, I got distracted with map making.