static ai positions/patrols

andygully

Member
can anyone help with making static ai positions if at all possible at devils castle, rog castle, green mountain and zub castle. Would ideally like a strong protection force that have some high value loot (ill add tents/vehicle similar to origins) . Maybe have them not respawn until server restart.
Any help would be much appreciated and i would make a donation for the help
 
hi it's realy simple :
for exemple for your devils castle position
look SAR_cfg_grps_chernarus.sqf
in SAR_AI: Static spawning area definition started add
Code:
_this = createMarker ["SAR_marker_DEBUG_devilscastle", [6913.47,11437.2,0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [10, 10];
SAR_marker_DEBUG_devilscastle = _this;
if you want they patrol in a large zone juste change setMarkerSize
for exemple :
Code:
_this setMarkerSize [300, 300];
but if they dont move and just "fortify" the position [5,5] is good
and in
SAR_AI: Static Spawning for infantry patrols started
add :
Code:
[SAR_marker_DEBUG_devilscastle,1,0,6,"fortify",true] call SAR_AI;
then you can change the first number by : 1 = military, 2 = survivors, 3 = bandits
the second number is number of snipers and the last is number of riflemen after change "fortify' by
"fortify" -> the group will search for nearby buildings and move in them. They will stay there until an enemy spotted, then they will chase him.
"ambush" -> the group will look for a nearby road, and setup an ambush. They will not move until an enemy was spotted.
"patrol" -> the group will patrol random waypoints in the area, and engage any enemy they see.
change "true" by "false" it you want they dont respawn
exemple :
bandit group patrolling, with 1 leader, 2 snipers and 1 rifleman, respawning, respawn time = 30 seconds :
Code:
[SAR_marker_DEBUG,3,2,1,"patrol",true,30] call SAR_AI;
bandit group dont move and guard a position, with 1 leader, 5 snipers and 15 rifleman, no respawns :
Code:
[SAR_marker_DEBUG,3,5,15,"fortify",false] call SAR_AI;
enjoy ;)
 
Back
Top