SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Kart Releases & Mods > Kart Miscellaneous

Reply
 
Thread Tools
Virus: Don't get infected! (Gamemode for Battle) Details »»
Virus: Don't get infected! (Gamemode for Battle)
Version: 2.0, by Ryason55 Ryason55 is offline
Developer Last Online: Aug 2020

Category: Version: SRB2 Kart Rating: (1 votes - 3.20 average)
Released: 10-26-2019 Last Update: 06-28-2020 Favourites: 1
Scripts Sprites/Graphics

In Virus, 1 to 2 players start out infected, and it's up to everyone else to avoid being infected for as long as possible. The infection is spread through direct contact, and the round ends when all players have been infected, with the winner being whoever has lasted the longest. This is primarily based off of the Virus gamemode from the Timesplitters series, with a lot of changes based off of the version I made for Serious Sam 3 and Fusion. The gamemode requires a minimum of 4 players by default (can be changed via "vir_minplayers"), though I'd recommend at least 6 if possible.

As well, Team Virus (new as of V2.0) is a team-based version of Virus where players are divided into teams, one player on each team starts out infected, and the goal is to infect every non-infected player on the opposite team. Infecting a player on the enemy team will cause them to be infected for their side, meaning they'll go after the non-infected players on *your* team. Requires at least 6 players by default, though I would recommend 8 or more. By default, Team Virus has a 50% chance of happening instead of regular Virus when there's an even number of players on map load.




(V1.1 gameplay)

Spoiler: Gameplay notes
-If there's 6 or more players in the server, there will be 2 initial infected; Otherwise there will only be 1 initial infected.
-While it isn't possible to win when you're selected as one of the initial infected, the script does make sure to select each player only once per rotation. If you do leave/disconnect and rejoin the server, the script will try to remember your name if you were infected in one of the previous rounds. Though if the host forces the map to change at any point, the script will forget who has been initial infected since player data is cleared.
-Shortly after only 1 Runner remains, a 30 second countdown will start, and the round will end once that timer expires. The last player will still win regardless of whether or not they're caught before the time limit is up.
-If you're infected and you get hit or take damage, you cannot infect anyone until your invulnerability frames run out. However, if you use a speed shoe or pogo spring, the invulnerability frames will end immediately and you can infect again.
-If a Runner takes environmental damage or falls off the stage three times, they will become infected on their own. The counter for this can be seen in the lower-left.
-Runners have access to the Hyodoro and a time-limited Thunder Shield, both of which can be used to avoid infection.
-Infected players have access to Eggboxes, which will instantly infect Runners that come into contact with them. Infected players can also re-collect placed eggboxes to move them if necessary.
-Camping as a Runner isn't recommended.

Spoiler: Console variables
vir_enabled on/off (default on)
Allows you to toggle whether or not the gamemode is enabled.

vir_minplayers 0-16 (default 4)
Allows you to set the minimum number of active players required for Virus to be played. If the requirement is not met when the map loads, regular Bumper Battle will be played.

vir_team_chance 0-100 (default 50)
The chance that Team Virus will be chosen in place of regular Virus.

vir_team_minplayers 4-16 (default 6)
The minimum number of players required for Team Virus. Note that if there aren't enough players for regular Virus (via vir_minplayers being set higher), Team Virus won't happen either.

vir_team_balance on/off (default on)
Determines whether or not Team Virus requires an even number of players. Doesn't account for late joiners.

Shoutouts to Battle Plus, which I basically looked off of at the start to figure out how a lot of things are handled since I had never done anything in the engine beforehand. That said, this won't actually work with Battle Plus, since that pretty much overrides Battle Mode entirely.
As well, the minimap recreation is heavily based off of ampersand's streamhud implementation.
And thanks to my friends and fellow kart players at 7Smoke for helping me test this through to release.

Spoiler: Changelog
V2.0
-Added Team Virus, where the goal is to infect everyone on the opposite team. By default has a 50% chance to happen when there's an even number of players. This behavior can be adjusted with the new console variables: "vir_team_chance", "vir_team_minplayers", and "vir_team_balance".
-Added a new HUD element that lists all non-infected players, in place of the original left-hand ranking HUD element.
-Items you're holding out (Orbinauts, Bananas, etc) are now properly dropped when you take damage.
-Added support for Hitfeed V2, with colored names being made use of. Hitfeed V1.1 should also still be supported.
-Added a new hitfeed icon for an infected player ramming into a runner without actually infecting them. Used when hitting a player with a thunder shield, or running into an allied runner in Team Virus.
-Fixed a bug where the sound for recollecting an eggbox would play globally.

V1.1
-Fixed an error that would occur on dedicated servers when trying to display the recreated Wanted sign patches for the last remaining player.
-Fixed a bug where stealing the Thunder Shield wouldn't start the timer to automatically use it.

V1.0 Release

Download Now

File Type: pk3 KL_VirusGamemode_V2.0.pk3 (40.7 KB, 93 views)

Screenshots

Click image for larger version

Name:	VirusPreview01.gif
Views:	2875
Size:	4.54 MB
ID:	22405   Click image for larger version

Name:	VirusPreview02.gif
Views:	2870
Size:	4.82 MB
ID:	22406  

Show Your Support

  • This addon may not be copied, reproduced or published elsewhere without the author's permission.

Comments
Old 10-26-2019   #2
D00D64
Probably Responsible
Moderator
 
D00D64's Avatar
Default

Welcome to Releases!
D00D64 is online now   Reply With Quote
Old 10-27-2019   #3
Ryason55
 
Ryason55's Avatar
Default

Updated to version 1.1:
-Fixed an error that would occur on dedicated servers when trying to display the recreated Wanted sign patches for the last remaining player
-Fixed a bug where stealing the Thunder Shield wouldn't start the timer to automatically use it
Ryason55 is offline   Reply With Quote
Old 12-13-2019   #4
SSNCaleb
Hey kid, want some milk?
 
SSNCaleb's Avatar
Default

I didn't know this gamemode existed till now. Looks pretty fun!
__________________
Quote:
Venza: why is kitcat there
Tinfoilbot65: good question
SSNCaleb is offline   Reply With Quote
Old 06-28-2020   #5
Ryason55
 
Ryason55's Avatar
Default

Updated to V2.0:
-Added Team Virus, where the goal is to infect everyone on the opposite team. By default has a 50% chance to happen when there's an even number of players. This behavior can be adjusted with the new console variables: "vir_team_chance", "vir_team_minplayers", and "vir_team_balance".
-Added a new HUD element that lists all non-infected players, in place of the original left-hand ranking HUD element.
-Items you're holding out (Orbinauts, Bananas, etc) are now properly dropped when you take damage.
-Added support for Hitfeed V2, with colored names being made use of. Hitfeed V1.1 should also still be supported.
-Added a new hitfeed icon for an infected player ramming into a runner without actually infecting them. Used when hitting a player with a thunder shield, or running into an allied runner in Team Virus.

I haven't gotten a chance to test how well Team Virus plays, so please let me know how well it works and if anything needs adjusting.
Attached Thumbnails
Click image for larger version

Name:	TeamVirusPreview.png
Views:	34
Size:	40.2 KB
ID:	33696  
Ryason55 is offline   Reply With Quote
Old 06-28-2020   #6
LuxisLand
Just vibing!
 
LuxisLand's Avatar
Default

Coronavirus
__________________
This is my signat- Resynching...
LuxisLand 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 Off
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:08 AM.


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