Browse Source

Merge pull request #605 from PhilPhonic/insserver_tuning

insserver tuning
Daniel Gibbs 10 years ago
parent
commit
b4cd5ab55d
2 changed files with 6 additions and 1 deletions
  1. 4 0
      Insurgency/cfg/lgsm-default.cfg
  2. 2 1
      Insurgency/insserver

+ 4 - 0
Insurgency/cfg/lgsm-default.cfg

@@ -23,6 +23,10 @@ sv_contact "email@example.com"
 // Default: sv_lan 0
 sv_lan 0
 
+// Set maximum Server FPS
+// Default: fps_max 300
+fps_max 300
+
 // ......................... Matchmaking Playlists ......................... //
 // info: Selecting a playlist will allow the server to show up in matchmaking.
 // Playlists use predefined settings and mapcycle. 

+ 2 - 1
Insurgency/insserver

@@ -25,6 +25,7 @@ steampass=""
 # Start Variables
 defaultmap="ministry"
 maxplayers="16"
+tickrate="64"
 port="27015"
 sourcetvport="27020"
 clientport="27005"
@@ -33,7 +34,7 @@ updateonstart="off"
 
 # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server
 fn_parms(){
-parms="-game insurgency -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
+parms="-game insurgency -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
 }
 
 #### Advanced Variables ####