Author Topic: How to make invisible preset?  (Read 8524 times)

Offline LucikSmajlik

  • Curious Wanderer
  • *
  • Posts: 10
  • Floof-O-Meter: 0
  • LucikSmajlik
    • View Profile
How to make invisible preset?
« on: July 27, 2011, 03:08:50 pm »
hello...I have problem..How to make invisible preset? It interests me ...

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: How to make invisible preset?
« Reply #1 on: July 27, 2011, 03:45:27 pm »
Make a 512x512 transparent square. And save it as
preset_(number)body.png
preset_(number)eye.png
preset_(number)tail.png
preset_(number)head.png
Then use this code:
Code: [Select]
material preset_(number)_(Body Part)Mat(Left or Right)
{
      receive_shadows on
      technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                     diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                     cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
                     alpha_rejection greater_equal 128
                     texture_unit
         {
                         texture (IMAGE NAME).png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
texture_unit
{
texture (IMAGE NAME AGAIN).png
}
}
}
}

Offline LucikSmajlik

  • Curious Wanderer
  • *
  • Posts: 10
  • Floof-O-Meter: 0
  • LucikSmajlik
    • View Profile
Re: How to make invisible preset?
« Reply #2 on: July 28, 2011, 12:25:48 pm »
I'm trying, but in the Tools folder is not preset macros to which I gave ... I put it into preset_3
Can you please clarify this code?

Offline FableTheWolf

  • Familiar Grounds Dweller
  • **
  • Posts: 52
  • Country: 00
  • Floof-O-Meter: 0
    • View Profile
Re: How to make invisible preset?
« Reply #3 on: July 29, 2011, 12:11:52 am »
Hm this soudsn interesting, I wanna try it! But...some guidance would be appreciated

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: How to make invisible preset?
« Reply #4 on: July 29, 2011, 02:24:31 am »
Okay, make a 512x512 transparent square. Save it as all of these:
preset_3body.png
preset_3eye.png
preset_3tail.png
preset_3head.png

So now you have 4 transparent squares. Open the preset 3 material file in notepad, (it will only open in notepad) and erase everything, EXCEPT the maneMat area, and put:


Code: [Select]
material preset_3_bodyMatL
{
      receive_shadows on
      technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                     diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                     cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
                     alpha_rejection greater_equal 128
                     texture_unit
         {
                         texture preset_3body.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
texture_unit
{
texture preset_3body.png
}
}
}
}
material preset_3_bodyMatR
{
      receive_shadows on
      technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                     diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                     cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
                     alpha_rejection greater_equal 128
                     texture_unit
         {
                         texture preset_3body.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
texture_unit
{
texture preset_3body.png
}
}
}
}
material preset_3_headMatL
{
      receive_shadows on
      technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                     diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                     cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
                     alpha_rejection greater_equal 128
                     texture_unit
         {
                         texture preset_3head.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
texture_unit
{
texture preset_3head.png
}
}
}
}
material preset_3_headMatR
{
      receive_shadows on
      technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                     diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                     cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
                     alpha_rejection greater_equal 128
                     texture_unit
         {
                         texture preset_3head.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
texture_unit
{
texture preset_3head.png
}
}
}
}
material preset_3_eyeMatL
{
      receive_shadows on
      technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                     diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                     cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
                     alpha_rejection greater_equal 128
                     texture_unit
         {
                         texture preset_3eye.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
texture_unit
{
texture preset_3eye.png
}
}
}
}
material preset_3_eyeMatR
{
      receive_shadows on
      technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                     diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                     cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
                     alpha_rejection greater_equal 128
                     texture_unit
         {
                         texture preset_3eye.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
texture_unit
{
texture preset_3eye.png
}
}
}
}
material preset_3_tailMat
{
      receive_shadows on
      technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                     diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                     cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
                     alpha_rejection greater_equal 128
                     texture_unit
         {
                         texture preset_3tail.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
texture_unit
{
texture preset_3tail.png
}
}
}
}
Save that and test in preset maker.

Offline FableTheWolf

  • Familiar Grounds Dweller
  • **
  • Posts: 52
  • Country: 00
  • Floof-O-Meter: 0
    • View Profile
Re: How to make invisible preset?
« Reply #5 on: July 29, 2011, 02:25:32 am »
:) alright that helps!

Offline One True Tame

  • Familiar Grounds Dweller
  • **
  • Posts: 57
  • Floof-O-Meter: 3
  • Just another paw~
    • View Profile
    • deviantart.com
Re: How to make invisible preset?
« Reply #6 on: October 01, 2011, 08:28:59 pm »
DUDE!!! -made one- thanks man this is awesome!!!! -favs page- I am NEVER going to remember all those codes! XD
A simple smile,
a simple gift.
Time goes by,
and eagles fly.
Watching,
waiting,
wandering.
Closer.

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Re: How to make invisible preset?
« Reply #7 on: October 01, 2011, 10:40:18 pm »
Would this make the whole preset invisible or can u choose parts of it?
« Last Edit: October 06, 2011, 08:00:03 am by Ingredient »
Will be inactive due to work and exams.

RegularShow

  • Guest
Re: How to make invisible preset?
« Reply #8 on: December 14, 2011, 06:26:12 pm »
I made the transparent squares 512x512, and I did the coding right, and I went into the game to test it out (I put mine in preset 6) and I scroll down and there's no preset 6 to click on :( can someone please help me?

Offline DemonicHeart

  • Familiar Grounds Dweller
  • **
  • Posts: 77
  • Floof-O-Meter: 2
  • ~(.O.)~
    • View Profile
Re: How to make invisible preset?
« Reply #9 on: January 03, 2013, 11:35:52 pm »
A little late post on this for me XD but, what if you don't have a notepad thing to put the codes in? x-x I don't so it makes it hard for me to do this