README 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. ===============================================================================
  2. Action Quake2 - Base Server Installer by Paul Klumpp (2012-11-18)
  3. It's always the same in Linux: To make it work on your system, some quake2
  4. stuff needs to be compiled. Please follow these simple instructions.
  5. First, on Linux, be an unprivileged user. The following will create a
  6. "aq2-basesrv" directory, so, there is no need to create a new directory.
  7. Just start the the magic script by:
  8. curl -L https://bitbucket.org/PaulKlumpp/aq2-basesrv/raw/ba723ec3be9c076971152da77b9bd274abb53e8f/q2compile/aq2-bsrv-pkg.sh | bash -s first
  9. For future updates, start this:
  10. curl -L https://bitbucket.org/PaulKlumpp/aq2-basesrv/raw/ba723ec3be9c076971152da77b9bd274abb53e8f/q2compile/aq2-bsrv-pkg.sh | bash -s update
  11. Note: These magic scripts will install or update everything, but they
  12. won't overwrite your changes on configuration files.
  13. ===============================================================================
  14. Now, to YOUR JOB! Your job is to configure your server, so read the
  15. following steps carefully and learn something.
  16. ===============================================================================
  17. ABOUT THE ACTION QUAKE 2 MOD CONFIGURATION:
  18. -------------------------------------------
  19. Change to your q2 server action directory:
  20. cd aq2-basesrv/q2srv/action/
  21. There, you have to edit your configuration files, and set your stuff up.
  22. See which cfg files are there:
  23. ls -1 *cfg
  24. Edit h_passwords.cfg so you have a rcon_password that you actually know:
  25. nano h_passwords.cfg
  26. Edit aq2_1.cfg, aq2_2.cfg etc so you have a nice hostname etc.
  27. nano aq2_1.cfg
  28. etc.
  29. For information about AQ2-TNG Mod settings inside those configuration files,
  30. see the documentation inside the docs/ directory!!
  31. Inside the h_admin/ directory are admin helper scripts. With those little
  32. scripts you can get additional maps or update your soundlist.ini.
  33. This will install cloud.bsp and update your maplist (config/maplist.ini):
  34. ./getmap.sh cloud
  35. This will update your soundlist (config/soundlist.ini) for a public server
  36. usage which is more fun ;) :
  37. ./make_sndlist.sh
  38. ABOUT GS STARTER:
  39. -----------------
  40. Edit the gs_starter.cfg and try to study what it says:
  41. nano gs_starter.cfg
  42. Note: The ACTIVATE variable defines which instances get run
  43. by ./gs_starter.sh startwatch. And obviously, the rest of the
  44. variables define starting parameters for these instances.
  45. Start the gs_starter.sh script... With default gs_starter.cfg, it will watch
  46. over your Action Quake 2 game server instances 1, 2 and 3:
  47. screen ./gs_starter.sh startwatch
  48. IT'S DONE. YOU'RE READY TO GO!
  49. But if you're new to Linux and "screen", you have to read "ABOUT SCREEN".
  50. You can kill ALL instances with:
  51. ./gs_starter.sh stopall
  52. Note: If they were watched by startwatch, the instances will come up again.
  53. You can kill an instance X with:
  54. ./gs_starter.sh stop X
  55. Note: If it was watched by startwatch, the instance will come up again.
  56. You can start an instance X with:
  57. ./gs_starter.sh start X
  58. Note: This does not necessarily mean that this instance is watched.
  59. You can stop watching the instances with:
  60. ./gs_starter.sh stopwatch
  61. For help, just start it:
  62. ./gs_starter.sh
  63. ABOUT SCREEN:
  64. -------------
  65. You can get a list of running gameserver instances with:
  66. screen -ls
  67. You can attach to a running gameserver instance with:
  68. screen -x gs1
  69. or
  70. screen -x gs2 etc.
  71. You can detach from a gameserver instance with:
  72. Press ctrl+a then press d
  73. And now, have fun!