Addon Details

Watch - Add Favorite


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

Kills remaining - Version 1.2

posted on 2008-04-02 14:13:06
by GODJonez



Description

Displays messages and optionally plays sounds when certain number of kills are required for the round/map to end as set by mp_fraglimit or round_fraglimit. Each message and sound are only displayed and played once during a round. So for example if the frag limit is 100 and someone gets score of 90, the message "10 kills remaining" will be displayed. If he then suicides and gets back to 89 and then again to 90 kills, no message will be displayed. At the beginning of the kill_cd.py file you can set the messages to be displayed and the sounds to be played. The default values are to display messages for 10, 5 and 1 kills remaining. You can edit the numbers, messages and even add or remove them, just make sure the lines are of correct syntax. The sound files are not included in this package. If you want sounds, you need to get them yourself and then edit the beginning of the script file to point to the sound files. The sound files will automatically be downloaded by the clients; this script will add the files to downloads list if present. Remember to not include the sound/ part of path when editing the file names inside the script. If round_fraglimit (custom variable created by this script) is set to value other than zero, then this script uses this value as the fraglimit and attempts to end the round when it is reached. Otherwise, if round_fraglimit is 0 (the default), mp_fraglimit is used and the game's default behavior is respected, usually ending the map once the limit is hit. If both round_fraglimit and mp_fraglimit are set to 0 (i.e. no limit) this script does not display messages or play sounds.

Installation

Extract the zip file to the game folder on your server (e.g. hl2mp) Edit the kill_cd.py file to suit your needs. Load the script with [b]es_load kill_cd[/b], you can also add it to your autoexec.cfg file to automatically load it when the server starts.

Version Notes For 1.2

Updated on: 2011-02-26 03:57:45 EST by GODJonez (View Zip Contents)
quick additional fix

( Previous Versions )