skinsret.blogg.se

How to install left 4 dead 2 sourcemod scripts
How to install left 4 dead 2 sourcemod scripts




how to install left 4 dead 2 sourcemod scripts
  1. #How to install left 4 dead 2 sourcemod scripts update#
  2. #How to install left 4 dead 2 sourcemod scripts password#
  3. #How to install left 4 dead 2 sourcemod scripts download#

  • +ip: where xx.xx.xx.xx is your Ubuntu server static IP address.
  • +hostip: where xx.xx.xx.xx is your internet address.
  • #How to install left 4 dead 2 sourcemod scripts update#

    -autoupdate: This will make the server check and update to the latest version when you launch it but this needs a manual fix to work properly.-maxplayers 8: This will specify the maximum number of players the server will allow, setting it to 8 should allow you to use versus mode, otherwise set it to 4 for survivors only gameplay.-game left4dead2: This specifies that the server will run L4D2.-console: This will display a console that you can type commands into.Xx.xx.xx.xx +ip xx.xx.xx.xx +hostport 27015 +exec server.cfg +map srcds_run l4d -autoupdate -console -maxplayers 8 + sv_lan 0 +hostip Next create a script in your /home/username/ directory to run the game server: touch startl4d2server.sh Note: z_difficulty normal can be changed to easy, hard, or impossible. In autoexec.cfg we will set the default difficulty for the server to normal with the following line: z_difficulty normal

    #How to install left 4 dead 2 sourcemod scripts password#

  • sv_password sets a password for gamers to play on your server.
  • sv_allow_lobby_connect_only 0 allows for players to connect directly to your server without using the Left 4 Dead lobby system.
  • The rcon_password is for remote administration of Left 4 Dead when the server is running.
  • You can change the hostname to whatever you want.
  • Once Left 4 Dead 2 has installed we need to to create a server configuration file called server.cfg and a script to run the server.Ĭreate files called server.cfg and autoexec.cfg in the following location /home/username/hlds/left4dead2/left4dead2/cfg: cd /hlds/left4dead2/left4dead2/cfgĪ basic server.cfg should look something like this: hostname "Left 4 Dead" Left 4 Dead files will now install to /home/username/hlds/left4dead2/ – this may take some time, so you may want to make a cup of tea. Note: you will most likely be prompted to run the last command again as the first time it runs it will update steam and not install Left 4 Dead. steam -command update -game left4dead2 -dir /home/username/hlds

    #How to install left 4 dead 2 sourcemod scripts download#

    Run Steam to download the Left 4 Dead files. Now make Steam executable: chmod +x steam Type yes to the agreement and then press enter to continue. Make hldsupdatetool.bin executable: chmod +x hldsupdatetool.bin If you do not have wget installed then install it as follows: sudo apt-get install wgetĬreate a new folder for downloading and installing L4D2: mkdir hldsĭownload the hldsupdatetool from Valve: wget Hopefully that will remain enough!įirst update Ubuntu Server: sudo apt-get update After installing a minimal virtual machine, open-vm-tools and L4D2 I had 4.6Gb of free space. I knew that L4D2 would take up more space and so I started out with a 15Gb virtual hard drive this time. Setting up a dedicated server for Left 4 Dead 2 (L4D2) is almost exactly the same as Left 4 Dead (L4D) which I covered a while ago.






    How to install left 4 dead 2 sourcemod scripts