Author Topic: My Preset Is Black And Yellow?  (Read 2394 times)

Offline BluuLeopard

  • Leopard Of The Lost World - 2011 💙🌊✨
  • Dedicated Supporter
  • ***
  • Posts: 403
  • Country: ru
  • Floof-O-Meter: 40
  • Avatar by Me <3
    • bluuleopard.deviantart.com
    • View Profile
    • bluuleopard.deviantart.com
My Preset Is Black And Yellow?
« on: July 28, 2015, 04:38:58 pm »
Today I finished the head of my preset, yesterday the whole body was blank white, which I know why. But when I was playing the game yesterday, I crashed, decided to continue making my preset. The body turned to black and yellow, and now I cannot put the texture of the body on!

I also applied the glowing markings code to the whole parts of the body, could this be the reason? I even changed the .PNG in the material file to .png. But nothing helped.

Please help me, thank you.
[/i]
Avatar - bluuleopard.deviantart.com
Profile Signature - Phobic-Art

Offline Komoe

  • Experienced Traveler
  • **
  • Posts: 134
  • Country: ca
  • Floof-O-Meter: 9
    • View Profile
Re: My Preset Is Black And Yellow?
« Reply #1 on: July 28, 2015, 04:45:33 pm »
Alright :D I have a preset with glowing markings too! I might be able to help you.

Can you please send me the script in your preset's .mat file? And also the names for all of your preset's files? Just fill this in for me :3 Don't forget to include the type of file at the end of the file name ^_^ like .jpg or .png

Body -
Body Glow -
Eye -
Eye Glow -
Head -
Head Glow -
Tail -
Tail Glow -

Also include your mane and wing file names, and their glow files too, if you are making those as well ^_^
 
« Last Edit: July 28, 2015, 04:47:12 pm by Argwen »

Offline BluuLeopard

  • Leopard Of The Lost World - 2011 💙🌊✨
  • Dedicated Supporter
  • ***
  • Posts: 403
  • Country: ru
  • Floof-O-Meter: 40
  • Avatar by Me <3
    • bluuleopard.deviantart.com
    • View Profile
    • bluuleopard.deviantart.com
Re: My Preset Is Black And Yellow?
« Reply #2 on: July 28, 2015, 05:02:14 pm »
Script ---

material preset_7_bodyMatL
{
 technique
 {
  pass
  {
   AMBIENT0.5 0.5 0.5
   texture_unit
   {
    texture preset_7body.png
   }
  }
  pass
  {
   EMISSIVE1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture glowbody.png
   }
  }
 }
}
material preset_7_bodyMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_7body.png
   }
  }
pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture glowbody.png
   }
  }
 }
}
material preset_7_headMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_7head.PNG
   }
  }
pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture glow.PNG
   }
  }
 }
}
material preset_7_headMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_7head.PNG
   }
  }
pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture glow.PNG
   }
  }

 }
}
material preset_7_eyeMatL
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   texture_unit
   {
    texture YOUREYETEXTURE.PNG
   }
  }
 }
}
material preset_7_eyeMatR
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   texture_unit
   {
    texture YOUREYETEXTURE.PNG
   }
  }
 }
}
material preset_7_tailMat
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture YOURTAILTEXTURE.PNG
   }
  }
pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture YOURTAILGLOWTEXTURE.PNG
   }
  }
 }
}
material preset_7_maneMat
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   cull_hardware none
   cull_software none
   scene_blend alpha_blend
   alpha_rejection greater_equal 250
   texture_unit
   {
    texture YOURMANETEXTURE.PNG
   }
  }
 }
}

I thought I would of change the textures, and glows later when I draw them out.

Body - preset_7body.png
Body Glow - N/A
Eye - preset_7eye.png
Eye Glow - N/A
Head - preset_7head.png
Head Glow - glow.png
Tail - preset_7tail.png
Tail Glow - N/A

I am planning to make a mane glow and texture too. Planning to make glowing markings for tail, body, maybe eyes.
Avatar - bluuleopard.deviantart.com
Profile Signature - Phobic-Art

Offline Komoe

  • Experienced Traveler
  • **
  • Posts: 134
  • Country: ca
  • Floof-O-Meter: 9
    • View Profile
Re: My Preset Is Black And Yellow?
« Reply #3 on: July 28, 2015, 05:25:20 pm »
Okay, try this out. Just warning you that it might still appear strange because, in this script, it's telling the game that your glow files exist and that the game needs to lay them over your texture. Since you don't have glow files yet, your preset might look strange because it's confused. It doesn't have the files it is looking for to put on top.

material preset_7_bodyMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_7body.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7bodyglow.png
   }
  }
 }
}
material preset_7_bodyMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_7body.png
   }
  }
pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7bodyglow.png
   }
  }
 }
}
material preset_7_headMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_7head.png
   }
  }
pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7headglow.png
   }
  }
 }
}
material preset_7_headMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_7head.png
   }
  }
pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7headglow.png
   }
  }

 }
}
material preset_7_eyeMatL
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_7eye.png
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_7eyeglow.png
         }
      }
   }
}

material preset_7_eyeMatR
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_7eye.png
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_7eyeglow.png
         }
      }
   }
}

material preset_7_tailMat
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture preset_7tail.png
   }
  }
pass
  {
   emissive 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7tailglow.png
   }
  }
 }
}
material preset_7_maneMat
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   cull_hardware none
   cull_software none
   scene_blend alpha_blend
   alpha_rejection greater_equal 250
   texture_unit
   {
    texture preset_7mane.png
   }
  }
 }
}

If that doesn't work, then you have 2 options:

1) you can use the original coding until you decide to make your glow files. I can send you a copy of it if you want to do this.
2) you can create your glow files as transparencies, but not draw on them yet. So they are see through. The game will recognize these and lay them on top :) and you can still see your preset colours underneath. But you need to make sure that these transparencies have the proper file names. Exactly as they are seen in the new script I gave you. Or else the game won't recognize them.

So, to give you back your file names...

Body - preset_7body.png
Body Glow - preset_7bodyglow.png
Eye - preset_7eye.png
Eye Glow - preset_7eyeglow.png
Head - preset_7head.png
Head Glow - preset_7headglow.png
Tail - preset_7tail.png
Tail Glow - preset_7tailglow.png
Mane - preset_7mane.png

Offline Komoe

  • Experienced Traveler
  • **
  • Posts: 134
  • Country: ca
  • Floof-O-Meter: 9
    • View Profile
Re: My Preset Is Black And Yellow?
« Reply #4 on: July 28, 2015, 05:31:45 pm »
Keep in mind that, if you go for option 2, you can draw your glowing markings on them whenever you are ready to make them ^_^ Having the files there, and transparent, is the important part for now.

And even if you don't want glowing eyes or glowing markings on the head, make transparencies for them. Just leave them blank and nothing will glow :)
« Last Edit: July 28, 2015, 05:36:32 pm by Argwen »

Offline BluuLeopard

  • Leopard Of The Lost World - 2011 💙🌊✨
  • Dedicated Supporter
  • ***
  • Posts: 403
  • Country: ru
  • Floof-O-Meter: 40
  • Avatar by Me <3
    • bluuleopard.deviantart.com
    • View Profile
    • bluuleopard.deviantart.com
Re: My Preset Is Black And Yellow?
« Reply #5 on: July 28, 2015, 05:41:13 pm »
And what if both of those options don't work, do I restart my game? EDIT: Thank you, option two works, you just saved my life. Thank you!
« Last Edit: July 28, 2015, 05:45:54 pm by Blue Leopard »
Avatar - bluuleopard.deviantart.com
Profile Signature - Phobic-Art

Offline Komoe

  • Experienced Traveler
  • **
  • Posts: 134
  • Country: ca
  • Floof-O-Meter: 9
    • View Profile
Re: My Preset Is Black And Yellow?
« Reply #6 on: July 28, 2015, 05:45:45 pm »
Try them out first, and report your results back on here for me.

I'm 99% sure that it isn't a problem with your game. It's a coding and files thing for your preset :) I had to fiddle with my coding for a bit to make my glowing markings work out.

Offline BluuLeopard

  • Leopard Of The Lost World - 2011 💙🌊✨
  • Dedicated Supporter
  • ***
  • Posts: 403
  • Country: ru
  • Floof-O-Meter: 40
  • Avatar by Me <3
    • bluuleopard.deviantart.com
    • View Profile
    • bluuleopard.deviantart.com
Re: My Preset Is Black And Yellow?
« Reply #7 on: July 28, 2015, 05:47:12 pm »
The option two worked! Thank you a lot, there. And is it fine for all of my textureless presets being black and yellow?
Avatar - bluuleopard.deviantart.com
Profile Signature - Phobic-Art

Offline Komoe

  • Experienced Traveler
  • **
  • Posts: 134
  • Country: ca
  • Floof-O-Meter: 9
    • View Profile
Re: My Preset Is Black And Yellow?
« Reply #8 on: July 28, 2015, 05:53:34 pm »
Absolutely! That's normal. They are only black and yellow because there are no files in their folders for feral heart to read ^_^

I'm glad that it all got sorted out for you! Let me know if you experience any more problems ;D