How?
Forum
CS2D General Time Limit in a TDM?Time Limit in a TDM?
8 replies 1
How?
a round time limit? doesn't make sense in (team)deathmatch mode because there are no rounds (you respawn instantly). therefore it is not available. you could use Lua scripts to add something like a round time limit though.
a map limit for mapchange? see mp_timelimit
He sets the round for 10 minutes in TDM, and in those minutes players can respawn and stuff and the round only ends when time runs out (instead of ending when all players die like Standard mode).
That's not possible on normal options... I hate to say it but I think Lua should help
So I have to use TDM. But I also need a round time limit.
I was gonna just do the Lua one, but it seemed hacky, and well yeah.
I'll do that anyways.
Ruirize has written
I'm making a custom game mode, that requires respawning.
So I have to use TDM. But I also need a round time limit.
I was gonna just do the Lua one, but it seemed hacky, and well yeah.
I'll do that anyways.
So I have to use TDM. But I also need a round time limit.
I was gonna just do the Lua one, but it seemed hacky, and well yeah.
I'll do that anyways.
as DC said, you cannot have Round Time in a Team Deathmatch server.
There are example 10 minutes rounds.
Players can spawn instantly.
If round ends, wins team with most kills :).
MarBoy2314 has written
You can make something like that:
There are example 10 minutes rounds.
Players can spawn instantly.
If round ends, wins team with most kills :).
There are example 10 minutes rounds.
Players can spawn instantly.
If round ends, wins team with most kills :).
That's what I said.
Ruirize has written
I'm making a custom game mode, that requires respawning.
So I have to use TDM. But I also need a round time limit.
I was gonna just do the Lua one, but it seemed hacky, and well yeah.
I'll do that anyways.
So I have to use TDM. But I also need a round time limit.
I was gonna just do the Lua one, but it seemed hacky, and well yeah.
I'll do that anyways.
Eh eh u can always use scripts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
function Array(m) 	local array = {} 	for i = 1, m do 		array[i]=0 	end 	return array end timer=0 playerdeath = Array(32) playerscore = Array(32) addhook("startround","timestart") function timestart() timer=0 	for id = 1,32 do 		if (player(id,"exists")) then 			if playerscore[id]==0 and playerdeath[id]==0 then 				-- 			else 				parse("setdeaths "..id.." playerdeath[id]") 				parse("setscore "..id.." playerscore[id]") 			end 		end 	end end addhook("endround","savescore") function savescore() 	for id = 1,32 do 		if (player(id,"exists")) then 			playerscore[id]=player(id,"score") 			playerdeath[id]=player(id,"deaths") 		end 	end end addhook("minute","timego") function timego() 	timer=timer+1 	if timer==3 then -- change 3 to your round time 		parse("sv_restart 1") 	end end
1