SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Lua

Reply
 
Thread Tools
Encore Mode Details »»
Encore Mode
Version: 1.2, by FuriousFox (AKA FuriousFox) FuriousFox is offline
Developer Last Online: Dec 2018

Category: Version: SRB2 Rating:
Released: 07-20-2018 Last Update: Never Installs: 1
Scripts Re-Useable Content

Inspired by Sonic Mania Plus, this Lua script allows you to swap between two active characters (one controlled by a bot or player 2), as well as keep other characters in reserve. Get extra characters by popping 1UP monitors; you can get any character that you have loaded. If you die, you'll automatically switch to your partner character and receive a new partner from your reserves.
  • Be sure to start the game as Sonic & Tails, or else you won't have a bot that you can swap with.
  • Swap character with the "Toss Flag" button.
  • Any power-ups you have will swap to the new character.
  • You cannot swap if your follower is dead or missing. You also cannot swap while super.
  • When you die, you will have a 3 second grace period where you cannot take damage. If you die again within this grace period, you will be taken back to the last starpost, but you will not lose your current character. This is so you don't lose 2 lives every time you get crushed or fall in a pit.
  • When you run out of characters, it's game over. If you have any continues, you will restart from the beginning of the level with the last 2 characters that were living.

This script is intended solely for single-player mode. It likely will not work in any of the multi-player modes.

CHANGELOG:

v1.0
Initial Release

v1.1
Added SFX for switching characters
Fixed a problem that prevented the script from running at startup
Fixed a problem that caused dying characters to immediately disappear

v1.2
Added SFX for being unable to change characters
Added a shuffle monitor, which randomizes your party order
Shuffle monitors currently only appears in 1UP monitors when you have all characters
Fixed the player's skin immediately switching on death when unable to switch to your bot
Player flags now swap as well, which should fix several bugs people have noticed
Fixed a problem that caused Analog Mode to stop working after switching characters

Download Now

File Type: lua Encore.lua (9.6 KB, 845 views)

Screenshots

Click image for larger version

Name:	srb20032.gif
Views:	546
Size:	3.66 MB
ID:	13257   Click image for larger version

Name:	srb20033.gif
Views:	482
Size:	3.36 MB
ID:	13258   Click image for larger version

Name:	srb20034.gif
Views:	479
Size:	7.99 MB
ID:	13259   Click image for larger version

Name:	srb20044.gif
Views:	416
Size:	1.32 MB
ID:	13260   Click image for larger version

Name:	srb20019.jpg
Views:	491
Size:	132.8 KB
ID:	13261  

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 07-22-2018   #2
HellHawkX
Judge
 
HellHawkX's Avatar
Default

Welcome to releases!
__________________
Quote:
<RedEnchilada> splatoon cut off my dick
Quote:
<RoyKirbs> I'm currently causing child abuse.
HellHawkX is offline   Reply With Quote
Old 07-29-2018   #3
Chops
 
Chops's Avatar
Default Complains

Here are 2 minor flaws I would point out.

1: The CPU and the Player have different ring counts, but the HUD only shows the combined ring count, leading to at times unfair deaths because your CPU has all the rings

2: if you switch the character while having the shield, it becomes invisible, even if you switch back, granted you can see the shield if you go First Person but it can be easy to forget that you have on

Otherwise, fantastic stuff!

Edit: This might be I have the "Plus.wad" enabled but i'm not sure
__________________
Oh no, I cant die now no before I play-
dweebus the video game

Last edited by Chops; 07-29-2018 at 01:51 AM.
Chops is offline   Reply With Quote
Old 07-29-2018   #4
FuriousFox
AKA FuriousFox
Developer
 
FuriousFox's Avatar
Default

I can't test those two right now, but I'm almost certain that the shield stuff was fixed before I released. If you have other scripts such as plus.wad loaded, that could be causing interference.

EDIT: Yeah, I just checked. I'm not able to recreate either of those problems.

Last edited by FuriousFox; 07-29-2018 at 06:31 PM.
FuriousFox is offline   Reply With Quote
Old 07-29-2018   #5
Chops
 
Chops's Avatar
Default

Thanks! also i'm not curtain this even works for me, because having the script alone doesn't work (without plus.wad)
__________________
Oh no, I cant die now no before I play-
dweebus the video game
Chops is offline   Reply With Quote
Old 07-29-2018   #6
FuriousFox
AKA FuriousFox
Developer
 
FuriousFox's Avatar
Default

What files are you loading when you play?

If you can, open log.txt, then copy and paste it into pastebin.com. Then give me the link to it.
FuriousFox is offline   Reply With Quote
Old 07-29-2018   #7
Chops
 
Chops's Avatar
Default

Quote:
Originally Posted by FuriousFox View Post
What files are you loading when you play?

If you can, open log.txt, then copy and paste it into pastebin.com. Then give me the link to it.
https://pastebin.com/Kb8G1y76
__________________
Oh no, I cant die now no before I play-
dweebus the video game
Chops is offline   Reply With Quote
Old 07-29-2018   #8
FuriousFox
AKA FuriousFox
Developer
 
FuriousFox's Avatar
Default

Okay, I think I see the problem. Since you're loading the addons at start-up, I guess the skins list hasn't been created yet, so it throws an error in my script when I try to set some things up. This is something I'll need to fix, but in the meantime just use the in-game console to load the script after the game has started.
FuriousFox is offline   Reply With Quote
Old 07-29-2018   #9
Chops
 
Chops's Avatar
Default

Ok got it, Thanks!

just saying you might want to edit the front page to say that
__________________
Oh no, I cant die now no before I play-
dweebus the video game

Last edited by Chops; 07-29-2018 at 11:45 PM.
Chops is offline   Reply With Quote
Old 07-31-2018   #10
FuriousFox
AKA FuriousFox
Developer
 
FuriousFox's Avatar
Default

I've uploaded a new version that should work when loaded from a launcher or command line now. This new version also adds a sound effect when switching characters, and makes it so that the dying character actually goes through their death animation instead of just disappearing.

There's still a few other things I need to fix, but I'll have to get to them later.
FuriousFox is offline   Reply With Quote
Old 08-01-2018   #11
FuriousFox
AKA FuriousFox
Developer
 
FuriousFox's Avatar
Default

I just uploaded another version.

Added SFX for being unable to change characters
Added a shuffle monitor, which randomizes your party order
Shuffle monitors currently only appear in 1UP monitors when you have all characters
Fixed the player's skin immediately switching on death when unable to switch to your bot
Player flags now swap as well, which should fix several bugs people have noticed
Fixed a problem that caused Analog Mode to stop working after switching characters

Last edited by FuriousFox; 08-01-2018 at 03:34 AM.
FuriousFox is offline   Reply With Quote
Old 08-04-2018   #12
Biielz
Srb2 nick: Lolour
 
Biielz's Avatar
Default

Well, all new encore mod to srb2? people knew that this would be a wad, but amazing one

Spoiler:
Im only getting a girlfriend when srb2.2 gets released...
bye relationships
__________________
If someone make Waluigi for srb2kart i will cry.
Biielz is offline   Reply With Quote
Old 08-09-2018   #13
Katmint
 
Katmint's Avatar
Default

I messed around with this a bit and found two bugs.

Firstly, going to a special stage changes your companion to Tails in the next level, regardless of which character it was before. The character HUD does not update to reflect this.

Secondly, swapping characters while moving very slowly causes your new character to slide around instead of walking.

Both of these bugs are demonstrated in the attached gif.
Attached Thumbnails
Click image for larger version

Name:	srb20002.gif
Views:	122
Size:	5.48 MB
ID:	13374  

Last edited by Katmint; 08-09-2018 at 04:47 AM.
Katmint is offline   Reply With Quote
Reply

Thread Tools

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 07:30 AM.


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