Random SPB

Random SPB 1

Callmore

Member
Callmore submitted a new resource:

Random SPB - Mod for allowing replacements for the default SPB.

Random SPBs
A mod for customising the SPB.
View attachment 53958
  • +4 card - Callmore#4947
  • Handsome - Chaobrother#1451
  • LETSF**KINGGOOOOOOOOOOOOOOOOO - HattyBoyo#1639
To add a custom SPB, use the lua function:
Lua:
rspb.addReplacement(string sprite_name, number[] list_of_frames...

Read more about this resource...
 
Mod doesnt seem to work properly, all spbs seem to be a green ball, and go off map instead of targeting 1st

It also seems to loop on its throw position
kart0001.gif
kart0002.gif
 
Mod doesnt seem to work properly, all spbs seem to be a green ball, and go off map instead of targeting 1st

It also seems to loop on its throw positionView attachment 56027View attachment 56028
I recently had this happen when I added Acrobatics and Random SPB in my server, and got a Lua warning from Acrobatics when it happened. I think Acrobatics and Random SPB conflict.
Acrobasics and Advance Tricks don't conflict with Random SPB though.
Edit: I've figured out a way to fix the conflict.
Have two states, each of which have the action A_SPBChase, then have the MT_SPB MobjThinker alternate the random SPB between the two states every tic instead of calling A_SPBChase directly in the MobjThinker.
Edit 2: Huh, it's actually an issue with SRB2 and SRB2 Kart https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1737
 
Last edited:

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

Back
Top