This little script adds a simple frag limit and therefore an objective for Team Deathmatch, Construction and Deathmatch.
In Team Deathmatch/Construction, the scores of all players in a team are added up. The first team which reaches the frag limit wins.
In Deathmatch, the player who reaches the frag limit first wins.
It also shows the current scores at the bottom of the screen.
Installation:
Extract zip file to CS2D directory.
To load script, call
1
dofile("sys/lua/fraglimit.lua")
Usage before load:
edit the line "dmmode.fraglimit" to set the initial frag limit.
Usage on runtime:
Type this in console:
1
lua dmmode.setfraglimit(fraglimit)
edited 2×, last 08.09.10 03:33:26 pm
Approved by Seekay
Download
3 kb, 647 Downloads