SDK CS:GO (Hammer editor): Maximum rounds and round time

counter-strike-global-offensivehammer

I am making a map in CS:GO with SDK. Is there a way to make it so that the map starts with a specific number of rounds and round time (also without warmup if possible)? It is a 1v1 map.

Best Answer

You could use point_servercommand to set mp_maxrounds and other config settings in Hammer, but I wouldn't do it this way.

A better way is a map specific config:

path/to/server/maps/cfg/your_map_name.cfg

You can put all settings you need in this file and it'll override the given settings from the default server.cfg for this map. When another map is loaded with no specific config the server.cfg will be used again. I'm not really sure what config settings you want to use, but mp_maxrounds and such are no problem.