Feral Heart

Help & Guidance => Game Help => Topic started by: Arkham_Scout on September 19, 2019, 09:09:09 am

Title: Preset help? Please lock
Post by: Arkham_Scout on September 19, 2019, 09:09:09 am
My bf fixed the preset, please lock this ^^

I got a problem with a preset.

spoiler
(https://cdn.discordapp.com/attachments/403273342238457876/624165228816498688/screenshot_09192019_044853377.png)<< it looks like this

(https://cdn.discordapp.com/attachments/403273342238457876/624165348123475978/preset_2body.png)
body ^
(https://cdn.discordapp.com/attachments/403273342238457876/624165383531659275/preset_2head.png)
^head

(https://cdn.discordapp.com/attachments/403273342238457876/624165446622380032/preset_2tail.png)
^tail

(https://cdn.discordapp.com/attachments/403273342238457876/624165426955419648/preset_2scroll.png)
scroll

here's the code

Quote
material preset_2_bodyMatL
{
   technique
   {
      pass
      {
          scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2body.png
          }
          texture_unit
          {
            texture preset_2scroll.png           
             colour_op alpha_blend
          }
          texture_unit
          {
        texture preset_2scroll.png
        colour_op_ex blend_current_alpha src_texture src_current
 tex_address_mode wrap
 filtering trilinear
 scroll_anim 0.0 0.1       
         }
       }
    }
 }
material preset_2_bodyMatR
{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2body.png
          }
          texture_unit
          {
             texture preset_2scroll.png           
             colour_op alpha_blend
          }
          texture_unit
          {
        texture preset_2scroll.png
        colour_op_ex blend_current_alpha src_texture src_current
 tex_address_mode wrap
 filtering trilinear
 scroll_anim 0.0 0.1       
         }
       }
    }
 }
material preset_2_headMatL
{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2head.png
          }
          texture_unit
          {
             texture preset_2scroll.png           
             colour_op alpha_blend

          }
          texture_unit
          {
        texture preset_2scroll.png
        colour_op_ex blend_current_alpha src_texture src_current
 tex_address_mode wrap
 filtering trilinear
 scroll_anim 0.0 0.1       
          }
       }
    }
 }
material preset_2_headMatR
{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2head.png
          }
          texture_unit
          {
             texture preset_2scroll.png           
             colour_op alpha_blend

          }
          texture_unit
          {
        texture preset_2scroll.gif
        colour_op_ex blend_current_alpha src_texture src_current
 tex_address_mode wrap
 filtering trilinear
 scroll_anim 0.0 0.1
        }
       }
    }
 }
material preset_2_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_2eye.jpg
         }
      }
   }
}
material preset_2_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_2eye.jpg
         }
      }
   }
}
material preset_2_tailMat
{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2tail.png
          }
          texture_unit
          {
             texture preset_2scroll.png           
             colour_op alpha_blend

          }
          texture_unit
          {
        texture preset_2scroll.png
        colour_op_ex blend_current_alpha src_texture src_current
 tex_address_mode wrap
 filtering trilinear
 scroll_anim 0.0 0.1
        }
       }
    }
 }
material preset_2_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_2mane.png
                        }
                }
        }
}
Title: Re: Preset help?
Post by: Bloo. on September 19, 2019, 03:06:01 pm
I'm confused o;
Do you not want the stripes to be transparent or?
Title: Re: Preset help?
Post by: Arkham_Scout on September 19, 2019, 04:51:14 pm
I'm confused o;
Do you not want the stripes to be transparent or?
My boyfriend said to make the stripes transparent while the body is black Idk when wrong
Title: Re: Preset help?
Post by: Bloo. on September 19, 2019, 04:57:03 pm
So, black body and transparent stripes. Where did you want the galaxy scroll?
Title: Re: Preset help?
Post by: Arkham_Scout on September 19, 2019, 05:43:13 pm
So, black body and transparent stripes. Where did you want the galaxy scroll?
 in the stripes scrolling
Title: Re: Preset help?
Post by: Kuri on September 19, 2019, 09:07:02 pm
Oh i think i see.  If you wanted a black body & scrolling stripes under it you would need the scrolling texture first, as the first pass, then put the black over the top as a second pass.

{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2tail.png     
        }
       }
    }
 }
Title: Re: Preset help?
Post by: Arkham_Scout on September 20, 2019, 02:55:44 am
Oh i think i see.  If you wanted a black body & scrolling stripes under it you would need the scrolling texture first, as the first pass, then put the black over the top as a second pass.

{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2tail.png     
        }
       }
    }
 }

I'll see if it works
Title: Re: Preset help?
Post by: Arkham_Scout on September 20, 2019, 04:33:57 am
Oh i think i see.  If you wanted a black body & scrolling stripes under it you would need the scrolling texture first, as the first pass, then put the black over the top as a second pass.

{
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2tail.png     
        }
       }
    }
 }

I'll see if it works


it doesn't work

spoiler
(https://cdn.discordapp.com/attachments/403273342238457876/624472002941550593/screenshot_09202019_010824564.png)
Title: Re: Preset help?
Post by: FlyingGrass on September 20, 2019, 05:48:44 am
What does the code look like after Kuri's code was added?
Title: Re: Preset help?
Post by: Arkham_Scout on September 20, 2019, 06:19:21 am
What does the code look like after Kuri's code was added?

Here what it llooks like
Quote
material preset_2_bodyMatL
{
   {
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2body.png     
        }
       }
    }
 }
material preset_2_bodyMatR
{
    {
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2body.png     
        }
       }
    }
 }
material preset_2_headMatL
{
    {
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2head.png     
        }
       }
    }
 }
material preset_2_headMatR
{
    {
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2head.png     
        }
       }
    }
 }
material preset_2_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_2eye.jpg
         }
      }
   }
}
material preset_2_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_2eye.jpg
         }
      }
   }
}
material preset_2_tailMat
{
   {
   technique
   {
      pass
      {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            texture preset_2scroll.png
            scroll_anim 0.0 0.1
          }
       }
     pass
     {
         scene_blend alpha_blend
        alpha_rejection greater 128
          texture_unit
          {
            preset_2tail.png     
        }
       }
    }
 }
material preset_2_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_2mane.png
                        }
                }
        }
}
Title: Re: Preset help? Please lock
Post by: Arkham_Scout on September 20, 2019, 05:21:48 pm
My bf fixed the preset