Addon Details

Watch - Add Favorite


Does this version work for you?
2
w00ts
w00t!2

No middle-round spawning - Version 1.0

posted on 2007-09-18 17:17:56
by GODJonez



Description

Normally people are able to join the server, choose team and class and then spawn alive to the selected team even after the round has started. The time they are able to do that is usually around 20-30 seconds and in fast-paced servers some drastic things can happen during that time. This script addon is meant to work around that feature of the game by automatically slaying players that spawn to either team after the round has started. [b]Installation:[/b] [list=1] [*]Create a new folder called 'nomidspawn' under addons/eventscripts [*]Copy this file to that new folder [*]Load the script (see below) [/list] [b]If you want this script to load automatically:[/b] [list=1] [*]Open cfg/autoexec.cfg [*]Add line 'es_load nomidspawn' to the file [*]Save the file and (re)start server [/list] [b]If you want to load this script while the server is running:[/b] [list] [*]Using client console: [list] [*]Type in the console 'rcon es_load nomidspawn' [/list] [*]Using HLSW or server console: [list] [*]Type in 'es_load nomidspawn' [/list] [/list] You can also unload this script at any time by replacing 'es_load' with 'es_unload' in the above commands. [b]Configuration:[/b] You can either edit the script file (not recommended) or configure the variables in your [i]autoexec.cfg[/i] or [i]server.cfg[/i] file. The variables that affect this script are (with their default values): [b]nms_spawntime[/b] 5.0 [list] [*]the number of seconds from the beginning of the round players are allowed to join the game alive [/list] [b]nms_ignorebots[/b] 1 [list] [*]set this to 1 to make this script ignore bots joining mid-game [*]set this to 0 to make the spawn prevention apply to bots also [/list] [b]nms_announce[/b] 0 [list] [*]set this to 0 to disable any announcements [*]set this to 1 to display when a player was slain for late-spawning [*]set this to 2 to display a text in round start to advertise script [*]set this to 3 to display text for both 1 and 2 [/list]

Version Notes For 1.0

Updated on: 2007-09-18 17:17:56 EST by GODJonez
Version: 1.0 Date: 2007-09-19 Initial release.

( Previous Versions )