SRB2 Message Board  

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

Reply
 
Thread Tools
LMS (Last Man Standing) Details »»
LMS (Last Man Standing)
Version: 0.3d, by Blaze The Cat (& Knuckles) Blaze The Cat is offline
Developer Last Online: Sep 2017

Category: Version: SRB2 Rating: (2 votes - 3.20 average)
Released: 04-21-2016 Last Update: Never Installs: 1
Scripts Re-Useable Content Is in Beta Stage

A game mode inspired by Skulltag, now here to annoy/entertain you in SRB2.

Last Man Standing
Or LMS for short

This Lua, when added and then enabled, lets you turn Match into a survival of the fittest, as you have a limited number of lives and a more scarce resource of rings, weapons, and shields.

Goal:
Be the only player left surviving in the round.

How to play:
Once you begin the round, a 10 second gracing period will begin, where you cannot harm other players. Afterwards, all is fair game. Firing rings costs some of your rings, but be aware that the fewer rings you have, the easier it is for your opponent to scoop them all up. When a player is eliminated from the round, everyone left alive earns 500 points, stacking with the 100 points for killing said player. Once there is only one player left, the round ends.

List of included variables:

lms <0-1>
If set to 1, the next time you load a map in Match or Team-Match, it will become a game of Last Man Standing. (Or, Team Last Man Standing) Please turn this on if you want to play LMS!

lms_startlives <1-10>
Defaut: 1 Quite simply, this sets how many lives all players in the game start with at the beginning of the match. You may want to up this value if you enable sudden-death or similar. NOTE: This will only take effect after a map change.

lms_countdown <0-30>
Default: 10 Determines the number of seconds of "warm-up" time before the round actually begins. Set this to 0 if you want the round to begin immediately on map load.

lms_nopity <0-1>
Default: 1 When set to 1, you will only get one pity shield at the beginning of the match. Set this to 0 if you want pity shields to appear again.

lms_activeghosts <0-1>
Default: 0 Modifies the interactivity of ghosts. When set to 0, ghosts may not interact with the collectibles, and cannot have shields or rings. Set this to 1 if you want ghosts to be able to take stuff in the level and have shields and muck up the game.

lms_quietghosts <0-1>
Default: 0 When set to 1, the sound effects of ghost players will be hushed. If your server is filled with many players, and don't like listening to ghost jumps and spins, try enabling it.

lms_softsuddendeath <0-99>
Default: 3 Soft Sudden-Death is a custom rule that causes instant-kills for players who lack a shield. The number value indicated how many minutes until this rule takes effect. Set it to 0 if you want it to start immediately. Set it to 99 if you don't want to see it happen (It'll just take 99 minutes to arrive, more than enough time to finish a round.)

lms_frantic <0-1>
Default: 0 When enabled, this will gradually reduce the amount of invincibility frames your character has after getting hit. Set this to 1 if you want to play with this rule.

Keep in mind that this script may shoot some warnings, but it's still playable. I'll be working on that. Feel free to give suggestions

Spoiler: TO BE ADDED/FIXED

lms_gamerule <0-3> is a planned feature that will allow you to change how the game behaves. This is not guaranteed.
A custom scoreboard (mostly geared to team-match) to show who is alive and who is a ghost.


Tips:

  • Gang up on the player with a lot of weapons or an attraction shield, as they will often control the endgame with them. As such, weapons and ammo tend to be very dangerous.
  • Cycle the shields often. Having a shield can protect your precious weapon arsenal.
  • Having a few rings is like having one. Most skilled players will be able to scoop up quite a few rings and leave you none behind. Stocking up on a lot of rings means shooting less, but also means you're very safe in case someone makes you spill, and more often than not they will find a more vulnerable player to shoot at.
  • If you want your game to end quicker, add suddendeath. Feel free to try it, especially with several lives.
  • If active ghosts is on, be a troll! Try and wait for the top player to get an important box or an air bubble, and take it before they can, or pop a recycler box to move the weapons round a bit.


Special thanks to all the people who joined my server to give it a test run.

Download Now

File Type: lua lms-0-2c.lua (8.6 KB, 154 views)
File Type: lua lms-0-3d.lua (18.7 KB, 178 views)

Supporters / CoAuthors

Show Your Support

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

Comments
Old 04-27-2016   #2
Whackjood
The unreliable joodge
Judge
 
Whackjood's Avatar
Default

Hello! Sorry for leaving this in submissions for a week, I just got around to testing this.

This for the most part works fine, although ghost players being able to collect items leads to potential abuse. As a concept it works fine though. It honestly might be an idea just to force dead players to be spectators rather than ghosts.
__________________
Check me out elsewhere~: -Tumblr- -Youtube- -Steam- -MyAnimeList-
Battlenet tag: Whackjood#2732 (Europe)
"The Creeps" (1941)

Last edited by Whackjood; 04-27-2016 at 11:39 PM.
Whackjood is offline   Reply With Quote
Old 04-27-2016   #3
SonicX8000
Graphic & Sprite Modder.
Judge
 
SonicX8000's Avatar
Default

While ghosts collecting items can lead to potential abuse... it could have a use... ghost players could haunt the level and begin "hiding" the items so players that are alive can't use them. I recall this being a thing in Bomberman 64 but that might've just been ghost bombermen controlling the alive bombermen.

It could work... but who knows?
__________________
GraphicX8000 will return... when I'm actually not lazy with finishing it.
SonicX8000 is offline   Reply With Quote
Old 04-28-2016   #4
21kHzBANK21kHz
 
21kHzBANK21kHz's Avatar
Default

Either way, I like the idea of being able to muck about after being eliminated. Gives the waiting players something to do.
__________________
Ignore the media and Do what you want.
21kHzBANK21kHz is offline   Reply With Quote
Old 04-28-2016   #5
*icefox*avp*
Or call me Revan
 
*icefox*avp*'s Avatar
Default

Finally I can do stupid LMS Srb2 Edition! I waited for this my whole life! Nice!
__________________
Want dedicated Graphics for a low price?

Click this link!

THE RICE FIELDS!
*icefox*avp* is offline   Reply With Quote
Old 04-28-2016   #6
Chicmunk
Twitter: @Chicmunk4u
 
Chicmunk's Avatar
Default

*Instant response from the sight of this on the MB* THANK YOU BLAZE! ^_^
Chicmunk is offline   Reply With Quote
Old 04-29-2016   #7
Mastakirby
Knux Fanboi
 
Mastakirby's Avatar
Default

Oh man, I remember you talking about this. Can't wait to test it out.
__________________
Twitch.tv/Mastakirby
Mastakirby is offline   Reply With Quote
Old 04-30-2016   #8
Blast88
 
Blast88's Avatar
Default

I sure remember Last Man Standing. But you know, for the srb2 version, you can set it to be it's unique gamete instead of placing it over Match and perhaps you can also make unique maps for that game type as well which is seen in Skulltag/Zandronum.
__________________
It's good to do awesome stuff.
Blast88 is offline   Reply With Quote
Old 04-30-2016   #9
MK.exe
Lazy, Lazy and lazy?
 
MK.exe's Avatar
Default

Quote:
Originally Posted by Blast88 View Post
make unique maps for that game type as well which is seen in Skulltag/Zandronum.
I like the idea! I feel like i want to make some maps that work with this custom game mode. They would be small and compact so the pacing is fast!
__________________
Done:
Hit a 180 Rail shot
First person to have a map in releases with Slopes
MK.exe is online now   Reply With Quote
Old 04-30-2016   #10
Blast88
 
Blast88's Avatar
Default

Quote:
Originally Posted by MK.exe View Post
I like the idea! I feel like i want to make some maps that work with this custom game mode. They would be small and compact so the pacing is fast!
You know, the LMS maps can be in the MAPLx slots since that would fit.
__________________
It's good to do awesome stuff.
Blast88 is offline   Reply With Quote
Old 04-30-2016   #11
MK.exe
Lazy, Lazy and lazy?
 
MK.exe's Avatar
Default

Quote:
Originally Posted by Blast88 View Post
You know, the LMS maps can be in the MAPLx slots since that would fit.
Im going to make one. And sure, it'll be in the slot MAPL0
__________________
Done:
Hit a 180 Rail shot
First person to have a map in releases with Slopes
MK.exe is online now   Reply With Quote
Old 05-11-2016   #12
Blaze The Cat
& Knuckles
 
Blaze The Cat's Avatar
Default

Updated to lms-0-2.lua
  • Ghosts now cannot interact with the collectibles, as well as air bubbles. If you want to restore the old behavior where they could pick up weapons and rings, and pop boxes so they can troll the alive, lmsinterghosts is for you, just set it to 1. (This also includes air bubbles, muahaha)
  • I also fixed the error that comes with running into lava before the game starts. You're also completely invulnerable before the countdown, which should have happened before, but you know, bugs!
  • You can now control the pity shield appearing in LMS. Set lmspity to 1 if you want to let the pity shield happen again.
  • Spectators no longer get "eliminated" while not playing.
Quote:
Originally Posted by Whackjood View Post
It honestly might be an idea just to force dead players to be spectators rather than ghosts.
Now, I actually thought about this a while during the making of this, and I did it the way I did for a few reasons, including:
  • Keeping track of score as simply as possible.
  • Letting the eliminated player move and do something to pass the time.
  • Allow the option for them to collect stuff under the noses of the alive (also just for fun!)
  • It shows the impact that the players have on the game by the ghost count gradually increasing.
I just wasn't complete with making it work at the time.

Quote:
Originally Posted by SonicX8000 View Post
It could work... but who knows?
Ask and you shall receive.

Quote:
Originally Posted by Chicmunk View Post
*Instant response from the sight of this on the MB* THANK YOU BLAZE! ^_^
You're welcome!

Quote:
Originally Posted by Blast88 View Post
I sure remember Last Man Standing. But you know, for the srb2 version, you can set it to be it's unique gamete instead of placing it over Match
So far, this isn't do-able with Lua. But you can temporarily disable LMS if you want to play Deathmatch instead! Try lmsenabled 0 in the console.

Quote:
Originally Posted by Blast88 View Post
and perhaps you can also make unique maps for that game type as well which is seen in Skulltag/Zandronum.
Quote:
Originally Posted by MK.exe View Post
Im going to make one. And sure, it'll be in the slot MAPL0
Keep in mind that this is a script built to work on any match level. You're free to make levels designed for it if you feel inspired to do so, though. Maybe I'll add my own.

Last edited by Blaze The Cat; 05-11-2016 at 11:46 AM.
Blaze The Cat is offline   Reply With Quote
Old 05-11-2016   #13
Zwip-Zwap Zapony
Please just call me Zappy.
 
Zwip-Zwap Zapony's Avatar
Default

Quote:
Originally Posted by Blaze The Cat View Post
So far, [not having this a Match override thing] isn't do-able with Lua.
Well, you can set a map's type of level to include "custom", and you can check what the currently played game type is with Lua. However, I have no idea what the differences between Match and "custom" style maps are, plus supporting custom Match maps wouldn't work like that, so keeping it for Match maps instead of "custom" maps is probably a good idea.
Zwip-Zwap Zapony is offline   Reply With Quote
Old 05-11-2016   #14
MK.exe
Lazy, Lazy and lazy?
 
MK.exe's Avatar
Default

Quote:
Originally Posted by Blaze The Cat;778850!

Keep in mind that this is a script built to work on any match level. You're free to make levels designed for it if you feel inspired to do so, though. Maybe I'll add my own.
Alright. Thats all the confirmation i need. We ,as in me and Blast88, plan to release a version soon. :)
__________________
Done:
Hit a 180 Rail shot
First person to have a map in releases with Slopes
MK.exe is online now   Reply With Quote
Old 05-11-2016   #15
Blast88
 
Blast88's Avatar
Default

Quote:
Originally Posted by Blaze The Cat View Post
Updated to lms-0-2.lua
  • Ghosts now cannot interact with the collectibles, as well as air bubbles. If you want to restore the old behavior where they could pick up weapons and rings, and pop boxes so they can troll the alive, lmsinterghosts is for you, just set it to 1. (This also includes air bubbles, muahaha)
  • I also fixed the error that comes with running into lava before the game starts. You're also completely invulnerable before the countdown, which should have happened before, but you know, bugs!
  • You can now control the pity shield appearing in LMS. Set lmspity to 1 if you want to let the pity shield happen again.
  • Spectators no longer get "eliminated" while not playing.


Now, I actually thought about this a while during the making of this, and I did it the way I did for a few reasons, including:
  • Keeping track of score as simply as possible.
  • Letting the eliminated player move and do something to pass the time.
  • Allow the option for them to collect stuff under the noses of the alive (also just for fun!)
  • It shows the impact that the players have on the game by the ghost count gradually increasing.
I just wasn't complete with making it work at the time.



Ask and you shall receive.



You're welcome!



So far, this isn't do-able with Lua. But you can temporarily disable LMS if you want to play Deathmatch instead! Try lmsenabled 0 in the console.





Keep in mind that this is a script built to work on any match level. You're free to make levels designed for it if you feel inspired to do so, though. Maybe I'll add my own.
Perhaps you can add your own maps to the LMS level pack and in the future, making game types unique with lua will most likely get to work probably.
__________________
It's good to do awesome stuff.
Blast88 is offline   Reply With Quote
Old 05-11-2016   #16
Blaze The Cat
& Knuckles
 
Blaze The Cat's Avatar
Default

Quick fixing to 0.2a due to the nasty ghost bugs and pity shield bugs in the previous version. The script is now finally mostly bug-free

However we discovered that ghosts can interact with alive players in a way that isn't shooting or collecting (Like Tails flying another) And will be a known problem until I find a workaround to it.

Last edited by Blaze The Cat; 05-11-2016 at 07:16 PM.
Blaze The Cat is offline   Reply With Quote
Old 06-04-2016   #17
BASHDUP
 
BASHDUP's Avatar
Default

For some reason this lua doesn't work at all for me. It doesn't even count how many players are alive and once there all dead the match doesn't even end. Do you have a solution?
BASHDUP is offline   Reply With Quote
Old 06-04-2016   #18
Fres
BOI IF YOU DON'T-
 
Fres's Avatar
Default

Quote:
Originally Posted by BASHDUP View Post
For some reason this lua doesn't work at all for me. It doesn't even count how many players are alive and once there all dead the match doesn't even end. Do you have a solution?
When the script's first loaded, its off by default.

Quote:
Originally Posted by Blaze The Cat View Post
lmsenabled <0-1>
If set to 1, and you're in a game of Match, the map will be refreshed, and you can play LMS. If you set it to 0, everything related to LMS will hide, and you can play regular Match.
__________________
Quote:
Originally Posted by GreenKnight9000 View Post
HOLY MCCHICKEN FLAVOURED TITTY SPRINKLES
Fres is offline   Reply With Quote
Old 06-04-2016   #19
MK.exe
Lazy, Lazy and lazy?
 
MK.exe's Avatar
Default

Quote:
Originally Posted by BASHDUP View Post
For some reason this lua doesn't work at all for me. It doesn't even count how many players are alive and once there all dead the match doesn't even end. Do you have a solution?
Were there players in the match?

You need at least more than 1 player in your server to play with this
__________________
Done:
Hit a 180 Rail shot
First person to have a map in releases with Slopes

Last edited by MK.exe; 06-05-2016 at 12:11 AM.
MK.exe is online now   Reply With Quote
Old 06-07-2016   #20
BASHDUP
 
BASHDUP's Avatar
Default

Quote:
Originally Posted by Fres View Post
When the script's first loaded, its off by default.
Yeah, I know all that It just doesn't work. I know you have to do lmsenabled 1 that's the reason I'm here cause even after that it just fails to work.
BASHDUP 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 01:21 PM.


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