Jump to content

Sarge AI for Napf & Sauerland (download inside)


ilganna

Recommended Posts

Hi Guys,

 

I setup successfully Sarge AI on Napf & Sauerland and I would like to share with you the edited pack.

 

Follow the install.txt and you should be ok (no need to change hacker & cleanup files)

Few notes:

 

1. removed unecessary map grids & grps info (saving 100+kb)

2. Only dynamic spawn, no static one (to be manually added)

3. No heli patrol / Vehicle (to be manually added)

 

You may edit the config file (SAR_config.sqf - do not edit other files!) with your liking since I have increased the number of AI per grid, gave better weapons to snipers, changed clothes etc...

 

Thanks,

 

Michel

 

P.S. All credits go to Sarge, I do not own nothing :)

Sarge AI Sauerlands.zip.zip

Sarge Napf.zip

Link to comment
Share on other sites

why didnt you just include both in same download, this is just confusing for someone, that does not know any better.

 

also, the part you deleted is the dynamic spawn areas, which is needed to spawn ai's around the map. (does any ai even spawn on your map?)

 

heres what would be better:

add both names in the switch in SAR_AI_init.sqf and add all files to the map_config folder

 

idk if you checked the grid, how it looks on the map, but you can set it to show the grids by setting SAR_DEBUG to true in SAR_config.sqf, then first player on the map will see the grid.

 

heres my files for napf, including grid areas for dynamic grid spawning ai + ai heli areas at airfield's and patrols spawned by the mansion at Magden: (just comment them out if you dont want those)

http://pastebin.com/5cZ4nJ0A

http://pastebin.com/EUu5WMqD

Link to comment
Share on other sites

Hi,

Thanks for the suggestion to pack in one file, but since I don't want useless stuff inside the conf files (why having other maps when are you using one?) I do want to keep my files clean :-)

The part deleted are static spawns, on my server AI spawns dynamically correctly.

I did the grid calculation on the fly, I tried to teleport around and it works (AI spawns as soon as I teleport).

I may add content later.

Thanks,

Michel

Link to comment
Share on other sites

iv noticed a few ai are invisable, could some of the skins you have added not be part of epoch and not showing?

 

They should all be visible, I took the reference skins from:

 

http://dayzepoch.com/wiki/index.php?title=More_Wearable_Clothing

 

On my server I see all AIs, so please check your RPT for any issues.

 

If you are not so RPT friendly, just change the skins list in SAR_config.sqf from line 271.

 

Thx!

 

Michel

Link to comment
Share on other sites

Hello guys,

 

I've investigated further and found carl101 issue (invisible AI):

 

it seems that is a bug on Sarge 1.5 and here's the fix for it:

 

http://opendayz.net/threads/1-5-or-1-6.11631/#post-58926

 

I'll try to play a bit with releases and see if I will be able to install a prior release bug free. (then posting again here)

 

Thanks!

 

Michel

Link to comment
Share on other sites

  • 4 months later...

I've put your modified Sarge AI for Napf in which is working well, I just have an error popping up in the logs that I can't work out what's causing it, any ideas?

 

10:23:40 Error in expression <R_AI_debug;
};
 
 
_npc setVehicleVarname _leadername;
_npc setVariable ["SAR_lead>
10:23:40   Error position: <_leadername;
_npc setVariable ["SAR_lead>
10:23:40   Error Undefined variable in expression: _leadername
10:23:40 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\UPSMON\common\MON_functions.sqf, line 2063
10:23:40 Error in expression <R_AI_debug;
};
 
 
_npc setVehicleVarname _leadername;
_npc setVariable ["SAR_lead>
10:23:40   Error position: <_leadername;
_npc setVariable ["SAR_lead>
10:23:40   Error Undefined variable in expression: _leadername
10:23:40 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\UPSMON\common\MON_functions.sqf, line 2063
10:23:55 Error in expression <KRON_UPS_>
10:23:55   Error position: <KRON_UPS_>
10:23:55   Error Undefined variable in expression: kron_ups_
10:23:55 Error in expression <ormat ["KRON_UPS_%1",_npcname]];};
 
if (_cont==0) then { 
_exit=true;
};
 
if ((_>
10:23:55   Error position: <_cont==0) then { 
_exit=true;
};
 
if ((_>
10:23:55   Error Undefined variable in expression: _cont
10:23:55 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\upsmon.sqf, line 2496

Link to comment
Share on other sites

getting these errors....

 

 

 

if ((_chk_count != 0) && {count dayz_serverOb>
 9:30:33   Error position: <_chk_count != 0) && {count dayz_serverOb>
 9:30:33   Error Undefined variable in expression: _chk_count
 9:30:33 File mpmissions\__cur_mp.Napf\addons\SARGE\SAR_vehicle_fix.sqf, line 36
 9:30:33 Error in expression <
while {_loop} do {


_chk_count = count dayz_serverObjectMonitor;


sleep 5;


if >
 9:30:33   Error position: <dayz_serverObjectMonitor;


sleep 5;


if >
 9:30:33   Error Undefined variable in expression: dayz_serverobjectmonitor
 9:30:33 File mpmissions\__cur_mp.Napf\addons\SARGE\SAR_vehicle_fix.sqf, line 32
 9:30:41 Error in expression <yz_serverObjectMonitor;
Link to comment
Share on other sites

Yeah I'm testing this on my test server right now and I'm getting pages and pages of errors....

 

1:22:08 "_cont = 1 for leader: KRON_UPS_SAR_leader_41"
 1:22:10 Error in expression <SAR_fightmode","not defined"];
 
switch (_fightmode) do 
{
case "walk":
{
_obj_te>
 1:22:10   Error position: <_fightmode) do 
{
case "walk":
{
_obj_te>
 1:22:10   Error Undefined variable in expression: _fightmode
 1:22:10 File mpmissions\DayZ_Overpoch_1.Napf\addons\SARGE\SAR_functions.sqf, line 175
 1:22:11 "_cont = 1 for leader: KRON_UPS_SAR_leader_42"
 1:22:12 "_cont = 1 for leader: KRON_UPS_SAR_leader_43"
 1:22:12 Error in expression <SAR_fightmode","not defined"];
 
 
 1:48:33 Error in expression <R_AI_debug;
};
 
 
_npc setVehicleVarname _leadername;
_npc setVariable ["SAR_lead>
 1:48:33   Error position: <_leadername;
_npc setVariable ["SAR_lead>
 1:48:33   Error Undefined variable in expression: _leadername
 1:48:33 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\UPSMON\common\MON_functions.sqf, line 2063
 1:48:33 Error in expression <R_AI_debug;
};
 
 
_npc setVehicleVarname _leadername;
_npc setVariable ["SAR_lead>
 1:48:33   Error position: <_leadername;
_npc setVariable ["SAR_lead>
 1:48:33   Error Undefined variable in expression: _leadername
 1:48:33 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\UPSMON\common\MON_functions.sqf, line 2063
 1:48:35 Error in expression <KRON_UPS_>
 1:48:35   Error position: <KRON_UPS_>
 1:48:35   Error Undefined variable in expression: kron_ups_
 1:48:35 "_cont = any for leader: KRON_UPS_"
 1:48:35 Error in expression <og format ["_cont = %1 for leader: %2", _cont, format ["KRON_UPS_%1",_npcname]];>
 1:48:35   Error position: <_cont, format ["KRON_UPS_%1",_npcname]];>
 1:48:35   Error Undefined variable in expression: _cont
 1:48:35 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\upsmon.sqf, line 2494
 1:48:35 Error in expression <ormat ["KRON_UPS_%1",_npcname]];};
 
if (_cont==0) then { 
_exit=true;
};
 
if ((_>
 1:48:35   Error position: <_cont==0) then { 
_exit=true;
};
 
if ((_>
 1:48:35   Error Undefined variable in expression: _cont
 1:48:35 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\upsmon.sqf, line 2496
 1:48:45 "_cont = 1 for leader: KRON_UPS_SAR_leader_49"
 1:48:56 "_cont = 1 for leader: KRON_UPS_SAR_leader_7"
 1:49:18 "_cont = 1 for leader: KRON_UPS_SAR_leader_49"
 1:49:24 "_cont = 1 for leader: KRON_UPS_SAR_leader_35"
 1:49:26 "_cont = 1 for leader: KRON_UPS_SAR_leader_5"
 1:49:35 "_cont = 1 for leader: KRON_UPS_SAR_leader_20"
 1:49:37 Error in expression <KRON_UPS_>
 1:49:37   Error position: <KRON_UPS_>
 1:49:37   Error Undefined variable in expression: kron_ups_
 1:49:37 "_cont = any for leader: KRON_UPS_"
 1:49:37 Error in expression <og format ["_cont = %1 for leader: %2", _cont, format ["KRON_UPS_%1",_npcname]];>
 1:49:37   Error position: <_cont, format ["KRON_UPS_%1",_npcname]];>
 1:49:37   Error Undefined variable in expression: _cont
 1:49:37 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\upsmon.sqf, line 2494
 1:49:37 Error in expression <ormat ["KRON_UPS_%1",_npcname]];};
 
if (_cont==0) then { 
_exit=true;
};
 
if ((_>
 1:49:37   Error position: <_cont==0) then { 
_exit=true;
};
 
if ((_>
 1:49:37   Error Undefined variable in expression: _cont
 1:49:37 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\upsmon.sqf, line 2496

 
Plus lots more, was there anything else altered from standard in this Sarge AI?
Link to comment
Share on other sites

 

Yeah I'm testing this on my test server right now and I'm getting pages and pages of errors....

 

1:22:08 "_cont = 1 for leader: KRON_UPS_SAR_leader_41"
 1:22:10 Error in expression <SAR_fightmode","not defined"];
 
switch (_fightmode) do 
{
case "walk":
{
_obj_te>
 1:22:10   Error position: <_fightmode) do 
{
case "walk":
{
_obj_te>
 1:22:10   Error Undefined variable in expression: _fightmode
 1:22:10 File mpmissions\DayZ_Overpoch_1.Napf\addons\SARGE\SAR_functions.sqf, line 175
 1:22:11 "_cont = 1 for leader: KRON_UPS_SAR_leader_42"
 1:22:12 "_cont = 1 for leader: KRON_UPS_SAR_leader_43"
 1:22:12 Error in expression <SAR_fightmode","not defined"];
 
 
 1:48:33 Error in expression <R_AI_debug;
};
 
 
_npc setVehicleVarname _leadername;
_npc setVariable ["SAR_lead>
 1:48:33   Error position: <_leadername;
_npc setVariable ["SAR_lead>
 1:48:33   Error Undefined variable in expression: _leadername
 1:48:33 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\UPSMON\common\MON_functions.sqf, line 2063
 1:48:33 Error in expression <R_AI_debug;
};
 
 
_npc setVehicleVarname _leadername;
_npc setVariable ["SAR_lead>
 1:48:33   Error position: <_leadername;
_npc setVariable ["SAR_lead>
 1:48:33   Error Undefined variable in expression: _leadername
 1:48:33 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\UPSMON\common\MON_functions.sqf, line 2063
 1:48:35 Error in expression <KRON_UPS_>
 1:48:35   Error position: <KRON_UPS_>
 1:48:35   Error Undefined variable in expression: kron_ups_
 1:48:35 "_cont = any for leader: KRON_UPS_"
 1:48:35 Error in expression <og format ["_cont = %1 for leader: %2", _cont, format ["KRON_UPS_%1",_npcname]];>
 1:48:35   Error position: <_cont, format ["KRON_UPS_%1",_npcname]];>
 1:48:35   Error Undefined variable in expression: _cont
 1:48:35 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\upsmon.sqf, line 2494
 1:48:35 Error in expression <ormat ["KRON_UPS_%1",_npcname]];};
 
if (_cont==0) then { 
_exit=true;
};
 
if ((_>
 1:48:35   Error position: <_cont==0) then { 
_exit=true;
};
 
if ((_>
 1:48:35   Error Undefined variable in expression: _cont
 1:48:35 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\upsmon.sqf, line 2496
 1:48:45 "_cont = 1 for leader: KRON_UPS_SAR_leader_49"
 1:48:56 "_cont = 1 for leader: KRON_UPS_SAR_leader_7"
 1:49:18 "_cont = 1 for leader: KRON_UPS_SAR_leader_49"
 1:49:24 "_cont = 1 for leader: KRON_UPS_SAR_leader_35"
 1:49:26 "_cont = 1 for leader: KRON_UPS_SAR_leader_5"
 1:49:35 "_cont = 1 for leader: KRON_UPS_SAR_leader_20"
 1:49:37 Error in expression <KRON_UPS_>
 1:49:37   Error position: <KRON_UPS_>
 1:49:37   Error Undefined variable in expression: kron_ups_
 1:49:37 "_cont = any for leader: KRON_UPS_"
 1:49:37 Error in expression <og format ["_cont = %1 for leader: %2", _cont, format ["KRON_UPS_%1",_npcname]];>
 1:49:37   Error position: <_cont, format ["KRON_UPS_%1",_npcname]];>
 1:49:37   Error Undefined variable in expression: _cont
 1:49:37 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\upsmon.sqf, line 2494
 1:49:37 Error in expression <ormat ["KRON_UPS_%1",_npcname]];};
 
if (_cont==0) then { 
_exit=true;
};
 
if ((_>
 1:49:37   Error position: <_cont==0) then { 
_exit=true;
};
 
if ((_>
 1:49:37   Error Undefined variable in expression: _cont
 1:49:37 File mpmissions\DayZ_Overpoch_1.Napf\addons\UPSMON\scripts\upsmon.sqf, line 2496

 
Plus lots more, was there anything else altered from standard in this Sarge AI?

 

Please share if you find fixes for the tons of errors I am getting too.

Link to comment
Share on other sites

  • 4 months later...

Hello, help with the error, if! _water then {
if (surfaceIsWater _pos)>
11:14:50 AM Error position: <! _water then {
if (surfaceIsWater _pos)>
11:14:50 AM Error!: Type Number, expected Bool
11:14:50 AM File mpmissions \__ cur_mp.sauerland\addons\shk_pos\shk_pos_getpos.sqf, line 41 Thanks in advance.

Link to comment
Share on other sites

Still the such. _npc setVehicleVarname _leadername;
_npc setVariable ["SAR_lead>
11:30:49 AM Error position: <_leadername;
_npc setVariable ["SAR_lead>
11:30:49 AM Error Undefined variable in expression: _leadername
11:30:49 AM File mpmissions \__ cur_mp.sauerland\addons\UPSMON\scripts\UPSMON\common\MON_functions.sqf, line 2063
11:30:51 AM Error in expression <R_AI_debug;
};


_npc setVehicleVarname _leadername;
_npc setVariable ["SAR_lead>
11:30:51 AM Error position: <_leadername;
_npc setVariable ["SAR_lead>
11:30:51 AM Error Undefined variable in expression: _leadername
11:30:51 AM File mpmissions \__ cur_mp.sauerland\addons\UPSMON\scripts\UPSMON\common\MON_functions.sqf, line 2063

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...