Author Topic: Combining Preset Codes?  (Read 779 times)

Offline SmexyBadBoy

  • Curious Wanderer
  • *
  • Posts: 30
  • Country: us
  • Floof-O-Meter: 0
  • How's It Howling MOFO Nation!
    • View Profile
    • YouTube
Combining Preset Codes?
« on: June 10, 2017, 09:33:52 am »
Ok so I'm trying to edit an old free preset I downloaded to where everything, except for the head & eyes are transparent, and I can't seem to find a forum on how to code this can anyone help me? it's been a long time since I coded so go easy on me ok ^^;

here is the preset's code;

Quote
material preset_6_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 Transparentbody6.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
         texture_unit
         {
            texture Transparentbody6.png
         }
      }
   }
}
material preset_6_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 TransparentBody6.png
                         tex_address_mode wrap
                         filtering trilinear
         }
            texture TransparentBody6.png
         }
      }
   }
}
material preset_6_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 Transparenthead6.png
                         tex_address_mode wrap
                         filtering trilinear
         }
            texture Transparenthead6.png
         }
      }
   }
}
material preset_6_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 Transparenthead6.png
                         tex_address_mode wrap
                         filtering trilinear
         }
            texture Transparenthead6.png
         }
      }
   }
}
material preset_6_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 Transparenteye6.png
                         tex_address_mode wrap
                         filtering trilinear
         }
            texture Transparenteye6.png
         }
      }
   }
}
material preset_6_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 Transparenteye6.png
                         tex_address_mode wrap
                         filtering trilinear
         }
            texture Transparenteye6.png
         }
      }
   }
}
material preset_6_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 Transparenttail6.png
                         tex_address_mode wrap
                         filtering trilinear
         }
            texture Transparenttail6.png
         }
      }
   }
}
material preset_6_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture Mane6.png
         }
      }
   }
}
material preset_6_equipMatL
{
        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 Transparentequip6.png
                         tex_address_mode wrap
                         filtering trilinear
         }
            texture Transparentequip6.png
         }
      }
   }
}
material preset_6_equipMatR
{
        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 Transparentequip6.png
                         tex_address_mode wrap
                         filtering trilinear
         }
            texture Transparentequip6.png
         }
      }
   }
}
« Last Edit: June 10, 2017, 09:42:07 am by SmexyBadBoy »
Human Beings Are A Lot Like Music
Different Genres
Different Ethnicities
The Only Difference Is....We Fight Because We're Different On The Outside
Rather Than The Lyrics We Write

Offline G4RG0YLE

  • Elder Grey Pelt
  • ****
  • Posts: 3,431
  • Country: gb
  • Floof-O-Meter: 170
  • Avatar © Felicia on Discord ♡
    • View Profile
Re: Combining Preset Codes?
« Reply #1 on: June 10, 2017, 09:41:33 am »
I'd recommend paying a visit to Tigg's Scripts! Moving Tex, Transparent, Glowy, Metallic and more! thread, as it provides the codes needed. Hope this is what you're looking for!

© short ' cakes on Discord ♡