Feral Heart

Help & Guidance => Game Help => Topic started by: Dormicor on July 22, 2012, 12:58:01 am

Title: Preset Glitch
Post by: Dormicor on July 22, 2012, 12:58:01 am
My friend created a wonderful Preset for me but the thing is... It doesn't really show on one side. My wolf has a flag on it's neck and the flag too doesn't show fully. So half the body on the right is black and yellow...

The funny thing is, the coding is perfectly fine.... So we can't figure out what is going on. Help?
Title: Re: Preset Glitch
Post by: Ruby1234 on July 22, 2012, 01:12:58 am
Can you paste the code here? It might appear to be correct, but one small detail can make it break.
Title: Re: Preset Glitch
Post by: Dormicor on July 22, 2012, 01:37:27 am
Nn.... it's not going well...
Title: Re: Preset Glitch
Post by: Ruby1234 on July 22, 2012, 03:12:20 am
Could I see the whole code?
It should look something like this,
Code: [Select]
material preset_4_bodyMatL
{
technique
{
pass
{
ambient 0.9 0.9 0.9 1
texture_unit
{
texture preset_4body.jpg
}
}
}
}
material preset_4_bodyMatR
{
technique
{
pass
{
ambient 0.9 0.9 0.9 1
texture_unit
{
texture preset_4body.jpg
}
}
}
}
material preset_4_headMatL
{
technique
{
pass
{
ambient 0.9 0.9 0.9 1
texture_unit
{
texture preset_4head.jpg
}
}
}
}
material preset_4_headMatR
{
technique
{
pass
{
ambient 0.9 0.9 0.9 1
texture_unit
{
texture preset_4head.jpg
}
}
}
}
material preset_4_eyeMatL
{
technique
{
pass
{
ambient 0.9 0.9 0.9 1
cull_hardware none
cull_software none
texture_unit
{
texture preset_4eye.jpg
}
}
}
}
material preset_4_eyeMatR
{
technique
{
pass
{
ambient 0.9 0.9 0.9 1
cull_hardware none
cull_software none
texture_unit
{
texture preset_4eye.jpg
}
}
}
}
material preset_4_tailMat
{
technique
{
pass
{
ambient 0.9 0.9 0.9 1
texture_unit
{
texture preset_4tail.jpg
}
}
}
}
material preset_4_maneMat
{
technique
{
pass
{
ambient 0.9 0.9 0.9 1
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_4mane.png
}
}
}
}

Just replace the image names and it should work, if you decide to use that one. :3
Title: Re: Preset Glitch
Post by: Dormicor on July 22, 2012, 04:32:39 am
...
Title: Re: Preset Glitch
Post by: Dormicor on July 22, 2012, 07:31:43 am
Now it's just white on that side... This didn't work at all...

And what do you mean by image names?
Title: Re: Preset Glitch
Post by: Ouuka on July 22, 2012, 08:17:55 pm
With your preset you got Image files, the names of those go into the coding to make this coding work. As ruby posted

material preset_4_bodyMatL
{
   technique
   {
      pass
      {
         ambient 0.9 0.9 0.9 1
         texture_unit
         {
            texture preset_4body.jpg
         }
      }
   }
}


The Red Part of the coding is where u would replace it with the name of your texture names for your preset
Title: Re: Preset Glitch
Post by: Dormicor on July 23, 2012, 12:46:53 am
... Well... that didn't work either...
Title: Re: Preset Glitch
Post by: Ouuka on July 23, 2012, 07:33:39 pm
Paste the code here so we can take a look at it~