IF YOU HAVE ANY QUESTIONS ABOUT THIS GAMEMODE OR ITS ADDONS, I WILL NOT HELP YOU. YOU WILL NEED TO FIGURE IT OUT YOURSELF
Edited by youremeh
- Download the SQL files - Both Windows, and Linux users NEED to do this
- Extract the sql files to
garrysmod\lua\bin\
folder (you must create this folder if missing) - Drag the
dayz
gamemode into thegarrysmod\gamemodes\
folder - Create a
workshop.lua
file ingarrysmod\lua\autorun\server\
- Paste the following inside the
workshop.lua
fileresource.AddWorkshop("342908364") -- rp_stalker_new resource.AddWorkshop("2633539546") -- [GModZ] Materials resource.AddWorkshop("2633508338") -- [GModZ] Weapons resource.AddWorkshop("2633540974") -- [GModZ] Models resource.AddWorkshop("2633541440") -- [GModZ] Sounds resource.AddWorkshop("2695585209") -- [GModZ] Playermodels resource.AddWorkshop("128093075") -- M9K Small Arms pack resource.AddWorkshop("128091208") -- M9K Heavy Weapons resource.AddWorkshop("128089118") -- M9K Assault Rifles resource.AddWorkshop("144982052") -- M9K Specialties
- Use this collection pack or add them to your own
- Goto
garrysmod\cfg\
and openserver.cfg
and add the following (this prevents instant weapon deploy)sv_defaultdeployspeed 1
- Windows Users - Paste the following into a
.bat
file and makes changes where necessary@echo off cls echo Starting server title srcds.com Watchdog :srcds start /wait srcds.exe -console -game garrysmod -secure +map rp_stalker_new +maxplayers 32 +gamemode dayz +r_hunkalloclightmaps 0 +host_workshop_collection 2595587443 echo (%time%) WARNING: srcds closed or crashed, restarting. goto srcds
- Linux users - Use the following commands and make changes where necessary
cd /home/gmodserver sudo ./srcds_run -console -game garrysmod -secure +map rp_stalker_new +maxplayers 32 +gamemode dayz +r_hunkalloclightmaps 0 +host_workshop_collection 2595587443
- If you made your own collection, replace the
+host_workshop_collection
with your own numbers - Start Server
A: You need to use the proper map rp_stalker_new
otherwise it will NOT work
A: Yes, but you will need to do a bunch of code changes (see below)
- Go to
dayz/gamemode/init.lua
- Add your map name to the index (don't forget to increase the number) - Use the following command using the in-game console
geteyepos
and copy the coordinates from the servers console - Go to
dayz/gamemode/scripts/shared/shar_safezone.lua
- Add your map name and coordinates for all 3 options (again usinggeteyepos
) - Go to
dayz/gamemode/scripts/server/loot.lua
- Add your map name, and start making loot spawns - Go to
dayz/gamemode/scripts/server/playerdb.lua
- Add your map name, and start making player spawns - Save the files and restart the server or change map once finished to see changes
A: You need to make sure you mount the proper game files in mount.cfg
- If you're on a VDS, you will need to transfer these files manually
- If you purchased a Gameserver, you should be fine. If nothing works, contact them to mount it themselves
A: Read the above answer.
A: No. You will have to download the games (CS:S, HL2, TF2) and find the respective folders and do it yourself. Or you can do a simple google search and find a website that hosts them.
A: No.