Feral Heart

Help & Guidance => Game Help => Topic started by: Brightful on March 07, 2016, 04:56:40 pm

Title: Mane for Preset Has Boxes
Post by: Brightful on March 07, 2016, 04:56:40 pm
i changed the size from 1024 to 512. im using the shade from fh>media>textures. i tried using .png and .jpg (changed the settings in the preset_7 notepad) i also tried to use a shade with teeth-like cuts at the bottom, but mane shows up as 2d instead of 3d. i tried all of these steps in different feralhearts (downloads) and the results were the same.

here's a picture to what it looks like with the normal shade:
(http://i65BannedImageSite/m7qcdt.png)

what it looks like with the sharp (teeth-like?) shade:
(http://i67BannedImageSite/28jekoy.png)

standing seems to work fine:
(http://i66BannedImageSite/e9gsvt.png)

what it looks like without a preset_#mane file:
(http://i68BannedImageSite/2a6o46v.png)

any help is appreciated
Title: Re: Mane for Preset Has Boxes
Post by: Enoki on March 07, 2016, 05:30:01 pm
It seems to be either a coding issue or an issue with the mane image y'er using f'er y'er preset.

Did ye cut out the triangles at the bottom of the mane texture? 'Twill 'ave to be .png so the triangles ye cut out will show as transparent. That's how ye get the spikey texture that runs down the back and front of the neck when using a full mane.

Also, if that is all in order, mind posting the coding y'er using f'er the mane? The coding has to be in a certain fashion in order f'er the mane to show up properly.
Title: Re: Mane for Preset Has Boxes
Post by: Brightful on March 07, 2016, 05:45:54 pm
i forgot about that! i'm using the preset mane fix code. i did try it with the original and it still shows up the same, just with the weird transparent-like model

Code: [Select]
material preset_7_maneMat
{
        technique
        {
                pass
                {
                        cull_hardware none
                        cull_software none
                        alpha_rejection greater_equal 128
                        texture_unit
                        {
                                texture preset_7mane.png
                        }
                }
        }
}
Title: Re: Mane for Preset Has Boxes
Post by: Likuu on March 07, 2016, 05:54:54 pm
The preset mane fix code will definitely help your issue, as well as if ye ever have it again I'd be sure to make the mane a .png

If not it'll come out like that.
Title: Re: Mane for Preset Has Boxes
Post by: Brightful on March 07, 2016, 06:15:28 pm
i am using the fix code, and it is a .png currently. did i misunderstand?
Title: Re: Mane for Preset Has Boxes
Post by: Likuu on March 07, 2016, 06:46:40 pm
Okay, I'm gonna try and fix it by doin' this.

Highlight everything in your MAT file, erase it and copy and paste the code I'm giving you into there. After, be sure to hit ctrl+H and it should look like this:
(https://i.gyazo.com/c58ce45dbb2685377a21a59f50333bb3.png)

Put your number where It says "YOUR NUMBER" Then hit "Replace All"

Make sure your files/images for all parts of the preset match the code, or change the .png/.jpg to match the images. If not, they will show up blank/white.

Code: [Select]
material preset_6_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_6body.jpg
}
}
}
}
material preset_6_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_6body.jpg
}
}
}
}
material preset_6_headMatL
{
technique
{
pass
{
texture_unit
{
texture preset_6head.jpg
}
}
}
}
material preset_6_headMatR
{
technique
{
pass
{
texture_unit
{
texture preset_6head.jpg
}
}
}
}
material preset_6_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_6eye.jpg
}
}
}
}
material preset_6_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_6eye.jpg
}
}
}
}
material preset_6_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_6tail.jpg
}
}
}
material preset_6_maneMat
{
 technique
 {
  pass
  {
   lighting off
   cull_hardware none
   cull_software none
   scene_blend alpha_blend
   depth_write off
   texture_unit
   {
    texture preset_6mane.png
   }
  }
 }
}
Title: Re: Mane for Preset Has Boxes
Post by: Shazadah on March 08, 2016, 12:25:47 am
Title: Re: Mane for Preset Has Boxes
Post by: Brightful on March 08, 2016, 01:01:11 am
i did the triangle cut outs, but it doesn't end up 3d

(https://i.gyazo.com/05c4e78702bb3cf1ce8a71181ac135ab.png)
Title: Re: Mane for Preset Has Boxes
Post by: Kerriki on March 08, 2016, 01:11:19 am
What do you mean by "3D"? Could you provide a screenshot from somewhere as an example of what you're trying to aim for?
Title: Re: Mane for Preset Has Boxes
Post by: Brightful on March 08, 2016, 01:35:29 am
oops! ignore me. i thought it was 3D, but it looks like it's always been that way. a bit unnatural with white on a darker color, i guess.

the fix naruwolf gave me works perfectly fine. thanks everyone!

edit: actually, there STILL is a problem. lines.

they are around the edges of the mane. i'd guess this is just awfully cut-out lines, but that doesn't seem to be the problem
Title: Re: Mane for Preset Has Boxes
Post by: Shazadah on March 08, 2016, 01:38:42 am
Yeah the mane is just weird that way :/, those box looking shapes always appear flat unlike the rest of the mane, but I think they are there just to give it a fur-like appearance, but nothing too important.

Glad we could help you tho :).


EDIT:
actually, there STILL is a problem. lines.

they are around the edges of the mane. i'd guess this is just awfully cut-out lines, but that doesn't seem to be the problem

That I believe would be due to the codes. The mane fix codes used give a sharp edge to something even when it's been softened or blurred. Allow me a minute or two to go dig up some codes that would work the same but give a soft edge look...

EDIT 2:
My bad, it would appear that the codes that soften edges only work for markings that appear to glow or scroll (they work best when they are against another texture), so it seems the mane fix codes are your best shot. Looking thru my presets again, I don't get strange lines on the manes when using the mane fix codes, not exactly sure why you would be, other than my only guess being that it still has something to do with the mane's image. I even tried the codes Likuu offered, they gave soft edges but they also defeat the purpose of the mane fix code and I'm assuming that's not what you want? A friend of mine did at one time find a way around this, and I think that was by blurring the edges on his mane's image, but I'm pretty sure he's lost the codes to that and I don't think he used the mane fix codes so you'll have to experiment with that. Or just erase the pointed parts of the mane altogether and be rid of them, the mane would look smooth afterwards and maybe a little weird but at least it takes away the problem right? If that's what you would like to do, I have the UV guide lines for the mane and can help coordinate what parts to erase.
Title: Re: Mane for Preset Has Boxes
Post by: Enoki on March 08, 2016, 05:03:17 am
Glad that we could solve one of the issues! As said above by Naru, a simple change of coding may due the trick.

It could also be the texture itself, as Naru has also mentioned. (I'm such a huge help, aren't I?) Certain colors might make that odd appearance y'er getting with y'er preset. I've had no troubles with the mane spikes b'fore, but I also use darker colors f'er the most part. Also, be sure that ye erased along the lines of the original mane texture. If ye cut not 'nuff off, the spikes may look differently than they should. If the spikes are erased in different spots, that could also cause some problems.