diff --git a/sarge/SAR_aihit.sqf b/sarge/SAR_aihit.sqf index a5c3f84..99f0477 100644 --- a/sarge/SAR_aihit.sqf +++ b/sarge/SAR_aihit.sqf @@ -47,11 +47,11 @@ if ((!isNull _aikiller) && {(_playerUID != "") && {_aikiller isKindOf "Exile_Uni diag_log format["SAR_HITKILL_DEBUG: friendly AI was hit by Player %1",_aikiller]; }; - if ((random 100) > 5) then { + if ((random 100) < 3) then { _message = format["Sarge AI: Dammit %1! You are firing on a friendly group check your fire!",_aikiller_name]; _message remoteExec ["systemChat",0]; } else { - if ((random 100) < 5) then { + if ((random 100) < 3) then { _message = format["Sarge AI: %1, this was the last time you shot one of our team! We are coming for you!",_aikiller_name]; _message remoteExec ["systemChat",0]; }; diff --git a/sarge/SAR_aikilled.sqf b/sarge/SAR_aikilled.sqf index 224f79a..0cf9c92 100644 --- a/sarge/SAR_aikilled.sqf +++ b/sarge/SAR_aikilled.sqf @@ -82,13 +82,13 @@ if ((!isNull _aikiller) && {(_playerUID != "") && {_aikiller isKindOf "Exile_Uni _humankills = _aikiller getVariable["humanKills",0]; _aikiller setVariable["humanKills",_humankills+1,true]; }; - if ((random 100) > 3) then { - _message = format["%1 killed a friendly AI - sending reinforcements!",_aikiller_name]; + if ((random 100) < 3) then { + _message = format["Sarge AI: %1 killed a friendly AI - sending reinforcements!",_aikiller_name]; //[nil, nil, rspawn, [[West,"airbase"], _message], { (_this select 0) sideChat (_this select 1) }] call RE; _message remoteExec ["systemChat",0]; } else { if ((random 100) < 3) then { - _message = format["Tango down ... we offer a decent reward for the head of %1!",_aikiller_name]; + _message = format["Sarge AI: Tango down ... we offer a decent reward for the head of %1!",_aikiller_name]; //[nil, nil, rspawn, [[West,"airbase"], _message], { (_this select 0) sideChat (_this select 1) }] call RE; _message remoteExec ["systemChat",0]; }; @@ -121,12 +121,12 @@ if ((!isNull _aikiller) && {(_playerUID != "") && {_aikiller isKindOf "Exile_Uni }; if ((random 100) < 3) then { - _message = format["nice bandit kill %1!",_aikiller_name]; + _message = format["Sarge AI: Nice bandit kill %1!",_aikiller_name]; //[nil, nil, rspawn, [[West,"airbase"], _message], { (_this select 0) sideChat (_this select 1) }] call RE; _message remoteExec ["systemChat",0]; } else { if ((random 100) < 3) then { - _message = format["another bandit down ... %1 is going to be the root cause of bandit extinction :-)",_aikiller_name]; + _message = format["Sarge AI: Another bandit down ... %1 is going to be the root cause of bandit extinction :]",_aikiller_name]; //[nil, nil, rspawn, [[West,"airbase"], _message], { (_this select 0) sideChat (_this select 1) }] call RE; _message remoteExec ["systemChat",0]; }; diff --git a/sarge/SAR_config.sqf b/sarge/SAR_config.sqf index 5d86c1f..b17663d 100644 --- a/sarge/SAR_config.sqf +++ b/sarge/SAR_config.sqf @@ -130,7 +130,7 @@ SAR_heli_type = ["B_Heli_Light_01_stripped_F"]; /* -------------------------------- Do Not Edit Below. If you do the AI will not work properly. -------------------------------- */ -SAR_HC = false; +SAR_HC = true; SAR_AI_friendly_side = RESISTANCE; SAR_AI_unfriendly_side = EAST; SAR_leader_number = 0; diff --git a/sarge/SAR_trace_entities.sqf b/sarge/SAR_trace_entities.sqf index 99d3c24..0b51d4a 100644 --- a/sarge/SAR_trace_entities.sqf +++ b/sarge/SAR_trace_entities.sqf @@ -14,7 +14,7 @@ */ private ["_ai","_entity_array","_sleeptime","_detectrange"]; -if (isServer || !hasInterface) exitWith {}; // Do not execute on server or any headless client(s) +if (isServer && !hasInterface) exitWith {}; // Do not execute on server or any headless client(s) _ai = _this select 0; diff --git a/sarge/ratingFix.sqf b/sarge/ratingFix.sqf new file mode 100644 index 0000000..7e24d4e --- /dev/null +++ b/sarge/ratingFix.sqf @@ -0,0 +1,14 @@ +/* + # Original # + Sarge AI System 1.5 + Created for Arma 2: DayZ Mod + Author: Sarge + https://github.com/Swiss-Sarge + + # Fork # + Sarge AI System 2.0+ + Modded for Arma 3: Exile Mod + Changes: Dango + http://www.hod-servers.com + +*/