Author Topic: Preset help? (Coding..)  (Read 1261 times)

Offline Caraphernelia

  • Curious Wanderer
  • *
  • Posts: 18
  • Country: us
  • Floof-O-Meter: 0
  • "...."
    • View Profile
Preset help? (Coding..)
« on: October 21, 2017, 11:15:04 am »
Feel free to move this to where it belongs.


Screenshots :
https://i.imgur.com/wfzoSq7.png
https://i.imgur.com/jrDDKhx.png
I made sure everything in the coding is correct, Dozens of times, Yet it doesn't show on the eyes, Tail, Half the face, and Mane on the head, But on Preset 4 folder, It shows everything but refuses to export. I'm not sure what I did wrong.



I only made two parts transparent, But it wasn't major transparency.
« Last Edit: October 21, 2017, 11:17:18 am by Relapsed_Memory »

Offline teanovai

  • Dedicated Supporter
  • ***
  • Posts: 306
  • Country: ie
  • Floof-O-Meter: 24
  • . care for a spot of tea?
    • teanovai
    • View Profile
Re: Preset help? (Coding..)
« Reply #1 on: October 21, 2017, 11:27:56 am »
hmm... could you perhaps show us your material file code anyway? just so we can see if you might have missed anything.

signature by me | icon by raspbearies
my preset!

Offline Caraphernelia

  • Curious Wanderer
  • *
  • Posts: 18
  • Country: us
  • Floof-O-Meter: 0
  • "...."
    • View Profile
Re: Preset help? (Coding..)
« Reply #2 on: October 21, 2017, 11:30:25 am »

Offline teanovai

  • Dedicated Supporter
  • ***
  • Posts: 306
  • Country: ie
  • Floof-O-Meter: 24
  • . care for a spot of tea?
    • teanovai
    • View Profile
Re: Preset help? (Coding..)
« Reply #3 on: October 21, 2017, 11:32:08 am »
could you perhaps copy and paste it into here instead? it saves a lot of time lol.

signature by me | icon by raspbearies
my preset!

Offline Caraphernelia

  • Curious Wanderer
  • *
  • Posts: 18
  • Country: us
  • Floof-O-Meter: 0
  • "...."
    • View Profile
Re: Preset help? (Coding..)
« Reply #4 on: October 21, 2017, 11:38:25 am »
could you perhaps copy and paste it into here instead? it saves a lot of time lol.

Ahhh sorry xD I'm not used to asking for help here.

material preset_3_bodyMatL
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_3body.png
   }
  }
 }
}
material preset_3_bodyMatR
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_3body.png
   }
  }
 }
}
material preset_3_headMatL
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_3headL.png
   }
  }
 }
}
material preset_3_headMatR
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_3headR.png
   }
   }
}
material preset_3_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eye.jpg
         }
      }
   }
}
material preset_3_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eye.jpg
         }
      }
   }
}
material preset_3_tailMat
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3tail.jpg
         }
      }
   }
}
material preset_3_maneMat
{
   technique
   {
      pass
      {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
         {
            texture preset_3mane.jpg
         }
      }
   }
}

Aka.Kurosaki

  • Guest
Re: Preset help? (Coding..)
« Reply #5 on: October 21, 2017, 12:32:17 pm »
could you perhaps copy and paste it into here instead? it saves a lot of time lol.

Ahhh sorry xD I'm not used to asking for help here.

material preset_3_bodyMatL
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_3body.png
   }
  }
 }
}
material preset_3_bodyMatR
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_3body.png
   }
  }
 }
}
material preset_3_headMatL
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_3headL.png
   }
  }
 }
}
material preset_3_headMatR
{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_3headR.png
   }
   }
}
material preset_3_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eye.jpg
         }
      }
   }
}
material preset_3_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eye.jpg
         }
      }
   }
}
material preset_3_tailMat
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_3tail.jpg
         }
      }
   }
}
material preset_3_maneMat
{
   technique
   {
      pass
      {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
         {
            texture preset_3mane.jpg
         }
      }
   }
}

Well one problem I see is in the right head, you forgot to close it. Here:

{
 technique
 {
  pass
  {
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_3headR.png
 }
      }
   }
}