Author Topic: Preset help? -SOLVED-  (Read 1853 times)

Offline Rengahst

  • Forum Newcomer
  • *
  • Posts: 7
  • Country: 00
  • Floof-O-Meter: 0
    • View Profile
Preset help? -SOLVED-
« on: August 09, 2014, 02:13:46 am »
Thank you for clicking on this. I'm making a two-sided preset, just for the eyes and the head, but everytime I load it on the preset maker, my game crashes. I've been trying for hours! I have each picture called exactly what it says and each of them only have one layer, really I am perplexed! The code I have used to make my two-sided preset is on preset_8 and the exact coding is:

material preset_8_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_8body.jpg
         }
      }
   }
}
material preset_8_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_8body.jpg
         }
      }
   }
}
material preset_8_headMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_8headL.jpg
         }
      }
   }
}
material preset_8_headMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_8headL.jpg
         }
      }
   }
}
material preset_8_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_8eyeL.jpg
         }
      }
   }
}
material preset_8_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_8eyeR.jpg
         }
      }
   }
}
material preset_8_tailMat
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_8tail.jpg
         }
      }
   }
}
material preset_8_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture preset_8mane.png
         }
      }
   }
}


Can anyone solve my annoying mystery? And thank you very much for trying to help me!



EDIT: Turns out one of the eye files, wasn't working which caused it to crash, thank you for the help!
« Last Edit: August 09, 2014, 02:54:31 pm by j1mvt »

Offline SnappleApple

  • Experienced Traveler
  • **
  • Posts: 153
  • Country: us
  • Floof-O-Meter: 8
  • An inkling irl
    • SnappleZeApple
    • cherry-gore
    • View Profile
Re: Preset help?
« Reply #1 on: August 09, 2014, 02:27:15 am »
Hmm, maybe try explaining better? Then I could help you. But you could try converting those .jpg into .png images?/color]
« Last Edit: August 09, 2014, 02:29:16 am by SnappleApple »
Find me In-Game as CandyGore/ Thunderbirds!


Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Preset help?
« Reply #2 on: August 09, 2014, 02:49:49 am »
material preset_8_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_8body
         }
      }
   }
}
material preset_8_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_8body
         }
      }
   }
}
Your two body segments cannot have no extension.
Add .png or .jpg onto the end of the lines in pink, then try. o;

Offline Spottedbears

  • Dedicated Supporter
  • ***
  • Posts: 464
  • Country: 00
  • Floof-O-Meter: 41
  • mister sandman, bring me a dream
    • View Profile
Re: Preset help?
« Reply #3 on: August 09, 2014, 03:56:15 am »
ditto to ruby!
whatever your image's name is, there must be a .png or a .jpg or it won't work because the game doesn't recognize anything else as an image file. check your images' extensions.

Art by me!
DA: Chrome-domey
Tumblr: Cassiopirate
Need preset, animating, or map help? PM me!

Offline Rengahst

  • Forum Newcomer
  • *
  • Posts: 7
  • Country: 00
  • Floof-O-Meter: 0
    • View Profile
Re: Preset help?
« Reply #4 on: August 09, 2014, 01:20:07 pm »
material preset_8_bodyMatL
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_8body
         }
      }
   }
}
material preset_8_bodyMatR
{
   technique
   {
      pass
      {
         texture_unit
         {
            texture preset_8body
         }
      }
   }
}
Your two body segments cannot have no extension.
Add .png or .jpg onto the end of the lines in pink, then try. o;


ditto to ruby!
whatever your image's name is, there must be a .png or a .jpg or it won't work because the game doesn't recognize anything else as an image file. check your images' extensions.

Thank you, all! I didn't notice that, but my game is still crashes, and I've checked my extensions and checked them in the coding, they are the same and all the pictures contain the extensions .jpg or .png