SRB2 Message Board  

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

Reply
 
Thread Tools Search this Thread
Old 08-13-2020   #1
Ganbare-Lucifer
Proud Rapa-Nui Friends Fan
 
Ganbare-Lucifer's Avatar
Default CTR Masks for SRB2Kart [Help: disabling vanilla invincibility effects]

Hi.

All these days I've been trying to make SRB2 Kart mod where it replaces the vanilla invincibility with masks invincibility from Crash Team Racing series.

The only thing that bothers me is the lua coding, it's hard to do and this is what I have so far. Feedback? Any tips?


All Graphics I made:
  • Aku-Aku
  • Uka-Uka
  • Velo Mask
  • Ex Mask
  • Sparx
  • Apo-Apo
Attached Images
      
__________________
O
o

.

Last edited by Ganbare-Lucifer; 4 Days Ago at 01:35 AM.
Ganbare-Lucifer is offline   Reply With Quote
Old 08-14-2020   #2
Ganbare-Lucifer
Proud Rapa-Nui Friends Fan
 
Ganbare-Lucifer's Avatar
Default

New Edit: Tried to replicate the behavior of the Jawz rotation into mask movement, but it's incompatible.


Also tried to experiment with the Dynamic Music Sound Replace code.
__________________
O
o

.
Ganbare-Lucifer is offline   Reply With Quote
Old 08-15-2020   #3
Ganbare-Lucifer
Proud Rapa-Nui Friends Fan
 
Ganbare-Lucifer's Avatar
Default

New Edit: Cleaned some code and readied the mask mobjs


We're progressing slowly


Edit of the Edit: Tweaked few things, most exactly the freeslots.
__________________
O
o

.

Last edited by Ganbare-Lucifer; 08-15-2020 at 02:16 PM.
Ganbare-Lucifer is offline   Reply With Quote
Old 08-15-2020   #4
Ganbare-Lucifer
Proud Rapa-Nui Friends Fan
 
Ganbare-Lucifer's Avatar
Default

New Edit: The ThinkFrame vars have been remade with better coding, it now picks
Code:
local [alignment]skinlookup
__________________
O
o

.
Ganbare-Lucifer is offline   Reply With Quote
Old 2 Weeks Ago   #5
Ganbare-Lucifer
Proud Rapa-Nui Friends Fan
 
Ganbare-Lucifer's Avatar
Default

New Edit: For fuck sake, I remade the code from scratch, huge shoutout to @minenice for helping me a lot.





(The rainbow cycling palette and the sparkles will be removed eventually)
__________________
O
o

.
Ganbare-Lucifer is offline   Reply With Quote
Old 1 Week Ago   #6
Ganbare-Lucifer
Proud Rapa-Nui Friends Fan
 
Ganbare-Lucifer's Avatar
Default

New Edit: Tried to add the other morality variants, but couldn't figure to make them appear.
__________________
O
o

.
Ganbare-Lucifer is offline   Reply With Quote
Old 1 Week Ago   #7
ΩSmashCrafterΩ
*is trash at Splatoon 2*
 
ΩSmashCrafterΩ's Avatar
Default

May a make a small suggestion, or is that not allowed? I'm still a little un-educated to the rules.
ΩSmashCrafterΩ is offline   Reply With Quote
Old 1 Week Ago   #8
Ganbare-Lucifer
Proud Rapa-Nui Friends Fan
 
Ganbare-Lucifer's Avatar
Default

Quote:
Originally Posted by ΩSmashCrafterΩ View Post
May a make a small suggestion, or is that not allowed? I'm still a little un-educated to the rules.

Go ahead, I accept anything.
__________________
O
o

.
Ganbare-Lucifer is offline   Reply With Quote
Old 1 Week Ago   #9
Ganbare-Lucifer
Proud Rapa-Nui Friends Fan
 
Ganbare-Lucifer's Avatar
Default

New Edit: Fixed the other masks not spawning and added the hud icons to display in-game.
Edit of the Edit: Now mask themes play properly. Thanks once again to @minenice!
Edit of the Edit of the Edit: HUD icons now display properly, but not on splitscreen mode, however, this should be enough to be for a beta release.
__________________
O
o

.

Last edited by Ganbare-Lucifer; 1 Week Ago at 09:51 PM.
Ganbare-Lucifer is offline   Reply With Quote
Old 4 Days Ago   #10
Ganbare-Lucifer
Proud Rapa-Nui Friends Fan
 
Ganbare-Lucifer's Avatar
Default

Alright, now with a submitted beta, all I need is help disabling the vanilla invincibility visual effects, which are the palette cycling, sparkles and afterimages. For the update.

minenice suggested me this code to disable the afterimages, which I used but doesn't work at all (the print thingie is for debug purposes)
Code:
function A_GhostMe(actor, var1, var2)
  if actor.player and actor.player.CTRMask then
  print("CTRMask is working aaaaaaaaa" .. actor.player.CTRMask)
    return
  else
    super(actor, var1, var2)
  end
end
__________________
O
o

.
Ganbare-Lucifer 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:14 PM.


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