Feral Heart

Help & Guidance => Game Help => Topic started by: Oddonelynx on February 26, 2022, 07:40:04 pm

Title: Preset Eye Code Not Working...
Post by: Oddonelynx on February 26, 2022, 07:40:04 pm
Code: [Select]
material preset_8_eyeMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
lighting on
scene_blend alpha_blend
specular 0.5 0.5 0.5 1 128
cull_hardware none
cull_software none

texture_unit
{
texture testball.png
}
}
pass
{
alpha_rejection greater_equal 128
lighting on
scene_blend alpha_blend
texture_unit
{
env_map spherical
texture hor.png
}
}
}
I can't seem to find what's wrong. Whenever I check in game, the eyes are completely white.
Title: Re: Preset Eye Code Not Working...
Post by: Saboomba on February 26, 2022, 09:45:16 pm
For one thing, it looks like you don't have the right amount of end brackets. I entered your code into my own file, and it whited out both eyes and the tail. Adding more brackets fixed the right eye and tail, but I'm still experimenting with how to correct the left eye. I'll let you know if I find anything, but I suspect it's still an issue with the brackets.

Edit: My issue was mis-numbering my own coding. I fixed it. You just need to add one more bracket after each each file name (texture testball.png and texture hor.png)
Title: Re: Preset Eye Code Not Working...
Post by: Oddonelynx on February 26, 2022, 11:31:07 pm
For one thing, it looks like you don't have the right amount of end brackets. I entered your code into my own file, and it whited out both eyes and the tail. Adding more brackets fixed the right eye and tail, but I'm still experimenting with how to correct the left eye. I'll let you know if I find anything, but I suspect it's still an issue with the brackets.

Edit: My issue was mis-numbering my own coding. I fixed it. You just need to add one more bracket after each each file name (texture testball.png and texture hor.png)
Nice. That worked! =)
Title: Re: Preset Eye Code Not Working...
Post by: Oddonelynx on October 09, 2022, 04:49:27 am
Bump, the problem is back and I can't seem to get the code to work anymore...
Title: Re: Preset Eye Code Not Working...
Post by: Saboomba on October 09, 2022, 05:13:15 am
send code again?
Title: Re: Preset Eye Code Not Working...
Post by: Oddonelynx on October 09, 2022, 04:42:36 pm
send code again?
The preset number was wrong, that's what broke it. [This post can be locked now.]
Title: Re: Preset Eye Code Not Working...
Post by: LadySigyn on October 10, 2022, 08:03:12 am
Glad to see it's been fixed. I'll be locking this now!