Can't get 2 bandit groups to spawn in

Warthog

New Member
Here is the two groups that I am having issues getting to spawn. (I made a little base and I want them to attack anyone who comes near or in it, if this seems wrong or you have any suggestions please let me know)
Doing it through the static spawn option

// PVP Base
_this = createMarker ["SAR_patrol_base", [3871.49, 5088.57, 0]]
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_marker_base = _this

// PVP Custom
_this = createMarker ["SAR_patrol_custom", [3871.49,5088.57,0]]
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_marker_base = _this

//PVP Base
[SAR_marker_base,3,5,15,"fortify",true] call SAR_AI;

//PVP Custom
[SAR_marker_custom,3,3,10,"ambush",true] call SAR_AI;

Is there a way to make sure that these will spawn 100% of the time? I would put them in grid but I'm not sure how to do so with Fallujah.
I tried to follow the same way as the other AI placements that work, not sure what error I made. If anyone who sees this and runs a fallujah map, please tell me how you are doing the grid definition spawns, I can only get static to work.
 
Here is the two groups that I am having issues getting to spawn. (I made a little base and I want them to attack anyone who comes near or in it, if this seems wrong or you have any suggestions please let me know)
Doing it through the static spawn option

// PVP Base
_this = createMarker ["SAR_patrol_base", [3871.49, 5088.57, 0]]
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_patrol_base = _this

// PVP Custom
_this = createMarker ["SAR_patrol_custom", [3871.49,5088.57,0]]
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_patrol_custom = _this

//PVP Base
[SAR_patrol_base,3,5,15,"fortify",true] call SAR_AI;

//PVP Custom
[SAR_patrol_custom,3,3,10,"ambush",true] call SAR_AI;

Is there a way to make sure that these will spawn 100% of the time? I would put them in grid but I'm not sure how to do so with Fallujah.
I tried to follow the same way as the other AI placements that work, not sure what error I made. If anyone who sees this and runs a fallujah map, please tell me how you are doing the grid definition spawns, I can only get static to work.

I think the above will work.
 
I would try making the groups smaller and just putting them in 3/4 times eg.

//PVP Base
[SAR_patrol_base,3,0,5,"fortify",true] call SAR_AI;
[SAR_patrol_base,3,0,5,"fortify",true] call SAR_AI;
[SAR_patrol_base,3,0,5,"fortify",true] call SAR_AI;
[SAR_patrol_base,3,5,0,"fortify",true] call SAR_AI;
 
@monkeyshlut That didn't work either.

// Hangar East
_this = createMarker ["SAR_patrol_hangareast", [8294.14, 2050.6, 0.082]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_marker_hangareast = _this;

// Firehouse AF
_this = createMarker ["SAR_patrol_firehouse", [7892.68, 2067.22, 0.039]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_marker_firehouse = _this;

// PVP FOB
_this = createMarker ["SAR_patrol_pvpfob", [4024.74, 3391.39, 0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_marker_pvpfob = _this;

// North AF
_this = createMarker ["SAR_patrol_naf", [2916.64, 6386.32, 0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_marker_naf = _this;

// South Bridge
_this = createMarker ["SAR_patrol_south", [4045.88, 681.813, 0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_marker_south = _this;

// Hospital
_this = createMarker ["SAR_patrol_hospital", [5532.57, 207.763, 0.001]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_marker_hospital = _this;

// PVP Base
_this = createMarker ["SAR_patrol_base", [3871.49, 5088.57, 0]]
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_patrol_base = _this

// PVP Custom
_this = createMarker ["SAR_patrol_custom", [3871.49,5088.57,0]]
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [5, 5];
SAR_patrol_custom = _this

-------------------------------------------
//Hangar East
[SAR_marker_hangareast,1,2,4,"fortify",true] call SAR_AI;

//Firehouse AF
[SAR_marker_firehouse,1,2,4,"fortify",true] call SAR_AI;

//PVP FOB
[SAR_marker_pvpfob,2,3,6,"fortify",true] call SAR_AI;

//North AF
[SAR_marker_naf,1,2,4,"fortify",true] call SAR_AI;

//South Bridge
[SAR_marker_south,3,1,4,"ambush",true] call SAR_AI;

//Hospital
[SAR_marker_hospital,1,1,4,"patrol",true] call SAR_AI;

//PVP Base
[SAR_patrol_base,3,1,4,"fortify",true] call SAR_AI;
[SAR_patrol_base,3,1,4,"fortify",true] call SAR_AI;
[SAR_patrol_base,3,1,5,"fortify",true] call SAR_AI;
[SAR_patrol_base,3,1,5,"fortify",true] call SAR_AI;

//PVP Custom
[SAR_patrol_custom,3,1,4,"ambush",true] call SAR_AI;
[SAR_patrol_custom,3,1,4,"ambush",true] call SAR_AI;
[SAR_patrol_custom,3,1,4,"ambush",true] call SAR_AI;
[SAR_patrol_custom,3,1,4,"ambush",true] call SAR_AI;

---------------------------------------------------------------
Hangar, Firehouse, FOB,NAF, south bridge, and hospital all work, but PvP Base & PvP Custom do not. Is there any noticeable difference between the two? I've scanned about 10 times and have noticed no error
 
Try changing the coordinates, I've found problems in the past where my coordinates wouldn't spawn anything in then i changed them slightly and they worked eg [3800,5160,0]] instead of [3871.49, 5088.57, 0]]

You can check them all on this site Here
 
You might also want to change the marker size from 5,5 to something a bit bigger, getting 20+ AI units to spawn in a small spot might cause an issue perhaps?
 
I probably should have mentioned I'm on fallujah, not sure if it's significant. The link you sent me is way off for Fallujah unfortunately. I will definitely raise the marker size though, would 25,25 be appropriate?
 
Yeah 25,25 would be better.

Just check that the co orrds are correct if you can, it might be work going to that part of the map, logging out and then checking your worldspace in the sql database.

Hope this helps.
 
It is currently as follows
//PVP Base
[SAR_marker_base,3,1,4,"fortify",true] call SAR_AI;
[SAR_marker_base,3,1,4,"fortify",true] call SAR_AI;
[SAR_marker_base,3,1,5,"fortify",true] call SAR_AI;
[SAR_marker_base,3,1,5,"fortify",true] call SAR_AI;

//PVP Custom
[SAR_marker_custom,3,1,4,"ambush",true] call SAR_AI;
[SAR_marker_custom,3,1,4,"ambush",true] call SAR_AI;
[SAR_marker_custom,3,1,4,"ambush",true] call SAR_AI;
[SAR_marker_custom,3,1,4,"ambush",true] call SAR_AI;

Going to see if I need to do it one by one instead, like
//PVP Base
[SAR_marker_base,3,1,4,"fortify",true] call SAR_AI;
instead of how it is
 
Has that worked?

I have a base in novy log that has 15 army ai patrolling it and my setup is this

Code:
//Novy Lug Base Spawn
[SAR_marker_patrol_novy,1,0,5,"patrol",true] call SAR_AI;
[SAR_marker_patrol_novy,1,0,5,"patrol",true] call SAR_AI;
[SAR_marker_patrol_novy,1,0,5,"patrol",true] call SAR_AI;;


Code:
//Novy, Foot Patrol
_this = createMarker ["SAR_marker_patrol_novy", [9563.24, 11307.8, 0]];
_this setMarkerShape "RECTANGLE";
_this setMarkeralpha 0;
_this setMarkerType "Flag";
_this setMarkerBrush "Solid";
_this setMarkerSize [50, 50];
SAR_marker_patrol_novy = _this;
 
your namings are screwed up.

Either you use

SAR_patrol_base in your SAR_AI calls, or you need to adjust the area definitions.

Sarge
 
So Sarge, it should be like this?
//PVP Custom
[SAR_patrol_custom,3,1,4,"patrol",true] call SAR_AI;
[SAR_patrol_custom,3,1,4,"patrol",true] call SAR_AI;
[SAR_patrol_custom,3,1,4,"patrol",true] call SAR_AI;;
 
You need to keep the same names for all your markers, look at your settings you have for eg.

SAR_MARKER_FIRESTATION

Then SAR_PATROL_FIRESTATION

They both need the same name. either Marker or Patrol.

Look at mine that I posted and you can see they are all the same..

SAR_marker_patrol_novy
 
I think the above will work.

it worked for me but only one big entry and then the smaller one twice at bottom like monkey shlut's post

use the //Admin Base Protection
[SAR_something_ambush,3,2,4,"fortify",true] call SAR_AI;
[SAR_something_ambush,3,2,4,"fortify",true] call SAR_AI;

make sure the first line of long one above is matching SAR_something_ambush don't use SAR_area

I'm talking about in your post the one you posted twice to get two groups and you can use patrol or ambush instead of fortify depends on your instance
 
Back
Top