SARGE AI Framework - Public Release

Status
Not open for further replies.
Sarge
thanks for all your hard work on this Ive had it working really well from the first day it was installed, at the minute I'm making a mission type update to Lingor and have been wondering if its possible to trigger NPC's using a trigger?
I can do it through the editor using Upsmon but its really glitchy using it with dayz.

The kind of thing I wanted to do for example is to make a trigger with a countdown timer and set to blufor present so when the timer reaches zero a patrol will spawn in the area of the player even better if it can be a vehicle.

Cheers Thebes
 
Thank you so much for the NPCs. Really appreciate it and I have been using them since the last version. :p

I am having issues with helicopters spawning, or ai in general.... here is what I have:

Code:
22:48:17 Warning: z\addons\dayz_communityassets\models\compass.p3d:0 Error while trying to generate ST for points: 863, 853, 852
22:48:19 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:19  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:19  Error Type Any, expected Number
22:48:19 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:19 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:19  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:19  Error Type Any, expected Number
22:48:19 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:19 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:19  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:19  Error Type Any, expected Number
22:48:19 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:20 Error in expression <protect",true,true];
 
 
_leader = _group createunit [_leader_group, [(_rndpos sel>
22:48:20  Error position: <createunit [_leader_group, [(_rndpos sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 104
22:48:20 Error in expression <nipers}, {_i=_i+1}] do
{
_this = _group createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error position: <createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 142
22:48:20 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:20 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:20 Error in expression <protect",true,true];
 
 
_leader = _group createunit [_leader_group, [(_rndpos sel>
22:48:20  Error position: <createunit [_leader_group, [(_rndpos sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 104
22:48:20 "DEBUG Damage: Added to NeedUpdate=133fd0c0# 1055619: volha.p3d"
22:48:20 Error in expression <nipers}, {_i=_i+1}] do
{
_this = _group createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error position: <createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 142
22:48:20 Error in expression <nipers}, {_i=_i+1}] do
{
_this = _group createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error position: <createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 142
22:48:20 Error in expression <nipers}, {_i=_i+1}] do
{
_this = _group createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error position: <createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 142
22:48:20 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:20 Error in expression <protect",true,true];
 
 
_leader = _group createunit [_leader_group, [(_rndpos sel>
22:48:20  Error position: <createunit [_leader_group, [(_rndpos sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 104
22:48:20 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:20 "1: New instance <null>  "
22:48:20 "1 There is no alive members 1 OBJECT "
22:48:20 Error in expression <protect",true,true];
 
 
_leader = _group createunit [_leader_group, [(_rndpos sel>
22:48:20  Error position: <createunit [_leader_group, [(_rndpos sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 104
22:48:20 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:20 Error in expression <flemen}, {_i=_i+1}] do
{

This message keeps going and going....

What do you think is the problem? :s
 
I am trying to figure this out. I've been running a DayZ server of one flavor or another for about a year and my players are asking for me to implement this AI script to liven stuff up. I'm reading through the directions and I am getting a little lost.

I seem to have two missions.pbo file (Combined Operations\Addons\Missions.pbo, which is 34+MB, and the other one which is CombinedOperations\Common\Missions.pbo, which is 2+MB). So I am trying to figure out which one is the appropriate missions.pbo to add ADDONS to.

Also, I do not see a "Server_Cleanup.fsm" other than the one in my "dayz_server.pbo." So if that's the correct one, I need to unpbo that file, make the edit, and repbo it correct?

I am running DayZEpoch, and hope that this mission AI works with it. I appreciate any/all help ^_^
 
I am trying to figure this out. I've been running a DayZ server of one flavor or another for about a year and my players are asking for me to implement this AI script to liven stuff up. I'm reading through the directions and I am getting a little lost.

I seem to have two missions.pbo file (Combined Operations\Addons\Missions.pbo, which is 34+MB, and the other one which is CombinedOperations\Common\Missions.pbo, which is 2+MB). So I am trying to figure out which one is the appropriate missions.pbo to add ADDONS to.

Also, I do not see a "Server_Cleanup.fsm" other than the one in my "dayz_server.pbo." So if that's the correct one, I need to unpbo that file, make the edit, and repbo it correct?

I am running DayZEpoch, and hope that this mission AI works with it. I appreciate any/all help ^_^

Your looking for the "Combined Operations\Addons\Missions.pbo" you will need to unpack it and add the mod files into the mission PBO then re pack it. Along with unpacking your dayz_server.pbo making the edit and re packing it. Pboview is a good program for that. As for Epoch being supported I don't think it is...? I am most likely wrong on that as the girlfriend likes to remind me.
 
I tried the Addons\mission.pbo, and ended up getting this error message:

ErrorMessage: Include file mpmissions\DayZ_Epoch_11.Chernarus\addons\SARGE\SAR_define.hpp not found.

So I am assuming I might have editted the wrong init.sqf and description.ext. Where would those be located?
 
they should be packed inside your mission PBO. If you have TS3 your welcome to jump on mine and I could help ya.

Name:Shadow Company Elite
Address:63.210.145.2:9101
 
Sarge, is there any way to make it so that helicopter pilots have their own loot table so that we can reward people for shooting them down?

Beyond great mod, by the way. I had no problems with install and it ran perfect from the start. A+
 
Thank you so much for the NPCs. Really appreciate it and I have been using them since the last version. :p

I am having issues with helicopters spawning, or ai in general.... here is what I have:

Code:
22:48:17 Warning: z\addons\dayz_communityassets\models\compass.p3d:0 Error while trying to generate ST for points: 863, 853, 852
22:48:19 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:19  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:19  Error Type Any, expected Number
22:48:19 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:19 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:19  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:19  Error Type Any, expected Number
22:48:19 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:19 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:19  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:19  Error Type Any, expected Number
22:48:19 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:20 Error in expression <protect",true,true];
 
 
_leader = _group createunit [_leader_group, [(_rndpos sel>
22:48:20  Error position: <createunit [_leader_group, [(_rndpos sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 104
22:48:20 Error in expression <nipers}, {_i=_i+1}] do
{
_this = _group createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error position: <createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 142
22:48:20 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:20 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:20 Error in expression <protect",true,true];
 
 
_leader = _group createunit [_leader_group, [(_rndpos sel>
22:48:20  Error position: <createunit [_leader_group, [(_rndpos sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 104
22:48:20 "DEBUG Damage: Added to NeedUpdate=133fd0c0# 1055619: volha.p3d"
22:48:20 Error in expression <nipers}, {_i=_i+1}] do
{
_this = _group createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error position: <createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 142
22:48:20 Error in expression <nipers}, {_i=_i+1}] do
{
_this = _group createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error position: <createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 142
22:48:20 Error in expression <nipers}, {_i=_i+1}] do
{
_this = _group createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error position: <createunit [_sniperlist call BIS_fnc_sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 142
22:48:20 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:20 Error in expression <protect",true,true];
 
 
_leader = _group createunit [_leader_group, [(_rndpos sel>
22:48:20  Error position: <createunit [_leader_group, [(_rndpos sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 104
22:48:20 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:20 "1: New instance <null>  "
22:48:20 "1 There is no alive members 1 OBJECT "
22:48:20 Error in expression <protect",true,true];
 
 
_leader = _group createunit [_leader_group, [(_rndpos sel>
22:48:20  Error position: <createunit [_leader_group, [(_rndpos sel>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 104
22:48:20 Error in expression <flemen}, {_i=_i+1}] do
{
_this = _group createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error position: <createunit [_riflemenlist call BIS_fnc_s>
22:48:20  Error Type Any, expected Number
22:48:20 File mpmissions\__cur_mp.chernarus\addons\SARGE\SAR_setup_AI_patrol.sqf, line 159
22:48:20 Error in expression <flemen}, {_i=_i+1}] do
{

This message keeps going and going....

What do you think is the problem? :s

you have an error in your definition of leader and riflemen classes.
 
Sarge, is there any way to make it so that helicopter pilots have their own loot table so that we can reward people for shooting them down?

Beyond great mod, by the way. I had no problems with install and it ran perfect from the start. A+

Thx, good to hear this!

i noted down the special loot for heli pilots as a feature to add in my requirements list, at the moment they have the same loot as the group leaders.

cheers, Sarge
 
Is it possible to edit the config to lower the time at which the groups respawn after being killed?

SAR_Config.sqf line 91

// time after which AI are respawned if configured
SAR_respawn_waittime = 30; // default 30 seconds
 
Urgh, I keep trying the Heli Patrol crash fix but when i try and join it just says Requesting Authentication and keeps doing it and then it says Something went wrong, how can I fix this?
 
Is there an easy way to cause the soldier groups to be hostile with all, such as bandits? My server also likes the markers on the map so that players can hunt (I have low value loot on the AI mixed with mid-level assault rifles and acog-style snipers) so is there a way to have them show with a different color as well on the map marker?

As well,

What would

SAR_dynamic_group_respawn = true; do?

I know that on my server it constantly spawns AI and the interval number increases. Would this simply respawn the squad with the same number if there are players in the area to trigger?
 
Is there an easy way to cause the soldier groups to be hostile with all, such as bandits? My server also likes the markers on the map so that players can hunt (I have low value loot on the AI mixed with mid-level assault rifles and acog-style snipers) so is there a way to have them show with a different color as well on the map marker?

As well,

What would

SAR_dynamic_group_respawn = true; do?

I know that on my server it constantly spawns AI and the interval number increases. Would this simply respawn the squad with the same number if there are players in the area to trigger?

Set the humanity level to 50000, that will make all AI hostile to anyone below 50000 humanity.

Bandits and Soldiers are being shown already on the map ?

SAR_dynamic_group_respawn does what it says ... it respawns the dynamic grid spawns when killed.

What do you mean by "the interval number increases" ?
 
Status
Not open for further replies.
Back
Top