Author Topic: Preset Coding  (Read 1222 times)

Offline BlackRidgeWolf

  • Experienced Traveler
  • **
  • Posts: 155
  • Country: 00
  • Floof-O-Meter: 7
  • Wolves for life <3
    • View Profile
Preset Coding
« on: June 24, 2012, 01:06:19 am »
How do I make the wings of my presets to be transparent? Also would there be a way to make only part of the wing transparent? I have looked for answers but couldnt find one so I would love it if I got some help ^.^

Download to see my preset---> http://www.mediafire.com/?7deox0ebd6d5v84

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Re: Preset Coding
« Reply #1 on: June 24, 2012, 02:06:02 am »
Try this code..

Code: [Select]
material preset_11_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_11body.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}                       alpha_rejection greater_equal 128
texture_unit
{
texture preset_11body.png
}
}
}
}
material preset_11_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_11body.png
                         tex_address_mode wrap
                         filtering trilinear
}
texture preset_11body.png
}
}
}
}
material preset_11_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_11head.png
                         tex_address_mode wrap
                         filtering trilinear
}
texture preset_11head.png
}
}
}
}
material preset_11_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_11head.png
                         tex_address_mode wrap
                         filtering trilinear
}
texture preset_11head.png
}
}
}
}
material preset_11_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_11eye.png
                         tex_address_mode wrap
                         filtering trilinear
         }
texture preset_11eye.png
}
}
}
}
material preset_11_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_11eye.png
                         tex_address_mode wrap
                         filtering trilinear
         }
texture preset_11eye.png
}
}
}
}
material preset_11_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_11tail.png
                         tex_address_mode wrap
                         filtering trilinear
         }
texture preset_11tail.png
}
}
}
}
material preset_11_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_11mane.png
}
}
}
}
material preset_11_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 [YOURWINGIMAGENAME].png
                         tex_address_mode wrap
                         filtering trilinear
         }
texture [YOURWINGIMAGENAME].png
}
}
}
}
material preset_11_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 [YOURWINGIMAGENAME].png
                         tex_address_mode wrap
                         filtering trilinear
         }
texture [YOURWINGIMAGENAME].png
}
}
}
}

I used it for my bird preset.
Will be inactive due to work and exams.