SOCs don't read lowercases.

Status
Not open for further replies.

Lat'

Absolute territory where
Kart Krew™️
The title might be badly explained.
For instance, if I use this:

Code:
FRAME S_PLAY_DROWN1
SPRITENUMBER = PLAY
SPRITEFRAME = n
DURATION = 17
NEXT = S_PLAY_DROWN2
ACTION None

The game reads the SPRITEFRAME value with an uppercase "N" instead of the lowercase one.

I know this can easly be fixed by using a number instead of the letter (here it's 45) or by using Lua (I think), but this could be useful for modders that don't really know this to fix that.
 
Last edited by a moderator:
SOC assumes and relies on uppercase. Every impression I have gotten is that this is either unfixable or too complicated to fix that it might as well be without a total rewrite of SOC parsing.

You can't do this in Lua either, unfortunately- but only because sprite frame letters aren't properly recognised as the constants they should be in the first place. I'd kill for constants like frame_A and frame_a, but what are ya gonna do.
 
Allowing case-sensitivity for a specific field is easy enough and is in fact already done for certain SOC fields. I don't know if that suffices in this case though, since there are also special characters to be considered.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top