SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Editing > Editing Help

Reply
 
Thread Tools Search this Thread
Old 1 Week Ago   #1
Shadowater
Default Questions on the TAL sprites and on functions for projectiles

For the TAL sprites, there are so many and with them all having such similar names, it leaves me a bit braindead checking them. Exactly what is necessary for it, and which TAL names correspond with each kind? I know TAL0 corresponds with standing and waiting, and TAL6 with running, but otherwise not sure (244 sprites is a lot to go through)

For the projectiles, I'm more wondering if there is something obvious I'm missing in the action, mf flags, or some other line to make it able to break FF_KNUX objects? I'm fine with learning how to make a custom action for it if need be, but would rather go with built in functions wherever possible


(Also I suppose a third question: Is it allowed to make a thread for the mod in Editing and ask the questions there? I'm a little confused as it seems to make Editing Help pointless, yet I see threads dedicated outright to just a specific question there? I'm sure me condensing all these questions into one place would be appreciated XD)
__________________
Wow my account was edgy. Working on a revamp of my old Tails Doll mod
Shadowater is offline   Reply With Quote
Old 1 Week Ago   #2
Zwip-Zwap Zapony
 
Zwip-Zwap Zapony's Avatar
Default

For the TAL0-TALB sprites, while the sprite names can only be 4 characters long, the state names that use the sprites can be longer, containing more information about their context.

Here's a list of what the TAL0-TALB sprites are for, based on the state names:
Spoiler:
TAL0: Standing still
TAL1: Miscellaneous (including walking, jumping, rolling, swimming, falling, et cetera), with the tails 0 degrees up/down
TAL2: Miscellaneous, with the tails 30 degrees up (which is when the player is moving forwards and downwards)
TAL3: Miscellaneous, with the tails 60 degrees up (which is when the player is moving mostly downwards)
TAL4: Miscellaneous, with the tails 30 degrees down (which is when the player is moving forwards and upwards)
TAL5: Miscellaneous, with the tails 60 degrees down (which is when the player is moving mostly upwards)
TAL6: Running
TAL7: Flying outside water
TAL8: Tired/Worn-out flying outside water
TAL9: Taking damage
TALA: Gasping for air, on contact with an air bubble underwater
TALB: Teetering/Balancing on the edge of a platform

Source: https://git.do.srb2.org/STJr/SRB2/bl...nfo.c#L791-803
Also note that you don't need to have all of these sprites (though I would recommend it if you feel like making them). If you don't have TAL5 sprites, it'll use TAL4 sprites in its place, and if you don't have TAL4 sprites, it'll use TAL1 sprites in its place, et cetera.
Zwip-Zwap Zapony is offline   Reply With Quote
Old 1 Week Ago   #3
Shadowater
Default

Thank you so much! This also answers for me what those states each match up to on the wiki (Maybe I should go add those descriptions to the wiki since the state names were... Not exactly helpful for the angle ones)

Now just to figure out why Gunslinger and this don't work well together


EDIT: This also answers some questions on how to make a custom followitem. Still not sure all the how, but that base code is easier to follow than the wiki XD
__________________
Wow my account was edgy. Working on a revamp of my old Tails Doll mod

Last edited by Shadowater; 1 Week Ago at 05:59 PM. Reason: Adding something I forgot to say
Shadowater is offline   Reply With Quote
Reply

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 12:31 PM.


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