Donzap
New Member
Hi guys, I have a military base in NWAF with DZAI working fine spawning AI on foot. They protect the base pretty well, but since some players go there with an armored vehicle and get the stuff and leave, I want to add a vehicle patrol with an armored SUV to make things a little bit harder, so my players don't get bored too soon.
I have tried the same way I added AI on foot, that is, adding a custom spawn marker in cust_markers_chernarus.sqf:
And then Spawn a SUV unit in cust_spawns_chernarus.sqf:
I have added "ArmoredSUV_PMC_DZ" to dynamic_vehicle.sqf in my server mission folder.
But no SUV in NWAF appeared, so I change dzai_config.sqf to add 1 maxlandpatrol (I thoung this setting was only for random spawn, that's why I have not used until now) and added an armored SUV to "stock":
Now I have a random spawn armored SUV driving between cities, but no SUV on NWAF.
In my arma2oaserver.RPT I have the spawing of every AI working except NWAF SUV, not showing at all "cochenwaf" marker in it.
What am I doing wrong? Did I miss something?
Thank you everyone.
I have tried the same way I added AI on foot, that is, adding a custom spawn marker in cust_markers_chernarus.sqf:
Code:
// NWAF Patrulla en coche
_this = createMarker ["cochenwaf", [4395.54, 10503.4, 0]];
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Empty";
_this setMarkerBrush "Solid";
_this setMarkerSize [200, 200];
_this setMarkerAlpha 0;
_cochenwaf = _this; //_cochenwaf must be a unique name
And then Spawn a SUV unit in cust_spawns_chernarus.sqf:
Code:
// NWAF Patrulla en coche
[
"cochenwaf", //This is the marker name to be used as the patrol and spawning area.
"ArmoredSUV_PMC_DZ", //Insert a vehicle classname here. Acceptable vehicle types: Air or Land vehicles. Spawn will be cancelled if classname is invalid or banned.
[3,1], //Set number of passenger and gunner units here. A driver unit will always be created. DZAI will not add more units to a vehicle than the vehicle type allows. Only land vehicles may have passenger units.
2, //Weapon grade setting. 1 = weapon chosen from Military loot table (see below for explanation of Weapon Grade)
true, //(OPTIONAL)* Respawn setting. True: AI will respawn with vehicle after a specified time. False: AI and vehicle will not respawn after being destroyed. (Default)
900 //(OPTIONAL)* Respawn time. Number of seconds to wait until AI and vehicle are respawned. (Default: 600). Timer begins after AI group is wiped out or vehicle is destroyed, whichever comes first.
] call DZAI_spawn_vehicle;
I have added "ArmoredSUV_PMC_DZ" to dynamic_vehicle.sqf in my server mission folder.
But no SUV in NWAF appeared, so I change dzai_config.sqf to add 1 maxlandpatrol (I thoung this setting was only for random spawn, that's why I have not used until now) and added an armored SUV to "stock":
Code:
DZAI_maxLandPatrols = 1;
DZAI_vehList = [["ArmoredSUV_PMC_DZ",1]];
Now I have a random spawn armored SUV driving between cities, but no SUV on NWAF.
In my arma2oaserver.RPT I have the spawing of every AI working except NWAF SUV, not showing at all "cochenwaf" marker in it.
What am I doing wrong? Did I miss something?
Thank you everyone.