

- #Gmod 2019 admin mods how to
- #Gmod 2019 admin mods update
- #Gmod 2019 admin mods skin
- #Gmod 2019 admin mods code
(Unitbackpack GearAdd) addMagazineCargoGlobal I my self have broken it many times by forgetting a comma between UIDs, but this only leads to players not getting their custom loadouts, I have not experianced any server issues or stalls from this edit, and I will be the first to admit I dont always know what I'm doing and I am always breaking my server with something. Here is a link of the items you can buy and sell on my server all listed by their "ItemID" and organised in a way thats easy to read.Īs for posts 8-13, I can give no reasoning why the script is failing for them. But, my current data base is pretty current, with most of the non-OP items listed. I myself had to visit no less that 5 diffrent sorces to find all the "Item IDs" for diffrent items.

Either it ignores females, or it allows for a array to be set: )įurther, I would like to make it easyier to set up items in these arrays, but as with everything, it becomes hard. (logic must be applied when users select between a Male and Female character.
#Gmod 2019 admin mods skin
My hope is they will add a varible to set the default skin when you load in.
#Gmod 2019 admin mods update
So with each update the epoch devs are giving us server admins more varibles to call and edit in our init.sqf. Remember, you have to re-spawn for it to work. Save your work, upload your files, and start your server to test out the scripts. Now we have called the load-out script, and the world is a better place. ,"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf" Ībove "//Run the player monitor" add the following: //Custom Loadouts _void = execVM "R3F_Realism\R3F_Realism_Init.sqf"

_playerMonitor = execVM "\z\addons\dayz_code\system\player_monitor.sqf"
#Gmod 2019 admin mods code
Then Create a new text document in that folder called "loadout.sqf", is will warn you that you are changing the file type, thats ok.Ĭopy this code into your new lodout.sqf: //Default Loadout Thats easy, instead of the above we are going to put all the settings in a loadout.sqf and save that to a "Scripts" folder in our mission folder or mission.pbo.įirst, create a new folder in the Mission folder or PBO named Scripts. You can change the variables your self to what would be best for your server, including removing everything so players don't even get the stock dayz load-out.Ĭustom Load-Outs (includes default load-out)īut, you want even more controls, like load-outs for donators or admins. Here I have configured the default load-out to be a G17 and 2 clips, 2 bandages, one Morphine, Painkillers, Clean Water, Cooked Steak, a Flashlight and Hatchet. SpawnShoremode = 1 // Default = 1 (on shore)ĭayz_maxLocalZombies = 30 // Default = 30īelow this, add the following: //Default LoadoutĭefaultMagazines = ĭefaultWeapons = Open the init.sqf in your mission folder or mission.pbo.Īt about line 20 of a stock Epoch init.sqf file you will find this: // DayZ Epoch config You will also see DefaultBackpackWeapon = "" in my loadout script, I assume it adds items to your back pack, but I don't know its limitations, if I can use guns and ammo. DefaultMagazines = ĭefaultMagazines is for any item you place in your primary ( food, ammo, parts, money) or secondary ( bandages, clips, m203 rounds) inventory.ĭefaultWeapons is for any guns/rifles or kit (hatchet, map, Bbnoculars, NVGs) items.ĭefaultBackpack is as it would sound, the pack you start out with. To start, this is tested on 1.0.2.4-5, and uses variables that Epoch Devs added to the Server Code.

Setting Up the Default Load-out (no custom loadouts) This is not completely my work, some came from Axeman and AsianKid.
#Gmod 2019 admin mods how to
So I have been getting a lot of help from here with setting up my server, so I figured I would start making Tutorials on what I have learned.Īs follows are the instructions to change the starting gear from the default "bandage/painkiller/flashlight" to what ever you want, and how to set up custom gear for different users based on their UIDs.
