mirror of
https://github.com/Teh-Dango/Sarge-AI.git
synced 2024-08-30 16:32:11 +00:00
2.4.2
Fixing undefined variables for vehicle arrays
This commit is contained in:
parent
1f94d2f82d
commit
549f3d7063
@ -1,5 +1,5 @@
|
||||
// Leader lodout options
|
||||
SAR_band_leader_gender = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_band_leader_model = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_band_leader_uniform = [["U_I_C_Soldier_Bandit_1_F","U_I_C_Soldier_Bandit_2_F","U_I_C_Soldier_Bandit_3_F","U_I_C_Soldier_Bandit_4_F","U_I_C_Soldier_Bandit_5_F"],["U_CamoBiker_uniform"]];
|
||||
SAR_band_leader_vest = [];
|
||||
SAR_band_leader_backpack = [];
|
||||
@ -21,7 +21,7 @@ SAR_band_leader_skills = [
|
||||
];
|
||||
|
||||
// Riflemen loadout options
|
||||
SAR_band_rifleman_gender = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_band_rifleman_model = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_band_rifleman_uniform = [["U_I_C_Soldier_Bandit_1_F","U_I_C_Soldier_Bandit_2_F","U_I_C_Soldier_Bandit_3_F","U_I_C_Soldier_Bandit_4_F","U_I_C_Soldier_Bandit_5_F"],["U_CamoBiker_uniform"]];
|
||||
SAR_band_rifleman_vest = [];
|
||||
SAR_band_rifleman_backpack = [];
|
||||
@ -43,7 +43,7 @@ SAR_band_rifleman_skills = [
|
||||
];
|
||||
|
||||
// Sniper loadout options
|
||||
SAR_band_sniper_gender = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_band_sniper_model = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_band_sniper_uniform = [["U_I_C_Soldier_Bandit_1_F","U_I_C_Soldier_Bandit_2_F","U_I_C_Soldier_Bandit_3_F","U_I_C_Soldier_Bandit_4_F","U_I_C_Soldier_Bandit_5_F"],["U_CamoBiker_uniform"]];
|
||||
SAR_band_sniper_vest = [];
|
||||
SAR_band_sniper_backpack = [];
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Leader lodout options
|
||||
SAR_sold_leader_gender = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_sold_leader_model = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_sold_leader_uniform = [["U_I_C_Soldier_Para_1_F","U_I_C_Soldier_Para_2_F","U_I_C_Soldier_Para_3_F","U_I_C_Soldier_Para_4_F"],["U_Camo_uniform"]];
|
||||
SAR_sold_leader_vest = [];
|
||||
SAR_sold_leader_backpack = [];
|
||||
@ -21,7 +21,7 @@ SAR_sold_leader_skills = [
|
||||
];
|
||||
|
||||
// Riflemen loadout options
|
||||
SAR_sold_rifleman_gender = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_sold_rifleman_model = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_sold_rifleman_uniform = [["U_I_C_Soldier_Para_1_F","U_I_C_Soldier_Para_2_F","U_I_C_Soldier_Para_3_F","U_I_C_Soldier_Para_4_F"],["U_Camo_uniform"]];
|
||||
SAR_sold_rifleman_vest = [];
|
||||
SAR_sold_rifleman_backpack = [];
|
||||
@ -44,7 +44,7 @@ SAR_sold_rifleman_skills = [
|
||||
];
|
||||
|
||||
// Sniper loadout options
|
||||
SAR_sold_sniper_gender = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_sold_sniper_model = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_sold_sniper_uniform = [["U_O_FullGhillie_lsh","U_O_FullGhillie_sard","U_O_FullGhillie_ard","U_I_FullGhillie_lsh","U_I_FullGhillie_sard","U_I_FullGhillie_ard"],["U_ghillie1_uniform","U_ghillie2_uniform","U_ghillie3_uniform"]];
|
||||
SAR_sold_sniper_vest = [];
|
||||
SAR_sold_sniper_backpack = [];
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Leader lodout options
|
||||
SAR_surv_leader_gender = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_surv_leader_model = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_surv_leader_uniform = [["U_C_Mechanic_01_F","U_C_IDAP_Man_Jeans_F","U_C_Man_casual_1_F","U_C_Man_casual_2_F","U_C_Man_casual_3_F","U_C_Journalist","U_C_HunterBody_grn"],["U_CamoBlue_uniform","U_CamoBrn_uniform"]];
|
||||
SAR_surv_leader_vest = [];
|
||||
SAR_surv_leader_backpack = [];
|
||||
@ -21,7 +21,7 @@ SAR_surv_leader_skills = [
|
||||
];
|
||||
|
||||
// Riflemen loadout options
|
||||
SAR_surv_rifleman_gender = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_surv_rifleman_model = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_surv_rifleman_uniform = [["U_C_Mechanic_01_F","U_C_IDAP_Man_Jeans_F","U_C_Man_casual_1_F","U_C_Man_casual_2_F","U_C_Man_casual_3_F","U_C_Journalist","U_C_HunterBody_grn"],["U_CamoBlue_uniform","U_CamoBrn_uniform"]];
|
||||
SAR_surv_rifleman_vest = [];
|
||||
SAR_surv_rifleman_backpack = [];
|
||||
@ -43,7 +43,7 @@ SAR_surv_rifleman_skills = [
|
||||
];
|
||||
|
||||
// Sniper loadout options
|
||||
SAR_surv_sniper_gender = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_surv_sniper_model = ["Epoch_Male_F","Epoch_Female_F"]; // DO NOT CHANGE THIS ARRAY!
|
||||
SAR_surv_sniper_uniform = [["U_C_Mechanic_01_F","U_C_IDAP_Man_Jeans_F","U_C_Man_casual_1_F","U_C_Man_casual_2_F","U_C_Man_casual_3_F","U_C_Journalist","U_C_HunterBody_grn"],["U_CamoBlue_uniform","U_CamoBrn_uniform"]];
|
||||
SAR_surv_sniper_vest = [];
|
||||
SAR_surv_sniper_backpack = [];
|
||||
|
@ -20,11 +20,11 @@
|
||||
SAR_useBlacklist = false; // Only works for Altis Exile, Namalsk Exile and Tanoa Exile currently. Do not use for non Exile servers!
|
||||
|
||||
/* Debug Settings */
|
||||
SAR_DEBUG = false; // Set to true for RPT info on AI
|
||||
SAR_EXTREME_DEBUG = false; // Set to true for RPT info on damn near everything
|
||||
SAR_DEBUG = true; // Set to true for RPT info on AI
|
||||
SAR_EXTREME_DEBUG = true; // Set to true for RPT info on damn near everything
|
||||
SAR_HITKILL_DEBUG = true; // Set to true for RPT info on AI shooting and killing
|
||||
SAR_log_AI_kills = false; // Set to true for kill logging by variable. ! IN DEVELOPMENT !
|
||||
SAR_KILL_MSG = true; // Set to true for announcing AI kills to the server ! Still a WIP !
|
||||
SAR_KILL_MSG = true; // Set to true for announcing AI kills to the server ! IN DEVELOPMENT !
|
||||
|
||||
/* AI Settings */
|
||||
SAR_dynamic_spawning = true; // Turn dynamic grid spawns on or off
|
||||
|
@ -23,7 +23,7 @@ _aikilled_group_side = side (group _ai);
|
||||
|
||||
_aikiller_type = typeof _aikiller;
|
||||
|
||||
if ((alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countType [vehicle _aikiller] > 0)) then {
|
||||
if ((alive _aiKiller) && !(_aikiller_type in SAR_air_type) && !("LandVehicle" countType [vehicle _aikiller] > 0)) then {
|
||||
_aikiller_name = name _aikiller;
|
||||
} else {
|
||||
_aikiller_name = _aikiller_type;
|
||||
|
@ -25,7 +25,7 @@ _aikilled_group_side = side (group _ai);
|
||||
|
||||
_aikiller_type = typeof _aikiller;
|
||||
|
||||
if ((alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countType [vehicle _aikiller] > 0)) then {
|
||||
if ((alive _aiKiller) && !(_aikiller_type in SAR_air_type) && !("LandVehicle" countType [vehicle _aikiller] > 0)) then {
|
||||
_aikiller_name = name _aikiller;
|
||||
} else {
|
||||
_aikiller_name = _aikiller_type;
|
||||
|
@ -200,8 +200,6 @@ SAR_unit_loadout = {
|
||||
_items = _this select 5;
|
||||
_tools = _this select 6;
|
||||
|
||||
removeHeadgear _unit;
|
||||
sleep 0.1;
|
||||
removeUniform _unit;
|
||||
sleep 0.1;
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
*/
|
||||
private ["_SAR_supportedMaps","_config","_modConfigs","_modPatches","_modName","_worldname","_startx","_starty","_gridsize_x","_gridsize_y","_gridwidth","_markername","_triggername","_trig_act_stmnt","_trig_deact_stmnt","_trig_cond","_legendname"];
|
||||
|
||||
_SAR_version = "2.4.0";
|
||||
_SAR_version = "2.4.2";
|
||||
|
||||
diag_log format ["Sarge's AI System: Welcome to Sarge AI!"];
|
||||
diag_log format ["Sarge's AI System: Now initializing Sarge AI version %1 for %2",_SAR_version,worldName];
|
||||
|
Loading…
Reference in New Issue
Block a user