Feral Heart

Help & Guidance => Game Help => Topic started by: Vwang on May 19, 2016, 03:01:01 am

Title: Solved Please lock.
Post by: Vwang on May 19, 2016, 03:01:01 am
So I made a good preset but it's wings wont show neither the mane or the tail and I checked it about 10 times that they matched and I don't put pictures anymore because Tinypic is showing me weird ads after I upload my pictures (gore, sexual things, etc)
So is there a solution on this?
Code:
material preset_3_tailMat
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5 1.0
         texture_unit
         {
            texture preset_3tail.jpg
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3tailglow.png
         }
      }
   }
}
material preset_3_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_3mane.png
                        }
                }
        }
}
aterial preset_3_equipMatL
{
 technique
 {
  pass
  {
                        cull_hardware none
                        cull_software none
   texture_unit
   {
    texture preset_3equip.png
   }
  }
 }
}
material preset_3_equipMatR
{
 technique
 {
  pass
  {
                        cull_hardware none
                        cull_software none
   texture_unit
   {
    texture preset_3equip.png
   }
  }
 }
}
Title: Re: ;-; Preset problem (I need a respond fast!)
Post by: Hakumi on May 19, 2016, 03:08:38 am
For starters, change your tail to a PNG file.
Make sure that when you go and save, you're naming the files the same thing.
And I don't think you need the 'cull_hardware / software' on the wings either so take those lines out as well.
Title: Re: ;-; Preset problem (I need a respond fast!)
Post by: Vwang on May 19, 2016, 03:16:06 am
For starters, change your tail to a PNG file.
Make sure that when you go and save, you're naming the files the same thing.
And I don't think you need the 'cull_hardware / software' on the wings either so take those lines out as well.
I tried that but Instead It confused the preset maker so it's still white ;-;
Title: Re: ;-; Preset problem (I need a respond fast!)
Post by: Hakumi on May 19, 2016, 03:17:18 am
Putting up a code shortly.
I'll do it based off of yours and you just copy and paste c:

EDIT

Code: [Select]
material preset_3_tailMat
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5 1.0
         texture_unit
         {
            texture preset_3tail.png
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3tailglow.png
         }
      }
   }
}
material preset_3_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_3mane.png
                        }
                }
        }
}
material preset_3_equipMatL
{
technique
{
pass
{
texture_unit
{
texture preset_3equip.jpg
}
}
}
}
material preset_3_equipMatR
{
technique
{
pass
{
texture_unit
{
texture preset_3equip.jpg
}
}
}
}

I also noticed that the word 'material' got chopped off there so I don't know if that was intentional or....?

But when you put this in, make sure that you go back into the files and change it to either / png if it isn't or jpg and if you have any further concerns you can shoot me a PM or a post here c:
Title: Re: ;-; Preset problem (I need a respond fast!)
Post by: Vwang on May 19, 2016, 04:22:28 am
Putting up a code shortly.
I'll do it based off of yours and you just copy and paste c:

EDIT

Code: [Select]
material preset_3_tailMat
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5 1.0
         texture_unit
         {
            texture preset_3tail.png
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3tailglow.png
         }
      }
   }
}
material preset_3_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_3mane.png
                        }
                }
        }
}
material preset_3_equipMatL
{
technique
{
pass
{
texture_unit
{
texture preset_3equip.jpg
}
}
}
}
material preset_3_equipMatR
{
technique
{
pass
{
texture_unit
{
texture preset_3equip.jpg
}
}
}
}

I also noticed that the word 'material' got chopped off there so I don't know if that was intentional or....?

But when you put this in, make sure that you go back into the files and change it to either / png if it isn't or jpg and if you have any further concerns you can shoot me a PM or a post here c:
EEEEEEEEEEEH It wont work Nothing will work I tried everything but then one eye is yellow (from my old preset_3eye)
Title: Re: ;-; Preset problem (I need a respond fast!)
Post by: Hakumi on May 19, 2016, 04:26:09 am
I know you said you dont upload pictures anymore but is there a way I can see the visual?
Also, I dont see how this is giving you issues. What program are you using?
Title: Re: ;-; Preset problem (I need a respond fast!)
Post by: Ruby1234 on May 19, 2016, 12:28:42 pm
Errors from other parts of the code can be effecting the results. Could you please post your whole code?
Title: Re: ;-; Preset problem (I need a respond fast!)
Post by: Vwang on May 19, 2016, 10:22:43 pm
Errors from other parts of the code can be effecting the results. Could you please post your whole code?
Alright here is the code
material preset_3_bodyMatL
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5 1.0
         texture_unit
         {
            texture preset_3body.jpg
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3bodyglow.png
         }
      }
   }
}
material preset_3_bodyMatR
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5 1.0
         texture_unit
         {
            texture preset_3body.jpg
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3bodyglow.png
         }
      }
   }
}
material preset_3_headMatL
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5 1.0
         texture_unit
         {
            texture preset_3head.jpg
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3headglow.png
         }
      }
   }
}
material preset_3_headMatR
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5 1.0
         texture_unit
         {
            texture preset_3head.jpg
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3headglow.png
         }
      }
   }
}
material preset_3_eyeMatL
{
material preset_3_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eye.jpg
         }
      }
   }
}
material preset_3_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eye.jpg
         }
      }
   }
}
         ambient 0.5 0.5 0.5 1.0
         texture_unit
         {
            texture preset_3tail.png
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3tailglow.png
         }
      }
   }
}
material preset_3_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_3mane.png
                        }
                }
        }
}
material preset_3_equipMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_3equip.jpg
   }
  }
 }
}
material preset_3_equipMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_3equip.jpg
   }
  }
 }
Title: Re: ;-; Preset problem (I need a respond fast!)
Post by: Vwang on May 19, 2016, 10:23:13 pm
I know you said you dont upload pictures anymore but is there a way I can see the visual?
Also, I dont see how this is giving you issues. What program are you using?
I use Gimp2
Title: Re: ;-; Preset problem (I need a respond fast!)
Post by: Vwang on May 19, 2016, 10:31:06 pm
I know you said you dont upload pictures anymore but is there a way I can see the visual?
Also, I dont see how this is giving you issues. What program are you using?
Ok Ima try  to upload the visual
But I will have to close the window as soon as i finally upload my pic and copy it to my clipboard

Finished upload
(http://i65BannedImageSite/260fyma.png)
Rage face was shown to show my half teeth white and one eye white also The Mane got fixed today so
Title: Re: ;-; Preset problem (I need a respond fast!)
Post by: Hakumi on May 19, 2016, 10:31:23 pm
Try changing the files into a .png where you have them as .jpg except for the wings.
When you make the changes, make sure you're saving the files as a .png as well in Gimp before testing it out.
Title: Re: ;-; Preset problem (I need a respond fast!)
Post by: Ruby1234 on May 20, 2016, 03:49:23 am
It doesn't matter if the base images are .jpgs, just as long as the glowing markings layers are .pngs.

The problem is that your code is a mess. You've got random brackets either added in or missing, and parts of the code are entirely missing or starting inside other sections of code. Each section has a heading, followed by a number of opening brackets { and the SAME number of closing brackets }. I'm not sure how you ended up with something like this... but here's some of the issues:

material preset_3_bodyMatL
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5 1.0
         texture_unit
         {
            texture preset_3body.jpg
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3bodyglow.png
         }
      }
   }
}
material preset_3_bodyMatR
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5 1.0
         texture_unit
         {
            texture preset_3body.jpg
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3bodyglow.png
         }
      }
   }
}
material preset_3_headMatL
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5 1.0
         texture_unit
         {
            texture preset_3head.jpg
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3headglow.png
         }
      }
   }
}
material preset_3_headMatR
{
   technique
   {
      pass
      {
         ambient 0.5 0.5 0.5 1.0
         texture_unit
         {
            texture preset_3head.jpg
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3headglow.png
         }
      }
   }
}
material preset_3_eyeMatL    -> extra line and bracket???
{
material preset_3_eyeMatL
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eye.jpg
         }
      }
   }
}
material preset_3_eyeMatR
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture preset_3eye.jpg
         }
      }
   }
}
         ambient 0.5 0.5 0.5 1.0  -> starting in the middle of the tail section??? completely missing a header? "material preset_3_tailMat," etc.
         texture_unit
         {
            texture preset_3tail.png
         }
      }
      pass
      {
         emissive 1.0 1.0 1.0 1.0
         scene_blend alpha_blend
         texture_unit
         {
            texture preset_3tailglow.png
         }
      }
   }
}
material preset_3_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_3mane.png
                        }
                }
        }
}
material preset_3_equipMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_3equip.jpg
   }
  }
 }
}
material preset_3_equipMatR
{
 technique
 {
  pass
  {
   texture_unit
   {   -> four opening brackets. good.
    texture preset_3equip.jpg
   }
  }
 } ->   only three closing brackets. not good.

Here's a fresh code, just replace your entire coding with this:
Code: [Select]
material preset_3_bodyMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1.0
texture_unit
{
texture preset_3body.jpg
}
}
pass
{
emissive 1.0 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_3bodyglow.png
}
}
}
}
material preset_3_bodyMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1.0
texture_unit
{
texture preset_3body.jpg
}
}
pass
{
emissive 1.0 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_3bodyglow.png
}
}
}
}
material preset_3_headMatL
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1.0
texture_unit
{
texture preset_3head.jpg
}
}
pass
{
emissive 1.0 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_3headglow.png
}
}
}
}
material preset_3_headMatR
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1.0
texture_unit
{
texture preset_3head.jpg
}
}
pass
{
emissive 1.0 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_3headglow.png
}
}
}
}
material preset_3_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_3eye.jpg
}
}
}
}
material preset_3_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_3eye.jpg
}
}
}
}
material preset_3_tailMat
{
technique
{
pass
{
ambient 0.5 0.5 0.5 1.0
texture_unit
{
texture preset_3tail.png
}
}
pass
{
emissive 1.0 1.0 1.0 1.0
scene_blend alpha_blend
texture_unit
{
texture preset_3tailglow.png
}
}
}
}
material preset_3_maneMat
{
technique
{
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture preset_3mane.png
}
}
}
}
material preset_3_equipMatL
{
technique
{
pass
{
texture_unit
{
texture preset_3equip.jpg
}
}
}
}
material preset_3_equipMatR
{
technique
{
pass
{
texture_unit
{
texture preset_3equip.jpg
}
}
}
}