gs_starter.cfg 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # gs_starter.cfg - part of gs_starter.sh by Paul Klumpp, 2012-11-14
  2. # what's the game server binary? Without "./" in front of the binary.
  3. GSDED="q2proded"
  4. # and what is the path of it?
  5. GSPATH="/home/gameservers/quake2/"
  6. # If you need an extra LD_LIBRARY_PATH for your server binary, put it into s_lib:
  7. s_lib=./lib32
  8. # when no specific start parameter has been given, start these instances:
  9. ACTIVATE=(1 5 20)
  10. # set a prefix for the screen names.. this is good to attach quickly by "screen -x prefix#"
  11. PREFIX="gs"
  12. # put common settings here:
  13. p_base="+set basedir . +fs_restart +exec h_q2proded.cfg"
  14. p_action="$p_base +set game action +set gamedir action"
  15. p_q2apub="+set q2a_config q2a_pub.lua"
  16. p_q2amm="+set q2a_config q2a_mm.lua"
  17. # put server parameters here:
  18. PARMS[1]="$p_action $p_q2apub +set net_port 27910 +exec aq2_1.cfg"
  19. PARMS[2]="$p_action $p_q2amm +set net_port 27911 +exec aq2_2.cfg"
  20. PARMS[3]="$p_action $p_q2amm +set net_port 27912 +exec aq2_3.cfg"
  21. PARMS[4]="$p_action $p_q2apub +set net_port x +exec aq2_4.cfg"
  22. PARMS[5]="$p_action $p_q2apub +set net_port x +exec aq2_5.cfg"
  23. PARMS[6]=""
  24. PARMS[7]=""
  25. PARMS[8]=""
  26. PARMS[9]=""
  27. PARMS[10]=""
  28. PARMS[11]=""
  29. PARMS[12]=""
  30. PARMS[13]=""
  31. PARMS[14]=""
  32. PARMS[15]=""
  33. PARMS[16]=""
  34. PARMS[17]=""
  35. PARMS[18]=""
  36. PARMS[19]=""
  37. PARMS[20]="$p_action +exec action_gtv.cfg +set game action +net_port 27915"
  38. # you can define more, if you really need....
  39. # A nice value defines what priority a process should get. Nice values are negative.
  40. # The more priority a process should get the more negative a value is.
  41. # "-20" is highest priority. "20" is lowest. "0" is normal priority.
  42. # sudo is needed to set nice values. So set your sudoers config file accordingly.
  43. # If you don't know what "sudo" is, set RENICE to "false".
  44. RENICE=true
  45. NICE[1]=-20
  46. NICE[2]=-19
  47. # vim: tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
  48. # kate: space-indent off; indent-width 2; mixedindent off;