Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
you can use SAR_cfg_grps_chernarus.sqf for simply controlling your static AI.
Keep in mind there's a new parameter to the function calls, the last one is if to respawn or not.
Did i understand your question right ?![]()
//
// grid definition for the automatic spawn system
//
// Kamenka, 0 bandit groups, 1 soldier groups, 2 survivor groups - spawn probability ba,so,su - maximum group members ba,so,su
_check = [["max_grps","rnd_grps","max_p_grp"],[[1,1,1],[79,100,100],[1,1,1]],"SAR_area_0_0"] call SAR_AI_mon_upd;
// 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,1],[80,0,80],[1,0,1]],"SAR_area_1_0"] call SAR_AI_mon_upd;
// Cherno, 2 bandit groups, 0 soldier groups, 3 survivor groups - spawn probability ba,so,su - maximum group members ba,so,su
_check = [["max_grps","rnd_grps","max_p_grp"],[[3,1,2],[90,70,75],[1,1,1]],"SAR_area_2_0"] call SAR_AI_mon_upd;
lol nonononono, you need these if you use the dynamic grid system.
The above are GRID AI setups, those are being applied IF you switch on the dynamic grid spawning system,
so you can overwrite the default definitions.
Further down that file you see the static group definitions.
You want to use static for e.g. specific location protection / roaming / ambush whatever.
// -----------------------------------------------
// enable or disable dynamic grid spawning
// -----------------------------------------------
SAR_dynamic_spawning = false;
// -----------------------------------------------
// default values for dynamic grid spawning
// -----------------------------------------------
// maximum number of groups / grid
SAR_max_grps_bandits = 2;
SAR_max_grps_soldiers = 1;
SAR_max_grps_survivors = 1;
Think of installing this in my server, one quick question, can you make it so solider AIs (friendly to players) would shoot back at players that shoot at them?
Oh and is it possible to have a AI convoy that say on Taviana go round the main highway?
Then it's Dayz deleting the bodies that fast ... Depending on your fsm, the limit is 300 on some versions.
You can try to increase that number.
So the default values for dynamic grid spawning settings, only apply when the sar_dynamic_spawning option is set to false? If that's right, then I am on the same page as you now..
Code:// ----------------------------------------------- // enable or disable dynamic grid spawning // ----------------------------------------------- SAR_dynamic_spawning = false; // ----------------------------------------------- // default values for dynamic grid spawning // ----------------------------------------------- // maximum number of groups / grid SAR_max_grps_bandits = 2; SAR_max_grps_soldiers = 1; SAR_max_grps_survivors = 1;
Think of installing this in my server, one quick question, can you make it so solider AIs (friendly to players) would shoot back at players that shoot at them?
Oh and is it possible to have a AI convoy that say on Taviana go round the main highway?
Soldier and Survivor AI that is being shot at is immediately firing back .-)
The convoy is out of scope for this framework - although, if i think about it, hmmmmm worth a try.
IF you define a helicopter patrol with a normal vehicle, they will only use roads, and travel to random waypoints im a defined area ... so if you define the area for the highway, it could work.
Might spend a bit more time on that in a future release.
See my post here http://opendayz.net/threads/sarge-ai-framework-public-release.8391/page-34#post-31971 for creating a static spawn base patrol.I have a npc base how can I add npcs to the base?
21:55:24 "CLEANUP: DELETING A GROUP: B 1-1-A"
21:55:24 "CLEANUP: DELETING A GROUP: B 1-1-I"
21:55:24 "CLEANUP: DELETING A GROUP: B 1-1-F"
21:55:24 "CLEANUP: DELETING A GROUP: B 1-1-A"
21:55:24 "CLEANUP: DELETING A GROUP: B 1-1-I"
21:55:24 "CLEANUP: DELETING A GROUP: B 1-1-F"
21:55:24 "CLEANUP: DELETING A GROUP: B 1-1-A"
21:55:24 "CLEANUP: DELETING A GROUP: B 1-1-I"
// -----------------------------------------------
// run fix for the issue that bandits cant travel in a vehicle with survivors EXPERIMENTAL, might not work 100% DO NOT ENABLE for the time being
// -----------------------------------------------
SAR_FIX_VEHICLE_ISSUE = false;
Lol nope, seems we are reading a different book
IF you set SAR_dynamic_spawning to true, the default values that you posted are for grids that have no config entry in the chernarus_xxx config file.
IF you set SAR_dynamic_spawning to false, the above lines are not considered AS WELL as the lines at the start of the map config file, only the static spawns that you define in chernarus_xxx a bit further down are considered.
Got it ? ;-).
How do i edit their spawn points?