Script Name: Adv. Survival
Script Description: Its Survival Mode with lives!
Original Author(s): Rayanaga
Core Version: 2.6.3
.OverviewI've thought for a while, "How cool would it be to play survival with extra lives?".
I've scripted a short little script for doing so.
Players by default start out with three lives. Everytime they die, they lose a life. IF they have zero lives, they get to spectate their team.
.Features:-[Survival Timer] -> This is used for everyone who gets those blasted Wrong Map Version errors. It by default gives the player 5 seconds to join the game with no penalities. Everyone else who comes in after the 5 second margin is moved to specs.
-[Easy to Edit Config] -> I put a lot of the configuration inside constants that will make it easy to edit for non-scriptors.
-[Leightweight] -> It's only 4kb...
.Requirements:-A Soldat Server (duh..)
-Gamemode set to Capture the Flag (GameStyle=3)
-Survival Mode set to OFFÂ
.Known Bugs:-Bots. This script is not bot-friendly. It will bug up if you add bots (with the exception of the Automatic bot you can set in the script).Â
.Configuration//EDIT BELOW
const
maxlives = 3; //Starting amount of lives.
checktime = 5; //Amount of time in ticks to check before starting a new round when everyone is dead.
consolecolor = $EE81FAA1; //Color of the messages.
autobot = 1; //Set to 1 to add a bot if only one player exists. 0 to disable it. When another player comes, the bot will be kicked.
autobotname = 'Admiral';
maxsurvtime = 5; //Amount of time a player has from the beginning of round to join without penality. Best to leave at 5 ticks.
steallives = false; //Players gain a life for taking a life.
antispam = true //Turns off balance to make the console spam-less
//END EDIT
.Downloadhttp://upload.kronex.net/files/advsurvival.zip*You can flame on bad scripting only if you show an alternative.*