harper1998 28 Posted December 9, 2020 Hello I am trying to make my units Zeus compatible but I am running an odd error when I open Zeus. Odd in the sense that it doesn't seem to be reflective of what is actually available in Zeus. Despite this the unit in question does appear in the Zeus menu. I have also defined it in the config class CfgPatches { class 2C_UP_ARMY_MULTIPAT { units[] = { "2C_UPC_army_multipat_rifleman",[and so on] }; weapons[] = { }; requiredVersion = 1.62; requiredAddons[] = { }; author = "CerebralPolicy"; authors[] = {"CerebralPolicy"}; }; }; ... class cfgVehicles { #include "Infantry.hpp" }; and I define it in infantry.hpp ... class 2C_UPC_army_multipat_rifleman: 2C_UPC_army_multipat_base { scope=2; scopeCurator=2; ... }; ... Any idea why? Share this post Link to post Share on other sites
NightIntruder 711 Posted December 13, 2020 On 12/9/2020 at 6:30 PM, harper1998 said: class CfgPatches { class 2C_UP_ARMY_MULTIPAT { units[] = { "2C_UPC_army_multipat_rifleman",[and so on] I don't know if it's intentionall, but this two classes above don't match. Also, it rather looks like some other class is trying to inherit from the class in question which doesn't exists (or otherwise doesn't work for inheritance because of error in config like not closed bracket or smth). It will be more helpful if you show the entire config.cpp. Apparently, there's nothing to be ashame of, apart from the error, right? 😉 Share this post Link to post Share on other sites
harper1998 28 Posted December 16, 2020 Alright class CfgPatches { class 2C_UP_ARMY_MULTIPAT { units[] = { "2C_UPC_army_multipat_rifleman","2C_UPC_army_multipat_riflemanat","2C_UPC_army_multipat_grenadier","2C_UPC_army_multipat_autorifleman","2C_UPC_army_multipat_autorifleman_asst","2C_UPC_army_multipat_machinegunner","2C_UPC_army_multipat_machinegunner_asst","2C_UPC_army_multipat_marksman","2C_UPC_army_multipat_officer","2C_UPC_army_multipat_sectionleader","2C_UPC_army_multipat_teamleader","2C_UPC_army_multipat_medic","2C_UPC_army_multipat_engineer","2C_UPC_army_multipat_explosives","2C_UP2C_UPC_army_multipat_javelin","2C_UPC_army_multipat_javelin_assistant","2C_UPC_army_multipat_maaws","2C_UPC_army_multipat_maaws_asst","2C_UPC_army_multipat_crewman","2C_UPC_army_multipat_crewchief","2C_UPC_army_multipat_driver","2C_UPC_army_multipat_helipilot","2C_UPC_army_multipat_helicrew" }; weapons[] = { }; requiredVersion = 1.62; requiredAddons[] = { }; author = "CerebralPolicy"; authors[] = {"CerebralPolicy"}; }; }; class CfgFunctions { class RHS { tag = "RHS"; class functions { class nvgHandler { file = "\rhsusf\addons\rhsusf_c_troops\scripts\rhs_nvghandler.sqf"; description = "NVG equip"; }; }; }; class RHSUSF { tag = "RHS"; class functions { class nvgHandler { file = "\rhsusf\addons\rhsusf_c_troops\scripts\rhs_nvghandler.sqf"; description = "NVG equip"; }; }; }; }; class cfgVehicles { class SoldierWB; class Soldier_Import: SoldierWB { class EventHandlers; }; class 2C_UPC_army_multipat_base: Soldier_Import { scope = 0; category = "Men"; faction = "2C_Faction_UPArmy"; editorSubcategory = "rhs_EdSubcat_infantry"; vehicleClass = "rhs_vehclass_infantry"; author = "CerebralPolicy"; side = 1; displayName = "$STR_RHSUSF_INF_RIFLEMAN"; identityTypes[] = {"LanguageENG_F","Head_NATO"}; faceType = "Man_A3"; genericNames = "NATOMen"; portrait = ""; picture = ""; icon = "iconMan"; accuracy = 2.3; sensitivity = 3; threat[] = {1,0.1,0.1}; camouflage = 1.4; minFireTime = 7; canCarryBackPack = 1; primaryAmmoCoef = 0.4; secondaryAmmoCoef = 0.2; handgunAmmoCoef = 0.1; weapons[] = {"2C_weap_C10_Standard_Issue","Throw","Put"}; respawnWeapons[] = {"2C_weap_C10_Standard_Issue","Throw","Put"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_m67","rhs_mag_m67"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_m67","rhs_mag_m67"}; Items[] = {"FirstAidKit","rhsusf_ANPVS_14","hat_cap_multipat"}; RespawnItems[] = {"FirstAidKit","rhsusf_ANPVS_14","hat_cap_multipat"}; linkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; class EventHandlers: EventHandlers { class RHS_NVG_Check { init = "_this call rhsusf_fnc_nvgHandler"; }; }; }; class 2C_UPC_army_multipat_rifleman: 2C_UPC_army_multipat_base { scope=2; scopeCurator=2; category = "Men"; faction = "2C_Faction_UPArmy"; editorSubcategory = "rhs_EdSubcat_infantry"; vehicleClass = "rhs_vehclass_infantry"; uniformClass="MULTIPAT_ACU_01_F"; class EventHandlers: EventHandlers { init = "if (local (_this select 0)) then {[(_this select 0), [], []] call BIS_fnc_unitHeadgear;}"; }; headgearList[] = {"helmet_ach_MULTIPAT",2,"helmet_ACH_MULTIPAT_3",2}; weapons[] = {"2C_weap_C10_Standard_Issue","Throw","Put"}; respawnWeapons[] = {"2C_weap_C10_Standard_Issue","Throw","Put"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_m67","rhs_mag_m67"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_m67","rhs_mag_m67"}; Items[] = {"FirstAidKit","rhsusf_ANPVS_14","hat_cap_multipat"}; RespawnItems[] = {"FirstAidKit","rhsusf_ANPVS_14","hat_cap_multipat"}; linkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_rifleman_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_rifleman_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; }; class 2C_UPC_army_multipat_riflemanat: 2C_UPC_army_multipat_rifleman { scope = 2; faction = "2C_Faction_UPArmy"; editorSubcategory = "rhs_EdSubcat_infantry"; vehicleClass = "rhs_vehclass_infantry"; scopeCurator = 2; uniformClass="MULTIPAT_ACU_01_F"; displayName = "Rifleman (AT)"; class SpeechVariants { class Default { speechSingular[] = {"veh_infantry_AT_s"}; speechPlural[] = {"veh_infantry_AT_p"}; }; }; textSingular = "$STR_A3_nameSound_veh_infantry_AT_s"; textPlural = "$STR_A3_nameSound_veh_infantry_AT_p"; nameSound = "veh_infantry_AT_s"; cost = 180000; threat[] = {1,0.7,0.3}; icon = "iconManAT"; weapons[] = {"2C_weap_C10_Standard_Issue","2C_weap_C85","Throw","Put"}; respawnWeapons[] = {"2C_weap_C10_Standard_Issue","2C_weap_C85","Throw","Put"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_m67","rhs_mag_m67","rhs_m136_mag"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_m67","rhs_mag_m67","rhs_m136_mag"}; secondaryAmmoCoef = 0.5; backpack = "MULTIPAT_Assaultpack_at"; }; class 2C_UPC_army_multipat_grenadier: 2C_UPC_army_multipat_rifleman { displayName = "$STR_RHSUSF_INF_GRENADIERA"; cost = 130000; threat[] = {1,0.3,0.1}; linkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_rifleman_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_rifleman_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"2C_weap_C10_UGL_Standard_Issue","Throw","Put"}; respawnWeapons[] = {"2C_weap_C10_UGL_Standard_Issue","Throw","Put"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_M433_HEDP","rhs_mag_M433_HEDP","rhs_mag_M433_HEDP","rhs_mag_M433_HEDP","rhs_mag_M433_HEDP","rhs_mag_M433_HEDP","rhs_mag_m67"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_M433_HEDP","rhs_mag_M433_HEDP","rhs_mag_M433_HEDP","rhs_mag_M433_HEDP","rhs_mag_M433_HEDP","rhs_mag_M433_HEDP","rhs_mag_m67"}; backpack = "MULTIPAT_Assaultpack_gr"; }; class 2C_UPC_army_multipat_autorifleman: 2C_UPC_army_multipat_rifleman { displayName = "Auto Rifleman (C149)"; class SpeechVariants { class Default { speechSingular[] = {"veh_infantry_MG_s"}; speechPlural[] = {"veh_infantry_MG_p"}; }; }; textSingular = "$STR_A3_nameSound_veh_infantry_MG_s"; textPlural = "$STR_A3_nameSound_veh_infantry_MG_p"; nameSound = "veh_infantry_MG_s"; cost = 125000; threat[] = {1,0.1,0.3}; icon = "iconManMG"; class EventHandlers: EventHandlers { init = "if (local (_this select 0)) then {[(_this select 0), [], []] call BIS_fnc_unitHeadgear;}"; }; linkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_mg_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_mg_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"2C_Weap_C149_Standard_Issue","Throw","Put"}; respawnWeapons[] = {"2C_Weap_C149_Standard_Issue","Throw","Put"}; magazines[] = {"rhsusf_100Rnd_556x45_soft_pouch","rhsusf_100Rnd_556x45_soft_pouch","rhsusf_100Rnd_556x45_soft_pouch","rhs_mag_m67","rhs_mag_m67"}; respawnMagazines[] = {"rhsusf_100Rnd_556x45_soft_pouch","rhsusf_100Rnd_556x45_soft_pouch","rhsusf_100Rnd_556x45_soft_pouch","rhs_mag_m67","rhs_mag_m67"}; backpack = "MULTIPAT_Assaultpack_ar"; }; class 2C_UPC_army_multipat_autorifleman_asst: 2C_UPC_army_multipat_rifleman { displayName = "$STR_RHSUSF_INF_AARIFLEMAN"; cost = 110000; camouflage = 1.5; backpack = "MULTIPAT_Assaultpack_ar"; }; class 2C_UPC_army_multipat_machinegunner: 2C_UPC_army_multipat_autorifleman { displayName = "$STR_RHSUSF_INF_MG"; icon = "iconManMG"; weapons[] = {"2C_weap_C140B_Standard_Issue","hlc_pistol_p226r_combat","Throw","Put"}; respawnWeapons[] = {"2C_weap_C140B_Standard_Issue","hlc_pistol_p226r_combat","Throw","Put"}; magazines[] = {"rhsusf_50Rnd_762x51","rhsusf_50Rnd_762x51","rhsusf_50Rnd_762x51","rhsusf_50Rnd_762x51","rhsusf_50Rnd_762x51","rhsusf_50Rnd_762x51","rhsusf_mag_15Rnd_9x19_FMJ","rhsusf_mag_15Rnd_9x19_FMJ","rhsusf_mag_15Rnd_9x19_FMJ","rhs_mag_m67"}; respawnMagazines[] = {"rhsusf_50Rnd_762x51","rhsusf_50Rnd_762x51","rhsusf_50Rnd_762x51","rhsusf_50Rnd_762x51","rhsusf_50Rnd_762x51","rhsusf_50Rnd_762x51","rhsusf_mag_15Rnd_9x19_FMJ","rhsusf_mag_15Rnd_9x19_FMJ","rhsusf_mag_15Rnd_9x19_FMJ","rhs_mag_m67"}; backpack = "MULTIPAT_assaultpack_mg"; }; class 2C_UPC_army_multipat_machinegunner_asst: 2C_UPC_army_multipat_rifleman { displayName = "$STR_RHSUSF_INF_AMG"; cost = 110000; camouflage = 1.5; backpack = "MULTIPAT_assaultpack_mg"; }; class 2C_UPC_army_multipat_marksman: 2C_UPC_army_multipat_rifleman { author = "$STR_RHSUSF_AUTHOR_FULL"; displayName = "$STR_RHSUSF_INF_MARKSMAN"; class SpeechVariants { class Default { speechSingular[] = {"veh_infantry_sniper_s"}; speechPlural[] = {"veh_infantry_sniper_p"}; }; }; textSingular = "$STR_A3_nameSound_veh_infantry_sniper_s"; textPlural = "$STR_A3_nameSound_veh_infantry_sniper_p"; nameSound = "veh_infantry_sniper_s"; cost = 150000; sensitivity = 3.3; class EventHandlers: EventHandlers { init = "if (local (_this select 0)) then {[(_this select 0), [], []] call BIS_fnc_unitHeadgear;}"; }; weapons[] = {"2C_weap_C1A6_Standard_Issue","Throw","Put"}; respawnWeapons[] = {"2C_weap_C1A6_Standard_Issue","Throw","Put"}; magazines[] = {"rhsusf_20Rnd_762x51_m118_special_Mag","rhsusf_20Rnd_762x51_m118_special_Mag","rhsusf_20Rnd_762x51_m118_special_Mag","rhsusf_20Rnd_762x51_m118_special_Mag","rhsusf_20Rnd_762x51_m118_special_Mag","rhsusf_20Rnd_762x51_m118_special_Mag","rhsusf_20Rnd_762x51_m62_Mag","rhs_mag_m67"}; respawnMagazines[] = {"rhsusf_20Rnd_762x51_m118_special_Mag","rhsusf_20Rnd_762x51_m118_special_Mag","rhsusf_20Rnd_762x51_m118_special_Mag","rhsusf_20Rnd_762x51_m118_special_Mag","rhsusf_20Rnd_762x51_m118_special_Mag","rhsusf_20Rnd_762x51_m118_special_Mag","rhsusf_20Rnd_762x51_m62_Mag","rhs_mag_m67"}; }; class 2C_UPC_army_multipat_officer: 2C_UPC_army_multipat_rifleman { author = "$STR_RHSUSF_AUTHOR_FULL"; displayName = "$STR_RHSUSF_INF_OFFICER"; class SpeechVariants { class Default { speechSingular[] = {"veh_infantry_officer_s"}; speechPlural[] = {"veh_infantry_officer_p"}; }; }; textSingular = "$STR_A3_nameSound_veh_infantry_officer_s"; textPlural = "$STR_A3_nameSound_veh_infantry_officer_p"; nameSound = "veh_infantry_officer_s"; cost = 600000; camouflage = 1.6; sensitivity = 3; backpack = "2C_TFAR_B540M_MULTIPAT"; icon = "iconManOfficer"; class EventHandlers: EventHandlers { init = "if (local (_this select 0)) then {[(_this select 0), [], []] call BIS_fnc_unitHeadgear;}"; }; headgearList[] = {"hat_cap_MULTIPAT",2}; linkedItems[] = {"hat_cap_MULTIPAT","vest_spc_sectionleader_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"hat_cap_MULTIPAT","vest_spc_sectionleader_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"2C_weap_C12_Standard_Issue","hlc_pistol_p226r_combat","Throw","Put","rhsusf_bino_m24"}; respawnWeapons[] = {"2C_weap_C12_Standard_Issue","hlc_pistol_p226r_combat","Throw","Put","rhsusf_bino_m24"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","rhs_mag_m18_red","rhs_mag_m18_purple","rhs_mag_m18_yellow","Chemlight_red","Chemlight_red"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","rhs_mag_m18_red","rhs_mag_m18_purple","rhs_mag_m18_yellow","Chemlight_red","Chemlight_red"}; }; class 2C_UPC_army_multipat_sectionleader: 2C_UPC_army_multipat_rifleman { displayName = "Section Leader"; cost = 500000; camouflage = 1.4; sensitivity = 3.3; icon = "iconManLeader"; backpack = "2C_TFAR_B540M_MULTIPAT"; class EventHandlers: EventHandlers { init = "if (local (_this select 0)) then {[(_this select 0), [], []] call BIS_fnc_unitHeadgear;}"; }; headgearList[] = {"helmet_ach_MULTIPAT_2",2,"helmet_ACH_MULTIPAT_4",2}; linkedItems[] = {"helmet_ACH_MULTIPAT_2","vest_spc_sectionleader_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"helmet_ACH_MULTIPAT_2","vest_spc_sectionleader_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"2C_weap_C10_Standard_Issue","Throw","Put","rhsusf_bino_m24"}; respawnWeapons[] = {"2C_weap_C10_Standard_Issue","Throw","Put","rhsusf_bino_m24"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_m18_red","rhs_mag_m18_purple","rhs_mag_m18_yellow","rhs_mag_m67","Chemlight_red","Chemlight_red"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_m18_red","rhs_mag_m18_purple","rhs_mag_m18_yellow","rhs_mag_m67","Chemlight_red","Chemlight_red"}; }; class 2C_UPC_army_multipat_teamleader: 2C_UPC_army_multipat_rifleman { camouflage = 1.4; displayname = "Section 2iC"; sensitivity = 3.3; icon = "iconManLeader"; backpack = "2C_TFAR_B540M_MULTIPAT"; class EventHandlers: EventHandlers { init = "if (local (_this select 0)) then {[(_this select 0), [], []] call BIS_fnc_unitHeadgear;}"; }; headgearList[] = {"helmet_ach_MULTIPAT_2",2,"helmet_ACH_MULTIPAT_4",2}; linkedItems[] = {"helmet_ACH_MULTIPAT_2","vest_spc_teamleader_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"helmet_ACH_MULTIPAT_2","vest_spc_teamleader_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"2C_weap_C10_Standard_Issue","Throw","Put","rhsusf_bino_m24"}; respawnWeapons[] = {"2C_weap_C10_Standard_Issue","Throw","Put","rhsusf_bino_m24"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_m18_red","rhs_mag_m18_purple","rhs_mag_m18_yellow","rhs_mag_m67","Chemlight_red","Chemlight_red"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_m18_red","rhs_mag_m18_purple","rhs_mag_m18_yellow","rhs_mag_m67","Chemlight_red","Chemlight_red"}; }; class 2C_UPC_army_multipat_medic: 2C_UPC_army_multipat_rifleman { displayName = "$STR_RHSUSF_INF_MEDIC"; linkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_medic_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_medic_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"2C_weap_C10_standard_issue","hlc_pistol_p226r_combat","Throw","Put"}; respawnWeapons[] = {"2C_weap_C10_standard_issue","hlc_pistol_p226r_combat","Throw","Put"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","rhs_mag_m18_red"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","rhs_mag_m18_red"}; attendant = 1; icon = "iconManMedic"; backpack = "MULTIPAT_Assaultpack_medic"; picture = "pictureHeal"; }; class 2C_UPC_army_multipat_engineer: 2C_UPC_army_multipat_rifleman { displayName = "$STR_RHSUSF_INF_ENGINEER"; cost = 220000; camouflage = 1.6; sensitivity = 2.5; canDeactivateMines = 1; engineer = 1; detectSkill = 60; threat[] = {1,0.5,0.1}; icon = "iconManEngineer"; picture = "pictureRepair"; linkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_rifleman_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_rifleman_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"2C_weap_C10_standard_issue","Throw","Put"}; respawnWeapons[] = {"2C_weap_C10_standard_issue","Throw","Put"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_m18_red"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_m18_red"}; backpack = "MULTIPAT_assaultpack_engineer"; }; class 2C_UPC_army_multipat_explosives: 2C_UPC_army_multipat_rifleman { displayName = "Explosives Specialist"; cost = 115000; camouflage = 1.6; sensitivity = 2.5; canDeactivateMines = 1; detectSkill = 80; threat[] = {1,0.5,0.1}; icon = "iconManExplosive"; picture = "pictureExplosive"; linkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_rifleman_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"helmet_ach_MULTIPAT","vest_spc_rifleman_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"2C_weap_C10_Standard_Issue","hlc_pistol_p226r_combat","Throw","Put"}; respawnWeapons[] = {"2C_weap_C10_Standard_Issue","hlc_pistol_p226r_combat","Throw","Put"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","Chemlight_green","Chemlight_green","rhs_mag_m18_red"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","Chemlight_green","Chemlight_green","rhs_mag_m18_red"}; backpack = "MULTIPAT_assaultpack_demo"; }; // 2C_UPC_army_multipat_rifleman class 2C_UPC_army_multipat_javelin: 2C_UPC_army_multipat_rifleman { displayName = "AT Specialist (C181)"; class SpeechVariants { class Default { speechSingular[] = {"veh_infantry_AT_s"}; speechPlural[] = {"veh_infantry_AT_p"}; }; }; textSingular = "$STR_A3_nameSound_veh_infantry_AT_s"; textPlural = "$STR_A3_nameSound_veh_infantry_AT_p"; nameSound = "veh_infantry_AT_s"; cost = 190000; threat[] = {1,1,0.8}; camouflage = 1.5; icon = "iconManAT"; bacpack = "MULTIPAT_Assaultpack_at"; weapons[] = {"2C_weap_C10_standard_issue","2C_weap_C181","Throw","Put"}; respawnWeapons[] = {"2C_weap_C10_standard_issue","2C_weap_C181","Throw","Put"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_fgm148_magazine_AT","rhs_mag_m67"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_fgm148_magazine_AT","rhs_mag_m67"}; }; class 2C_UPC_army_multipat_javelin_assistant: 2C_UPC_army_multipat_rifleman { displayName = "AT Assistant (C181)"; cost = 190000; threat[] = {1,1,0.8}; camouflage = 1.5; backpack = "MULTIPAT_Assaultpack_at"; }; class 2C_UPC_army_multipat_maaws: 2C_UPC_army_multipat_rifleman { class SpeechVariants { class Default { speechSingular[] = {"veh_infantry_AT_s"}; speechPlural[] = {"veh_infantry_AT_p"}; }; }; textSingular = "$STR_A3_nameSound_veh_infantry_AT_s"; textPlural = "$STR_A3_nameSound_veh_infantry_AT_p"; nameSound = "veh_infantry_AT_s"; displayName = "AT Specialist (C192)"; cost = 190000; threat[] = {1,1,0.8}; camouflage = 1.5; icon = "iconManAT"; backpack = "MULTIPAT_Assaultpack_maaws"; weapons[] = {"2C_weap_C10_standard_issue","2C_weap_C192","Throw","Put"}; respawnWeapons[] = {"2C_weap_C10_standard_issue","2C_weap_C192","Throw","Put"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_maaws_HEAT","rhs_mag_m67"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_maaws_HEAT","rhs_mag_m67"}; }; class 2C_UPC_army_multipat_maaws_asst: 2C_UPC_army_multipat_rifleman { displayName = "AT Assistant (C192)"; cost = 190000; threat[] = {1,1,0.8}; camouflage = 1.5; backpack = "MULTIPAT_Assaultpack_maaws"; }; class 2C_UPC_army_multipat_crewman: 2C_UPC_army_multipat_rifleman { displayName = "$STR_RHSUSF_INF_CREW"; cost = 90000; camouflage = 1.6; sensitivity = 2.5; engineer = 1; class EventHandlers: EventHandlers { init = "if (local (_this select 0)) then {[(_this select 0), [], []] call BIS_fnc_unitHeadgear;}"; }; Items[] = {"FirstAidKit","rhsusf_ANPVS_14"}; RespawnItems[] = {"FirstAidKit","rhsusf_ANPVS_14"}; linkedItems[] = {"helmet_cvc_alt_olive","vest_spc_crewman_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"helmet_cvc_alt_olive","vest_spc_crewman_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"2C_weap_C12_standard_issue","hlc_pistol_p226r_combat","rhsusf_bino_m24_ARD","Throw","Put"}; respawnWeapons[] = {"2C_weap_C12_standard_issue","hlc_pistol_p226r_combat","rhsusf_bino_m24_ARD","Throw","Put"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","rhs_mag_m18_red","rhs_mag_an_m8hc"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","rhs_mag_m18_red","rhs_mag_an_m8hc"}; fsmDanger = "rhsusf\addons\rhsusf_c_troops\scripts\dangerCrew.fsm"; }; class 2C_UPC_army_multipat_crewchief: 2C_UPC_army_multipat_crewman { displayName = "Crew Chief"; icon = "iconManLeader"; backpack = "2C_TFAR_B540M_MULTIPAT"; }; class 2C_UPC_army_multipat_driver: 2C_UPC_army_multipat_rifleman { displayName = "$STR_RHSUSF_INF_DRIVER"; engineer = 1; headgearList[] = {}; Items[] = {"FirstAidKit"}; RespawnItems[] = {"FirstAidKit"}; linkedItems[] = {"helmet_ACH_MULTIPAT","vest_spc_rifleman_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"helmet_ACH_MULTIPAT","vest_spc_rifleman_MULTIPAT","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"2C_weap_C10_standard_issue","Throw","Put"}; respawnWeapons[] = {"2C_weap_C12_standard_issue","Throw","Put"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_an_m8hc","rhs_mag_m18_red"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_an_m8hc","rhs_mag_m18_red"}; }; class 2C_UPC_army_multipat_helipilot: 2C_UPC_army_multipat_rifleman { uniformClass = "MULTIPAT_04_F"; displayName = "Helicopter Pilot"; class SpeechVariants { class Default { speechSingular[] = {"veh_infantry_pilot_s"}; speechPlural[] = {"veh_infantry_pilot_p"}; }; }; textSingular = "$STR_A3_nameSound_veh_infantry_pilot_s"; textPlural = "$STR_A3_nameSound_veh_infantry_pilot_p"; nameSound = "veh_infantry_pilot_s"; cost = 160000; camouflage = 2.0; Items[] = {"FirstAidKit","rhsusf_ANPVS_15","hat_cap_MULTIPAT"}; RespawnItems[] = {"FirstAidKit","rhsusf_ANPVS_15","hat_cap_MULTIPAT"}; linkedItems[] = {"rhsusf_hgu56p","vest_spc_crewman_Coyote","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; respawnLinkedItems[] = {"rhsusf_hgu56p","vest_spc_crewman_Coyote","ItemMap","ItemCompass","ItemWatch","ItemRadio"}; weapons[] = {"2C_weap_C12_Standard_Issue","hlc_pistol_p226r_combat","Throw","Put"}; respawnWeapons[] = {"2C_weap_C12_Standard_Issue","hlc_pistol_p226r_combat","Throw","Put"}; magazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","rhs_mag_an_m8hc","rhs_mag_m18_red"}; respawnMagazines[] = {"rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","rhs_mag_30Rnd_556x45_M855A1_PMAG","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","hlc_15rnd_9x19_b_P226","rhs_mag_an_m8hc","rhs_mag_m18_red"}; }; class 2C_UPC_army_multipat_helicrew: 2C_UPC_army_multipat_helipilot { displayName = "Helicopter Crew"; }; }; Forgive indenting errors when copying from Atom Share this post Link to post Share on other sites
NightIntruder 711 Posted December 16, 2020 To be honest, I couldn't find any syntax or logic error apart from those Elitness found. First it says, "it is expected ]={" at line 499 which is wierd as it is the end of this config and I cannot explain it. Second, do you have those two files in binarization package? Warning: P:\xxxxx circa Line 26: \rhsusf\addons\rhsusf_c_troops\scripts\rhs_nvghandler.sqf Warning: P:\xxxxx 28 circa Line 38: \rhsusf\addons\rhsusf_c_troops\scripts\rhs_nvghandler.sqf Warning: P:\xxxxx 28 circa Line 446: rhsusf\addons\rhsusf_c_troops\scripts\dangerCrew.fsm I would comment those lines and see if the error pops up again without them included in the config. No clue other than that. Share this post Link to post Share on other sites
Harzach 2518 Posted October 25, 2022 The error points to an ACE module. What mods are you loading? Share this post Link to post Share on other sites