Author Topic: Preset Glitch  (Read 2803 times)

Offline Dormicor

  • Curious Wanderer
  • *
  • Posts: 13
  • Floof-O-Meter: 0
  • Little Brother of Sanura
    • View Profile
Preset Glitch
« 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?

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Preset Glitch
« Reply #1 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.

Offline Dormicor

  • Curious Wanderer
  • *
  • Posts: 13
  • Floof-O-Meter: 0
  • Little Brother of Sanura
    • View Profile
Re: Preset Glitch
« Reply #2 on: July 22, 2012, 01:37:27 am »
Nn.... it's not going well...
« Last Edit: July 22, 2012, 04:23:07 pm by Dormicor »

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Preset Glitch
« Reply #3 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

Offline Dormicor

  • Curious Wanderer
  • *
  • Posts: 13
  • Floof-O-Meter: 0
  • Little Brother of Sanura
    • View Profile
Re: Preset Glitch
« Reply #4 on: July 22, 2012, 04:32:39 am »
...
« Last Edit: July 22, 2012, 04:23:45 pm by Dormicor »

Offline Dormicor

  • Curious Wanderer
  • *
  • Posts: 13
  • Floof-O-Meter: 0
  • Little Brother of Sanura
    • View Profile
Re: Preset Glitch
« Reply #5 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?

Offline Ouuka

  • Ramine's Nuudel
  • Community Champion
  • ****
  • Posts: 1,870
  • Country: ca
  • Floof-O-Meter: 76
  • Burp
    • Blue-Rakuen
    • SliferBeau
    • View Profile
    • Blue-Rakuen DA
Re: Preset Glitch
« Reply #6 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

Offline Dormicor

  • Curious Wanderer
  • *
  • Posts: 13
  • Floof-O-Meter: 0
  • Little Brother of Sanura
    • View Profile
Re: Preset Glitch
« Reply #7 on: July 23, 2012, 12:46:53 am »
... Well... that didn't work either...
« Last Edit: July 23, 2012, 01:42:19 am by Dormicor »

Offline Ouuka

  • Ramine's Nuudel
  • Community Champion
  • ****
  • Posts: 1,870
  • Country: ca
  • Floof-O-Meter: 76
  • Burp
    • Blue-Rakuen
    • SliferBeau
    • View Profile
    • Blue-Rakuen DA
Re: Preset Glitch
« Reply #8 on: July 23, 2012, 07:33:39 pm »
Paste the code here so we can take a look at it~