Help with ctf map.

Player1

L1: Registered
Aug 23, 2012
24
15
A map I creating is ctf, and I want to change a few things that are normal for ctf. I would like to increase the amount of caps it takes to win, and would like to disable crits on cap. In addition I want to also decrease spawn time. I have looked at game_round_win, game_end, game_scoring, and tf_gamerules, but I did not really see any of those values to change. I'm pretty sure you have to add some output command, but I do not know what that would be.

Thanks for your time.


I'm new to sdk, so pardon if my questions are kinda simple to fix or impossible. :unsure:
 

phi

aa
Nov 6, 2011
832
1,815
The amount of caps required to win is server-side, it's not decided by the map. You could use a point _servercommand to alter this variable, but gamedays do not allow that.
For the crits, well, I don't know. There is a way to do it, though, as other maps have done it.
 

Player1

L1: Registered
Aug 23, 2012
24
15
The amount of caps required to win is server-side, it's not decided by the map. You could use a point _servercommand to alter this variable, but gamedays do not allow that.
For the crits, well, I don't know. There is a way to do it, though, as other maps have done it.

Thanks. but how would I use the point_servercommands in sdk, there isn't a variable for the points needed to win?
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
Point_servercommand is an entity that forces the server to execute a certain command; it's as if someone opened the console on the host machine and entered the command. However, this requires cheats to be enabled, and is against gameday rules. You're best off not worrying about this, as it's going to get changed by admins anyway (if the map is played, that is).

Crits on cap is a serverside setting too, I believe.

Adjust spawntimes with the SetBlueTeamRespawnWaveTime/SetRedTeamRespawnWaveTime output going into tf_gamerules. It's usually fired from a logic_auto by OnMapSpawn.
 
Last edited:

Player1

L1: Registered
Aug 23, 2012
24
15
Point_servercommand is an entity that forces the server to execute a certain command; it's as if someone opened the console on the host machine and entered the command. However, this requires cheats to be enabled, and is against gameday rules. You're best off not worrying about this, as it's going to get changed by admins anyway (if the map is played, that is).

Crits on cap is a serverside setting too, I believe.

Adjust spawntimes with the SetBlueTeamRespawnWaveTime/SetRedTeamRespawnWaveTime output. It's usually fired from a logic_auto by OnMapSpawn.

Okay, thanks. For some reason I was throwing the setredteamrespawnwavetime on tf_gamerules >.> that could explain why it wasn't working :p
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
Well yeah, that's where the input goes; OnMapSpawn => tf_gamerules => SetRedTeamRespawnWaveTime => x. Shoulda mentioned that in the previous post, I'll add it now.