Feral Heart

Help & Guidance => Game Help => Topic started by: OreoHeroz on October 13, 2013, 06:58:22 pm

Title: Can't change color of preset eyes/mouth?
Post by: OreoHeroz on October 13, 2013, 06:58:22 pm
So I'm creating a preset as a request for someone, but for some reason, I can't change the color of the eyes and teeth. I could for my last preset, but for some reason, I can't do it for the requested one.

(http://i39BannedImageSite/3006z5z.png)

(http://i44BannedImageSite/2wno2ef.png)

(http://i39BannedImageSite/263kcqh.png)

For the mouth, I have already tried making it a different color, but it still is yellow and black (the regular looks if it is a preset and you add a mane or something)

(http://i40BannedImageSite/bij79x.png)

Any suggestions? Thanks!
Title: Re: Can't change color of preset eyes/mouth?
Post by: hugrf2 on October 13, 2013, 07:27:45 pm
Could be something wrong with the code in the eyes. Maybe try pasting it here and I could try and look through it, or you could try? That's my only suggestion...
Title: Re: Can't change color of preset eyes/mouth?
Post by: Whinp on October 13, 2013, 08:11:22 pm
Depending on the folder, make sure you named preset_eye# (# = the number of the folder - for example, if it's in preset_6, you should name it preset_eye6).
If it doesn't work check the coding. You may had messed it up causing the script to not work correctly.
Otherwise, you can move the preset's textures to another folder, rename them, and trying in-game.

Hope this helps! ;)
Title: Re: Can't change color of preset eyes/mouth?
Post by: OreoHeroz on October 13, 2013, 08:16:34 pm
Could be something wrong with the code in the eyes. Maybe try pasting it here and I could try and look through it, or you could try? That's my only suggestion...

Code: [Select]
material preset_4_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_4body.jpg
}
}
}
}
material preset_4_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_4body.jpg
}
}
}
}
material preset_4_headMatL
{
technique
{
pass
{
texture_unit
{
texture preset_4head.jpg
}
}
}
}
material preset_4_headMatR
{
technique
{
pass
{
texture_unit
{
texture preset_4head.jpg
}
}
}
}
material preset_4_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_4eye.jpg
}
}
}
}
material preset_4_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_4eye.jpg
}
}
}
}
material preset_4_tailMat
{
technique
{
pass
{
texture_unit
{
texture preset_4tail.jpg
}
}
}
}
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
}
}
}
}




Depending on the folder, make sure you named preset_eye# (# = the number of the folder - for example, if it's in preset_6, you should name it preset_eye6).
If it doesn't work check the coding. You may had messed it up causing the script to not work correctly.
Otherwise, you can move the preset's textures to another folder, rename them, and trying in-game.

Hope this helps! ;)

I name the folder: preset_4eyes

Would that work, since I have named my previous folder the same way?
Title: Re: Can't change color of preset eyes/mouth?
Post by: Whinp on October 13, 2013, 08:20:06 pm
Hmm... First, are you sure the eye's texture is JPG or PNG?
Title: Re: Can't change color of preset eyes/mouth?
Post by: hugrf2 on October 13, 2013, 08:31:24 pm
I'm brainless... maybe try switching it to .png then back to .jpg or keeping it .png? Also, try right clicking and clicking rename, copy both the eye texture's name and pasting it next to "texture" in the code?

Not sure, just a few suggestions that might help maybe, if you can try that. Also, Kijiako said something that is a suggested suggestion maybe, to me... o3o
Title: Re: Can't change color of preset eyes/mouth?
Post by: Whinp on October 13, 2013, 08:35:39 pm
Depending on the folder, make sure you named preset_eye# (# = the number of the folder - for example, if it's in preset_6, you should name it preset_eye6).
If it doesn't work check the coding. You may had messed it up causing the script to not work correctly.
Otherwise, you can move the preset's textures to another folder, rename them, and trying in-game.

Hope this helps! ;)

I name the folder: preset_4eyes

Would that work, since I have named my previous folder the same way?

What? it's not to name the folder, the name of the folder STILL is preset_4, but the texture EYE is preset_6eye. Sorry if I confused you in any way o.o
Title: Re: Can't change color of preset eyes/mouth?
Post by: OreoHeroz on October 13, 2013, 08:44:01 pm
Depending on the folder, make sure you named preset_eye# (# = the number of the folder - for example, if it's in preset_6, you should name it preset_eye6).
If it doesn't work check the coding. You may had messed it up causing the script to not work correctly.
Otherwise, you can move the preset's textures to another folder, rename them, and trying in-game.

Hope this helps! ;)

I name the folder: preset_4eyes

Would that work, since I have named my previous folder the same way?

What? it's not to name the folder, the name of the folder STILL is preset_4, but the texture EYE is preset_6eye. Sorry if I confused you in any way o.o

Oh sorry, I meant the file name. Not the folder. xD I name it: preset_4eyes.jpg
Title: Re: Can't change color of preset eyes/mouth?
Post by: Whinp on October 13, 2013, 08:46:04 pm
Umm... Houston, we have a big problem here. XP
Well have you tried to move to another folder the textures and rename it?
Title: Re: Can't change color of preset eyes/mouth?
Post by: OreoHeroz on October 13, 2013, 08:55:17 pm
I'll try that.

Edit: Still the same. Dx
Title: Re: Can't change color of preset eyes/mouth?
Post by: Ruby1234 on October 13, 2013, 10:18:32 pm
You say;
Code: [Select]
material preset_4_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_4eye.jpg
}
}
}
}
material preset_4_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_4eye.jpg
}
}
}
}
preset_4eye.jpg
And then,
I name it: preset_4eyes.jpg
preset_4eyes.jpg

Is this the problem? o:
Title: Re: Can't change color of preset eyes/mouth?
Post by: Birdi on October 13, 2013, 11:01:56 pm
I'm pretty sure your picture is a .png, so try changing the .jpg to .png?
Title: Re: Can't change color of preset eyes/mouth?
Post by: OreoHeroz on October 14, 2013, 01:02:34 am
You say;
Code: [Select]
material preset_4_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_4eye.jpg
}
}
}
}
material preset_4_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture preset_4eye.jpg
}
}
}
}
preset_4eye.jpg
And then,
I name it: preset_4eyes.jpg
preset_4eyes.jpg

Is this the problem? o:

=o Never realized that

I'm pretty sure your picture is a .png, so try changing the .jpg to .png?

No, it's a .jpg since when I save it there's always .xcf so I change it. I don't know if that will work but I will try.




Edit: =o I changed it to eyes and it worked. But the teeth are still a problem.