Author Topic: >_< Preset error  (Read 1569 times)

Offline Midgetsc

  • Familiar Grounds Dweller
  • **
  • Posts: 69
  • Country: 00
  • Floof-O-Meter: 2
    • View Profile
>_< Preset error
« on: March 02, 2013, 07:18:27 am »
I was on a thread with a bunch of preset codes, and decided to use the transparent one for my preset. I used the opacity thingy on Gimp to make a semi-transparent texture, and it worked for the head and eye. However, as soon as I uploaded the body, the tail and body became invisible.



If anyone knows how to fix this, I'd appreciate the help. And, if needed, I can copy and paste the material thingy.
Thanks~

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Re: >_< Preset error
« Reply #1 on: March 02, 2013, 07:25:01 am »
Might be something wrong with the code or the image names you used.

Could you paste the code from your material file onto this post please for me to look at? Could you also give me the name and format of the images you have in your preset folder as well ;)
Will be inactive due to work and exams.

Offline Midgetsc

  • Familiar Grounds Dweller
  • **
  • Posts: 69
  • Country: 00
  • Floof-O-Meter: 2
    • View Profile
Re: >_< Preset error
« Reply #2 on: March 02, 2013, 07:27:13 am »
material preset_9_bodyMatL
{
    receive_shadows on
    technique
    {
        pass
        {
            scene_blend alpha_blend
            fog_override true
            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
            emissive 0.000000 0.000000 0.000000 1.000000
            alpha_rejection greater_equal 128
            cull_hardware none
            cull_software none
            texture_unit
            {
                texture preset_9body.png
                tex_address_mode wrap
                filtering trilinear
            }
        }
    }
}
material preset_9_bodyMatR
{
    receive_shadows on
    technique
    {
        pass
        {
            scene_blend alpha_blend
            fog_override true
            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
            emissive 0.000000 0.000000 0.000000 1.000000
            alpha_rejection greater_equal 128
            cull_hardware none
            cull_software none
            texture_unit
            {
                texture preset_9body.png
                tex_address_mode wrap
                filtering trilinear
            }
        }
    }
}
material preset_9_headMatL
{
    receive_shadows on
    technique
    {
        pass
        {
            scene_blend alpha_blend
            fog_override true
            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
            emissive 0.000000 0.000000 0.000000 1.000000
            alpha_rejection greater_equal 128
            cull_hardware none
            cull_software none
            texture_unit
            {
                texture preset_9head.png
                tex_address_mode wrap
                filtering trilinear
            }
        }
    }
}
material preset_9_headMatR
{
    receive_shadows on
    technique
    {
        pass
        {
            scene_blend alpha_blend
            fog_override true
            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
            emissive 0.000000 0.000000 0.000000 1.000000
            alpha_rejection greater_equal 128
            cull_hardware none
            cull_software none
            texture_unit
            {
                texture preset_9head.png
                tex_address_mode wrap
                filtering trilinear
            }
        }
    }
}
material preset_9_eyeMatL
{
    receive_shadows on
    technique
    {
        pass
        {
            scene_blend alpha_blend
            fog_override true
            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
            emissive 0.000000 0.000000 0.000000 1.000000
            alpha_rejection greater_equal 128
            cull_hardware none
            cull_software none
            texture_unit
            {
                texture preset_9eye.png
                tex_address_mode wrap
                filtering trilinear
            }
        }
    }
}
material preset_9_eyeMatR
{
    receive_shadows on
    technique
    {
        pass
        {
            scene_blend alpha_blend
            fog_override true
            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
            emissive 0.000000 0.000000 0.000000 1.000000
            alpha_rejection greater_equal 128
            cull_hardware none
            cull_software none
            texture_unit
            {
                texture preset_9eye.png
                tex_address_mode wrap
                filtering trilinear
            }
        }
    }
}
material preset_9_tailMat
{
    receive_shadows on
    technique
    {
        pass
        {
            scene_blend alpha_blend
            fog_override true
            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
            emissive 0.000000 0.000000 0.000000 1.000000
            alpha_rejection greater_equal 128
            cull_hardware none
            cull_software none
            texture_unit
            {
                texture preset_9body.png
                tex_address_mode wrap
                filtering trilinear
            }
        }
    }
}
material preset_9_maneMat
{
   technique
   {
      pass
      {
         lighting off
         cull_hardware none
         cull_software none
         scene_blend alpha_blend
         depth_write off
         texture_unit
         {
            texture preset_9mane.png
         }
      }
   }
}

The names of my pictures are preset_9head.png, preset_9eye.png, and preset_9body.png

Offline Feareh

  • The Jaguar Artist
  • Ancient Silver Mane
  • *****
  • Posts: 4,026
  • Country: us
  • Floof-O-Meter: 195
  • Where is the Walrus Species?
    • View Profile
Re: >_< Preset error
« Reply #3 on: March 02, 2013, 08:01:00 pm »
I would think if you wanted something that isn't to transparent you would use the Ghost code. But if the same coding worked for your head then perhaps you mistyped something and the coding isn't working
I Stalk from time to time...I have moved on to other things but do miss this place. Good times
Add me on discord:
Bakujio 🐺#7358

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: >_< Preset error
« Reply #4 on: March 04, 2013, 01:47:47 pm »
The alpha_rejection greater_equal 128 code registers semi-transparency as transparent on most meshes.
Take a look here. c:

Offline Midgetsc

  • Familiar Grounds Dweller
  • **
  • Posts: 69
  • Country: 00
  • Floof-O-Meter: 2
    • View Profile
Re: >_< Preset error
« Reply #5 on: March 04, 2013, 06:29:01 pm »
Oh, that's cool- thanks. :3 Quick question, though. Do I need to have the preset already exported?

Offline Feareh

  • The Jaguar Artist
  • Ancient Silver Mane
  • *****
  • Posts: 4,026
  • Country: us
  • Floof-O-Meter: 195
  • Where is the Walrus Species?
    • View Profile
Re: >_< Preset error
« Reply #6 on: March 04, 2013, 06:32:42 pm »
Oh, that's cool- thanks. :3 Quick question, though. Do I need to have the preset already exported?
When you have finished everything you need on your preset, then you take it to the testing area and you click on Exports.

When you do this, it makes a fhp file for ya and automatically puts it in your "Preset" file along with other friends you might have. This allows your character to be seen in game. NEVER take your fhp file out of your preset folder
To let other people see your preset, you need to upload your fhp file to tinyurl or something like Mediafire.com and send people links to your preset
I Stalk from time to time...I have moved on to other things but do miss this place. Good times
Add me on discord:
Bakujio 🐺#7358