YesNoOk
avatar

Weird AIR (Read 1058 times)

Started by YugaCurry, March 28, 2024, 08:04:25 pm
Share this topic:
Weird AIR
#1  March 28, 2024, 08:04:25 pm
  • ****
  • The other Indian
    • India
This pertains to Varo Hades' Superman.

His heat vision codes look like this (For Light version)

;LP Laser Vision
[Begin Action 1005]
1011,0, 0,0, 0,, A
-6359,24, 60,-90, 2,, A
Clsn1: 2
  Clsn1[0] = 18, -110, 385, -79
  Clsn1[1] = 354, -85, 354, -80
-6359,21, 72,-78, 2,, A
-1,0, 0,0, 1,, A
Clsn1: 3
  Clsn1[0] = 18, -107, 533, -79
  Clsn1[1] = 381, -111, 383, -82
  Clsn1[2] = 236, -1, 236, -1
-6359,21, 72,-78, 2,, A
-1,0, 0,0, 1,, A
-6359,22, 100,-90, 2,, A
-1,0, 0,0, 1,, A
-6359,24, 150,-90, 2,, A
-6359,27, 180,-90, 2,, A
-6359,27, 210,-90, 3,, A

I cannot for the life of me find any sprite numbered 6359 and the - symbol is confusing as hell. What's weirder is that the actual sprite used for laser vision is group 59177 but that doesn't even show up in the AIR file or any other file and yet the sprite shows up fine in mugen so I'm totally lost as to how a sprite that hasn't been coded, get called out by the engine.

What's strange is that when i save the sff as 1.1(SFFv2) or even 1.0 the laser vision sprite won't show up. It only shows up in the beta sff pre 1.0 version
Re: Weird AIR
#2  March 28, 2024, 08:53:59 pm
  • ****
    • crepa.neocities.org

  • Online
If you're using fighter factory, it freaks out when a sprite group and/or index is too high, like 30.000+ (at least in FF3, not sure about recent versions).

But aside from this, the code sure looks weird. These negative values in sprite group make no sense.

What exactly are you trying to do? Or are you just curious about the weirdness of it? ;P
Re: Weird AIR
#3  March 28, 2024, 10:01:49 pm
  • ******
65536-6359=59177

that's the number you're trying to find.

Fighter Factory acts up when trying to display sprites with a number higher than half of 65536.
Re: Weird AIR
#4  March 29, 2024, 06:23:36 am
  • ****
  • The other Indian
    • India
If you're using fighter factory, it freaks out when a sprite group and/or index is too high, like 30.000+ (at least in FF3, not sure about recent versions).

But aside from this, the code sure looks weird. These negative values in sprite group make no sense.

What exactly are you trying to do? Or are you just curious about the weirdness of it? ;P

I use custom ports so I need to switch the sff to the 32 bit version but doing that makes the sprites 'invisible' so to speak. Do you think renumbering the questionable set of sprites to a lower number where FF3 wont spaz out will work?

65536-6359=59177

that's the number you're trying to find.

Fighter Factory acts up when trying to display sprites with a number higher than half of 65536.

What if I change the group to a number lower than half of 65536?
Re: Weird AIR
#5  March 29, 2024, 02:44:13 pm
  • ****
    • crepa.neocities.org

  • Online
Ah, I see.
Lowering the number can work, but I'm not sure.
Another thing you can do is check the "version" in the character's .def, and change it to 1.1 if it's not already.
Re: Weird AIR
#6  March 29, 2024, 03:04:51 pm
  • ****
  • The other Indian
    • India
Ah, I see.
Lowering the number can work, but I'm not sure.
Another thing you can do is check the "version" in the character's .def, and change it to 1.1 if it's not already.

Lowering the numbers did work. Guess you learn something new everyday. Thanks guys.