SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > SRB2 Forum Archives > Bug Reports (2.1.X) > Bug Report Cleanup

 
 
Thread Tools Search this Thread
Old 05-23-2015   #1
"Lat'"
Stop it
 
"Lat'"'s Avatar
Default SOCs don't read lowercases.

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.
__________________
Quote:
Originally Posted by Bronydude2k5 View Post
If you make me a Sash Lilac wad, I'll make you a sonic sprite hack of any choice.

Last edited by Monster Iestyn; 06-16-2015 at 09:09 PM.
"Lat'" is offline  
Old 05-23-2015   #2
toaster
トースタちゃん
 
toaster's Avatar
Default

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.
__________________
Quote:
<fickle> giant robo-hood that rips the map apart with her bare hands
shameless plug: please check out my sonic mania lego ideas project, it could become a real thing if yalls support it
toaster is offline  
Old 05-23-2015   #3
MascaraSnake
aka SpiritCrusher
Moderator
 
MascaraSnake's Avatar
Default

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.
MascaraSnake is offline  
Old 06-16-2015   #4
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

https://mb.srb2.org/showthread.php?t=38729

Ah right, we HAVE had this specific issue mentioned before.
__________________
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".
Monster Iestyn is online now  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:03 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.