Jack Marslow
Well-Known Member
Heya Sarge
So, I got that map marker script working great! I can now see exactly where ALL AI are on my map, what direction they are looking, and see them move around! (All without any of the Debug modes on) This has let me confirm a few things I thought were going on but I couldn't tell for sure.
For starters, here is my Marker sets for my static spawns
Now Here is my actual static Spawn settings
Ok, So lets look at the NWAF patrols for example. All 3 patrol groups SHOULD have 4 men. I'm looking at them on my map, and looking at them out of my map. 1 Group spawned 1 guy, 1 group spawned 2, and 1 group spawned 3.
Here is what I THINK is wrong on this in SAR_config //CONFIRMED. PROBLEM FIXED.
All three groups are just standing there where they spawned, not moving.
I can see the Dynamic groups, they are spawning and moving just fine. But EVERY static group I have set has not moved.
Final Issue
In SAR_config I have the following
If you have it setup in SAR_CFG_GRPS_Chernarus like this
it will ignore SAR_config and spawn up to the max groups you've allowed on this part of code. Not really a big issue, but I thought I would report it anyways. (also, I realise the // comment is incorrect. I know how to read it all now so I didn't bother changing it
So, I got that map marker script working great! I can now see exactly where ALL AI are on my map, what direction they are looking, and see them move around! (All without any of the Debug modes on) This has let me confirm a few things I thought were going on but I couldn't tell for sure.
For starters, here is my Marker sets for my static spawns
Code:
// Skalyisky Tower Guards 1
_this = createMarker ["SAR_marker_Skal_Twr1", [13663.9, 2949.37]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_marker_Skal_Twr1 = _this;
// Skalyisky Tower Guards 2
_this = createMarker ["SAR_marker_Skal_Twr2", [13698.1, 2981.46]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_marker_Skal_Twr2 = _this;
// Skalyisky Tower Guards 3
_this = createMarker ["SAR_marker_Skal_Twr3", [13655.2, 2893.33]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_marker_Skal_Twr3 = _this;
// Skalyisky Tower Guards 4
_this = createMarker ["SAR_marker_Skal_Twr4", [13748.9, 2861.38]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_marker_Skal_Twr4 = _this;
// Skalyisky Base Patrol 1
_this = createMarker ["SAR_marker_Skal_BPtrl1", [13706.8, 2877.11]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [35, 25];
_this setMarkerDir 133;
SAR_marker_Skal_BPtrl1 = _this;
// Skalyisky Base Patrol 2
_this = createMarker ["SAR_marker_Skal_BPtrl2", [13698.7, 2915.99]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [40, 30];
_this setMarkerDir 48;
SAR_marker_Skal_BPtrl2 = _this;
// Skalyisky Base Patrol 3
_this = createMarker ["SAR_marker_Skal_BPtrl3", [13689.5, 2955.41]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [30, 26];
_this setMarkerDir 47;
SAR_marker_Skal_BPtrl3 = _this;
// Skalyisky Island Patrol 1
_this = createMarker ["SAR_marker_Skal_IPtrl1", [13985.6, 2852]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [180, 100];
_this setMarkerDir 296;
SAR_marker_Skal_IPtrl1 = _this;
// Skalyisky Island Patrol 2
_this = createMarker ["SAR_marker_Skal_IPtrl2", [13536.1, 2926.63]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [280, 100];
_this setMarkerDir 29;
SAR_marker_Skal_IPtrl2 = _this;
// Skalyisky Island Patrol 3
_this = createMarker ["SAR_marker_Skal_IPtrl3", [13365.2, 3257.31]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [280, 150];
_this setMarkerDir 60;
SAR_marker_Skal_IPtrl3 = _this;
// NWAF Patrol
_this = createMarker ["SAR_marker_NWAF_Ptrl", [4627.57, 10198.8]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [300, 500];
_this setMarkerDir 152;
SAR_marker_NWAF_Ptrl = _this;
// Map Patrol 1 NW
_this = createMarker ["SAR_marker_Map_Ptrl1", [4859.8, 7910]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [1500, 1000];
_this setMarkerDir 1;
SAR_marker_Map_Ptrl1 = _this;
// Map Patrol 2 NE
_this = createMarker ["SAR_marker_Map_Ptrl2", [11485.3, 11336.1]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [2000, 1750];
_this setMarkerDir 270;
SAR_marker_Map_Ptrl2 = _this;
// Map Patrol 3 S
_this = createMarker ["SAR_marker_Map_Ptrl3", [8415.32, 2855.96]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 1;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [1800, 1200];
_this setMarkerDir 359;
SAR_marker_Map_Ptrl3 = _this;
Now Here is my actual static Spawn settings
Code:
[SAR_marker_Skal_Twr1,3,0,0,"Patrol",true] call SAR_AI;
[SAR_marker_Skal_Twr2,3,1,0,"Patrol",true] call SAR_AI;
[SAR_marker_Skal_Twr3,3,0,0,"Patrol",true] call SAR_AI;
[SAR_marker_Skal_Twr4,3,1,0,"Patrol",true] call SAR_AI;
[SAR_marker_Skal_BPtrl1,3,0,1,"Patrol",true] call SAR_AI;
[SAR_marker_Skal_BPtrl2,3,0,2,"Patrol",true] call SAR_AI;
[SAR_marker_Skal_BPtrl3,3,0,1,"Patrol",true] call SAR_AI;
[SAR_marker_Skal_IPtrl1,3,0,2,"Patrol",true] call SAR_AI;
[SAR_marker_Skal_IPtrl2,3,0,2,"Patrol",true] call SAR_AI;
[SAR_marker_Skal_IPtrl3,3,0,2,"Patrol",true] call SAR_AI;
[SAR_marker_NWAF_Ptrl,3,0,3,"Patrol",true] call SAR_AI;
[SAR_marker_NWAF_Ptrl,3,0,3,"Patrol",true] call SAR_AI;
[SAR_marker_NWAF_Ptrl,3,0,3,"Patrol",true] call SAR_AI;
[SAR_marker_Map_Ptrl1,3,1,2,"Patrol",true] call SAR_AI;
[SAR_marker_Map_Ptrl2,3,1,2,"Patrol",true] call SAR_AI;
[SAR_marker_Map_Ptrl3,3,1,2,"Patrol",true] call SAR_AI;
Ok, So lets look at the NWAF patrols for example. All 3 patrol groups SHOULD have 4 men. I'm looking at them on my map, and looking at them out of my map. 1 Group spawned 1 guy, 1 group spawned 2, and 1 group spawned 3.
Here is what I THINK is wrong on this in SAR_config //CONFIRMED. PROBLEM FIXED.
Code:
SAR_soldier_band_list = ['Bandit1_DZ', 'BanditW1_DZ',"","",""]; // the potential classes of the bandit of a soldier group
All three groups are just standing there where they spawned, not moving.
I can see the Dynamic groups, they are spawning and moving just fine. But EVERY static group I have set has not moved.
Final Issue
In SAR_config I have the following
Code:
// maximum number of groups / grid
SAR_max_grps_bandits = 1;
SAR_max_grps_soldiers = 1;
SAR_max_grps_survivors = 1;
If you have it setup in SAR_CFG_GRPS_Chernarus like this
Code:
// Balota, 1 bandit groups, 0 soldier groups, 2 survivor groups - spawn probability ba,so,su - maximum group members ba,so,su
_check = [["max_grps","rnd_grps","max_p_grp"],[[2,0,2],[80,0,80],[2,0,3]],"SAR_area_1_0"] call SAR_AI_mon_upd;
it will ignore SAR_config and spawn up to the max groups you've allowed on this part of code. Not really a big issue, but I thought I would report it anyways. (also, I realise the // comment is incorrect. I know how to read it all now so I didn't bother changing it