Feral Heart

Help & Guidance => Game Help => Topic started by: Lasatzu on July 21, 2014, 10:55:49 am

Title: Uh help...Using ghost script now unwanted asymmetry...
Post by: Lasatzu on July 21, 2014, 10:55:49 am
I don't usually go onto forums and just recently got back INTO feral heart, so, outdated...eew.

I came here to inquire into how to fix a bug with custom presets. I have been using preset 4 slot, with a ghost script to make the white bits transparent, you know? And I think it was working fine at first, but then for some reason there is a period now where one side of the model is completely white as if it is not reading the preset sheet entirely, for the body.

No, I have not installed (lest someone sneaked the extra script for asymmetry into there) the script for asymmetry.
Has anyone had this problem? I've searched but no one seems to. Halp? Thanks..




...It is just so frustrating after waiting so long for presets to be seen and be more convenient and now once jumping back onto the bandwagon my stupid thing wont work, haha..
Title: Re: Uh help...Using ghost script now unwanted asymmetry...
Post by: xXQueenXx on July 21, 2014, 11:08:34 am
I've never had this problem before but you could refer to  this for more help. (http://feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=12075.0[/url)
Title: Re: Uh help...Using ghost script now unwanted asymmetry...
Post by: Spottedbears on July 21, 2014, 04:05:48 pm
there is no real code for asymmetry. all you do is change the preset_4body.png or whatever you have it as, to something else in the preset_4.material.

you may have messed this up somehow. sometimes it happens to me, and it's usually a problem with the coding, so i just fiddle with it until it works. could you post your code? and possibly the names of your images as well.
Title: Re: Uh help...Using ghost script now unwanted asymmetry...
Post by: Lasatzu on August 06, 2014, 01:47:30 am
Ah I see. I am sure I'm just being dumb and missed something lol.

I believe the code is this ;;


material preset_4_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_body.png
                        tex_address_mode wrap
                        filtering trilinear
        }
     }
  }
}
        texture_unit
        {
           texture preset_4body.png
        }
     }
  }
}
material preset_4_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_4body.png
                        tex_address_mode wrap
                        filtering trilinear
        }
           texture preset_4body.png
        }
     }
  }
}
material preset_4_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_4head.png
                        tex_address_mode wrap
                        filtering trilinear
        }
           texture preset_4head.png
        }
     }
  }
}
material preset_4_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_4head.png
                        tex_address_mode wrap
                        filtering trilinear
        }
           texture preset_4head.png
        }
     }
  }
}
material preset_4_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_4eye.png
                        tex_address_mode wrap
                        filtering trilinear
        }
           texture preset_4eye.png
        }
     }
  }
}
material preset_4_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_4eye.png
                        tex_address_mode wrap
                        filtering trilinear
        }
           texture preset_4eye.png
        }
     }
  }
}
material preset_4_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_4tail.png
                        tex_address_mode wrap
                        filtering trilinear
        }
           texture preset_4tail.png
        }
     }
  }
}
material preset_4_maneMat
{
  technique
  {
     pass
     {
        lighting off
        cull_hardware none
        cull_software none
        scene_blend alpha_blend
        depth_write off
        texture_unit
        {
           texture preset_4mane.png
        }
     }
  }
}
material preset_4_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
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture Inviswing.png
tex_address_mode wrap
filtering trilinear
}
}
}
}
material preset_4_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
alpha_rejection greater_equal 128
scene_blend alpha_blend
texture_unit
{
texture Inviswing.png
tex_address_mode wrap
filtering trilinear
}
}
}
}







...And the name is something along Preset_4body

Which seems pretty legit to me :/
Sorry if I end up bothering you, lol ...
Title: Re: Uh help...Using ghost script now unwanted asymmetry...
Post by: Spottedbears on August 06, 2014, 02:02:23 am
Quote
material preset_4_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_body.png
                        tex_address_mode wrap
                        filtering trilinear
        }
     }
  }
}
        texture_unit
        {
           texture preset_4body.png
        }
     }
  }
}

this is the first section of your code. i've highlighted your problem in red. "preset_body.png" should be "preset_4body.png" because that is the same texture that's in your second body code. the second thing i highlighted in red you should delete because it's not needed. just change that and you should be all set!
Title: Re: Uh help...Using ghost script now unwanted asymmetry...
Post by: Lasatzu on August 06, 2014, 06:38:53 am
Thank you VERY much!! You have been a great help here.  I wish you well. :)

Thanks again!
Title: Re: Uh help...Using ghost script now unwanted asymmetry...
Post by: Spottedbears on August 06, 2014, 12:02:27 pm
no problem! glad i could help.