Skip to content

HOW TO ADD GEAR TO NPCs

waltari edited this page Jun 12, 2026 · 6 revisions

This section will describe how you can change/add weapons and clothes of your choice to the NPCs. I cannot believe i have to write this, but here we are. Everything for the patrols and snipers is in a cofig file named DynamicAIB.json.

GUNS AND MELEE WEAPONS

To change the weapons, go to DynamicAIB.json and find this line at the very bottom of the file
"PredefinedWeapons":
This is an array with weapons presets, these presets consist of few self explanatory (hopefully) lines.

"name": "Predefined_AKM"

This line is prety much just a name for that one preset, it does nothing on its own, HOWEVER each preset absolutely have to have the Predefined_ prefix

"weapon": "AKM",

This line is a class name of the weapon, you can find class names in the types file of the corensponding weapon pack or in the db directory of your mission folder if you are using just vanilla

"attachments": ["Mag_AKM_30Rnd","AK_WoodHndgrd","AK_WoodBttstck"]

The last line represents the attachments that fit the selected type of gun, these attachment can be anything starting from Magazines, Handguards, Buttstock, Suppressors up to various Optics. You have to remember that these attachment must be for the specified gun, for example you cannot fit AK attachments on a M4A1 gun, so be carefull.

NOW CLOTHES AND ARMORS

Each patrol or NPC can wear random mix of clothes to avoid boring look or specified loadout, To change the clothes and armors find a line

"npcproperties"

Inside this block you can see the names of slots used in DayZ like Head, Mask, Bodywear, Pants and so on. These slots are arrays inside which you can put either one specified item for the NPCs to all look the same, or list of items so the NPCs can get RANDOM mix of the clothes. Classes of each items can be found in types file of your armor packs or inside the db directory in your mission folder.

image image

Clone this wiki locally