Static spawns and custom weapongrade

New Member

Hello survivors,
i'd like to spawn some units with sniper rifles only, so i created a custom weapongrade:

Code:

DZAI_Rifles4 = ["SVD_CAMO"];

in my custom_spawn:

Code:

[
"sectorx1", //This is the marker name to be used as the patrol and spawning area.
1, //This trigger will spawn a group of 2 AI units.
3, //Weapon grade setting. 1 = weapon chosen from Military loot table (see below for explanation of Weapon Grade)
true //(OPTIONAL)* Respawn setting. True: AI spawned will respawn (Default). False: AI will not respawn. Spawn area will be deleted when all units have been killed.
] call DZAI_spawn_units;

my question, how to set my own custom weapongrade, because it reads as numbers belong to this:

New Member

tahnks for your reply, but what you posted was not my question.
i already set up this weaponsgrade "4".
my question is, how to use it on the custom spawns:

Code:

[
"sectorx1", //This is the marker name to be used as the patrol and spawning area.
1, //This trigger will spawn a group of 2 AI units.
3, //Weapon grade setting. 1 = weapon chosen from Military loot table (see below for explanation of Weapon Grade)
true //(OPTIONAL)* Respawn setting. True: AI spawned will respawn (Default). False: AI will not respawn. Spawn area will be deleted when all units have been killed.
] call DZAI_spawn_units;

Member

The weapon grade number is used in several places when setting up the AI. It defines what weapons, skill, and backpack they will use. To use a custom weapon grade, something other than 0-3, you need to define a few things like I showed you. Once those are defined, simply use 4 for the weapon grade in your custom spawn. This works, I tried it last night on my server for weapon grades 4 and 5.

If something still isn't clear let me know, I'm not always the best at communication.