gs_starter.cfg 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # gs_starter.cfg - part of gs_starter.sh by Paul Klumpp, 2012-11-14
  2. # what's the game server binary?
  3. GSDED="q2proded"
  4. # when no specific start parameter has been given, start these instances:
  5. ACTIVATE=(1 2 3)
  6. # set a prefix for the screen names.. this is good to attach quickly by "screen -x prefix#"
  7. PREFIX="gs"
  8. # put common settings here:
  9. p_base="+set basedir . +fs_restart +exec h_q2proded.cfg"
  10. p_action="$p_base +set game action +set gamedir action"
  11. p_q2apub="+set q2a_config q2a_pub.lua"
  12. p_q2amm="+set q2a_config q2a_mm.lua"
  13. # put server parameters here:
  14. PARMS[1]="$p_action $p_q2apub +set net_port 27910 +exec aq2_1.cfg"
  15. PARMS[2]="$p_action $p_q2amm +set net_port 27911 +exec aq2_2.cfg"
  16. PARMS[3]="$p_action $p_q2amm +set net_port 27912 +exec aq2_3.cfg"
  17. PARMS[4]="$p_action $p_q2apub +set net_port x +exec aq2_4.cfg"
  18. PARMS[5]="$p_action $p_q2apub +set net_port x +exec aq2_5.cfg"
  19. PARMS[6]=""
  20. PARMS[7]=""
  21. PARMS[8]=""
  22. PARMS[9]=""
  23. PARMS[10]=""
  24. PARMS[11]=""
  25. PARMS[12]=""
  26. PARMS[13]=""
  27. PARMS[14]=""
  28. PARMS[15]=""
  29. PARMS[16]=""
  30. PARMS[17]=""
  31. PARMS[18]=""
  32. PARMS[19]=""
  33. PARMS[20]="$p_action +exec action_gtv.cfg +set game action +net_port 27915"
  34. # you can define more, if you really need....
  35. # vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 autoindent: