UltimateByte 10 лет назад
Родитель
Сommit
b4a3775490
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      GarrysMod/gmodserver

+ 7 - 1
GarrysMod/gmodserver

@@ -35,7 +35,13 @@ port="27015"
 sourcetvport="27020"
 sourcetvport="27020"
 clientport="27005"
 clientport="27005"
 ip="0.0.0.0"
 ip="0.0.0.0"
+tickrate="66"
 updateonstart="off"
 updateonstart="off"
+consolelogging="on"
+
+# Custom Start Parameters
+# Default +r_hunkalloclightmaps 0, fixes a start issue on maps with many lights
+customparms="+r_hunkalloclightmaps 0"
 
 
 # Optional: Game Server Login Token
 # Optional: Game Server Login Token
 # GSLT can be used for running a public server.
 # GSLT can be used for running a public server.
@@ -44,7 +50,7 @@ gslt=""
 
 
 # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server
 # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server
 fn_parms(){
 fn_parms(){
-parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} +host_workshop_collection ${workshopcollectionid} -authkey ${workshopauth} +clientport ${clientport} +tv_port ${sourcetvport} +gamemode ${gamemode} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
+parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate {tickrate} +host_workshop_collection ${workshopcollectionid} -authkey ${workshopauth} +clientport ${clientport} +tv_port ${sourcetvport} +gamemode ${gamemode} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers} ${customparms}"
 }
 }
 
 
 #### Advanced Variables ####
 #### Advanced Variables ####