Feral Heart

Help & Guidance => Game Help => Topic started by: LucikSmajlik on July 27, 2011, 03:08:50 pm

Title: How to make invisible preset?
Post by: LucikSmajlik on July 27, 2011, 03:08:50 pm
hello...I have problem..How to make invisible preset? It interests me ...
Title: Re: How to make invisible preset?
Post by: Ruby1234 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
}
}
}
}
Title: Re: How to make invisible preset?
Post by: LucikSmajlik 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?
Title: Re: How to make invisible preset?
Post by: FableTheWolf on July 29, 2011, 12:11:52 am
Hm this soudsn interesting, I wanna try it! But...some guidance would be appreciated
Title: Re: How to make invisible preset?
Post by: Ruby1234 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.
Title: Re: How to make invisible preset?
Post by: FableTheWolf on July 29, 2011, 02:25:32 am
:) alright that helps!
Title: Re: How to make invisible preset?
Post by: One True Tame 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
Title: Re: How to make invisible preset?
Post by: Ingredient on October 01, 2011, 10:40:18 pm
Would this make the whole preset invisible or can u choose parts of it?
Title: Re: How to make invisible preset?
Post by: RegularShow 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?
Title: Re: How to make invisible preset?
Post by: DemonicHeart 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
Title: Re: How to make invisible preset?
Post by: Ruby1234 on January 04, 2013, 12:03:55 am
What's your OS?
Windows always has notepad, but I don't know what Mac has, though it should have something.
Title: Re: How to make invisible preset?
Post by: DemonicHeart on January 04, 2013, 12:50:22 am
I have a Toshiba(Windows XP in it I think) It has notepad but not in the preset thing and it won't allow me to put a notepad in it.
Title: Re: How to make invisible preset?
Post by: Ruby1234 on January 04, 2013, 03:09:15 pm
You have to open Notepad, and then click File, and then Open.
Change the dropdown to All Files, and then navigate to your preset's material file, and then click open. c:
Title: Re: How to make invisible preset?
Post by: DemonicHeart on January 04, 2013, 11:49:45 pm
Okay, I'll try that then tell you if it worked or not x3 Thanks for the help