Feral Heart

Help & Guidance => Game Help => Topic started by: Vwang on June 16, 2016, 04:25:33 am

Title: EGH Problem with my beautiful preset ;-;
Post by: Vwang on June 16, 2016, 04:25:33 am
Since I cannot upload pictures due to gore in tinypic.com I have this video for ya
www.youtube.com/watch?v=Q2kqg6xFDfQ&feature=youtu.be (http://www.youtube.com/watch?v=Q2kqg6xFDfQ&feature=youtu.be)
So Apparently my preset has a perfect code I think and then the Glow part wont show on the tail
Code because I bet you might find the solution there
Code: [Select]
material preset_11_bodyMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1.0
texture_unit
{
texture preset_11body.jpg
}
}
pass
{
emissive 1.0 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_11bodyglow.png
}
}
}
}
material preset_11_bodyMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1.0
texture_unit
{
texture preset_11body.jpg
}
}
pass
{
emissive 1.0 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_11bodyglow.png
}
}
}
}
material preset_11_headMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1.0
texture_unit
{
texture preset_11head.jpg
}
}
pass
{
emissive 1.0 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_11headglow.png
}
}
}
}
material preset_11_headMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1.0
texture_unit
{
texture preset_11head.jpg
}
}
pass
{
emissive 1.0 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_11headglow.png
}
}
}
}
material preset_11_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_11eye.jpg
}
}
}
}
material preset_11_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_11eye.jpg
}
}
}
}
material preset_11_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_11tail.jpg
}
}
}
}
material preset_11_tailMat
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1.0
texture_unit
{
texture preset_11tail.jpg
}
}
pass
{
emissive 1.0 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_11tailglow.png
}
}
}
}
material preset_11_maneMat
{
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_11mane.png
}
}
pass
{
emissive 1.0 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_11maneglow.png
}
}
}
}
material preset_11_equipMatL
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_11equip.jpg
                        }
                }
        }
}
material preset_11_equipMatR
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_11equip.jpg
                        }
                }
        }
}
Title: Re: EGH Problem with my beautiful preset ;-;
Post by: greenart6 on June 16, 2016, 04:32:45 am
It looks like it's because you have the code for the tail on there twice. Try this code instead:

Code: [Select]
material preset_11_bodyMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_11body.jpg
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11bodyglow.png
   }
  }
 }
}
material preset_11_bodyMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_11body.jpg
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11bodyglow.png
   }
  }
 }
}
material preset_11_headMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_11head.jpg
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11headglow.png
   }
  }
 }
}
material preset_11_headMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_11head.jpg
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11headglow.png
   }
  }
 }
}
material preset_11_eyeMatL
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   texture_unit
   {
    texture preset_11eye.jpg
   }
  }
 }
}
material preset_11_eyeMatR
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   texture_unit
   {
    texture preset_11eye.jpg
   }
  }
 }
}
material preset_11_tailMat
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_11tail.jpg
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11tailglow.png
   }
  }
 }
}
material preset_11_maneMat
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_11mane.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11maneglow.png
   }
  }
 }
}
material preset_11_equipMatL
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_11equip.jpg
                        }
                }
        }
}
material preset_11_equipMatR
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_11equip.jpg
                        }
                }
        }
}
Title: Re: EGH Problem with my beautiful preset ;-;
Post by: Vwang on June 16, 2016, 04:34:54 am
It looks like it's because you have the code for the tail on there twice. Try this code instead:

Code: [Select]
material preset_11_bodyMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_11body.jpg
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11bodyglow.png
   }
  }
 }
}
material preset_11_bodyMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_11body.jpg
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11bodyglow.png
   }
  }
 }
}
material preset_11_headMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_11head.jpg
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11headglow.png
   }
  }
 }
}
material preset_11_headMatR
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_11head.jpg
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11headglow.png
   }
  }
 }
}
material preset_11_eyeMatL
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   texture_unit
   {
    texture preset_11eye.jpg
   }
  }
 }
}
material preset_11_eyeMatR
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   texture_unit
   {
    texture preset_11eye.jpg
   }
  }
 }
}
material preset_11_tailMat
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5 1.0
   texture_unit
   {
    texture preset_11tail.jpg
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11tailglow.png
   }
  }
 }
}
material preset_11_maneMat
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_11mane.png
   }
  }
  pass
  {
   emissive 1.0 1.0 1.0 1.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_11maneglow.png
   }
  }
 }
}
material preset_11_equipMatL
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_11equip.jpg
                        }
                }
        }
}
material preset_11_equipMatR
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_11equip.jpg
                        }
                }
        }
}
Oh! Good job.. eh.. is it just me or am I too blind to read codes o.o
Title: Re: EGH Problem with my beautiful preset ;-;
Post by: greenart6 on June 16, 2016, 04:43:12 am
Don't worry, everyone makes little mistakes c: I've made plenty of code errors when it comes to presets myself xD But glad I could help!