Author Topic: Preset Eye Code Not Working...  (Read 1437 times)

Offline Oddonelynx

  • Tuesday is applesauce day, but I am also a Jovial Bobcat!(Not lynx)
  • Community Champion
  • ****
  • Posts: 1,944
  • Country: us
  • Floof-O-Meter: 110
  • Hyenas deserve less hate.
    • BOTOFan
    • channel/UC5lDa5s7GLRWQHoH70ne34Q
    • View Profile
Preset Eye Code Not Working...
« 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.

Art by QuietMacaroni

Offline Saboomba

  • Experienced Traveler
  • **
  • Posts: 107
  • Country: us
  • Floof-O-Meter: 12
    • Saboomba
    • View Profile
Re: Preset Eye Code Not Working...
« Reply #1 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)
« Last Edit: February 26, 2022, 09:50:05 pm by Saboomba »

Offline Oddonelynx

  • Tuesday is applesauce day, but I am also a Jovial Bobcat!(Not lynx)
  • Community Champion
  • ****
  • Posts: 1,944
  • Country: us
  • Floof-O-Meter: 110
  • Hyenas deserve less hate.
    • BOTOFan
    • channel/UC5lDa5s7GLRWQHoH70ne34Q
    • View Profile
Re: Preset Eye Code Not Working...
« Reply #2 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! =)

Art by QuietMacaroni

Offline Oddonelynx

  • Tuesday is applesauce day, but I am also a Jovial Bobcat!(Not lynx)
  • Community Champion
  • ****
  • Posts: 1,944
  • Country: us
  • Floof-O-Meter: 110
  • Hyenas deserve less hate.
    • BOTOFan
    • channel/UC5lDa5s7GLRWQHoH70ne34Q
    • View Profile
Re: Preset Eye Code Not Working...
« Reply #3 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...

Art by QuietMacaroni

Offline Saboomba

  • Experienced Traveler
  • **
  • Posts: 107
  • Country: us
  • Floof-O-Meter: 12
    • Saboomba
    • View Profile
Re: Preset Eye Code Not Working...
« Reply #4 on: October 09, 2022, 05:13:15 am »
send code again?

Offline Oddonelynx

  • Tuesday is applesauce day, but I am also a Jovial Bobcat!(Not lynx)
  • Community Champion
  • ****
  • Posts: 1,944
  • Country: us
  • Floof-O-Meter: 110
  • Hyenas deserve less hate.
    • BOTOFan
    • channel/UC5lDa5s7GLRWQHoH70ne34Q
    • View Profile
Re: Preset Eye Code Not Working...
« Reply #5 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.]

Art by QuietMacaroni

Offline LadySigyn

  • Let me guess... someone stole your sweetroll?
  • Moderator
  • Community Champion
  • *****
  • Posts: 2,193
  • Country: au
  • Floof-O-Meter: 105
    • View Profile
Re: Preset Eye Code Not Working...
« Reply #6 on: October 10, 2022, 08:03:12 am »
Glad to see it's been fixed. I'll be locking this now!