56Curious 23 Posted July 16, 2018 Hey, how would I create the following to be used for say, the zeus user requiring it only? Like how ares works. Spoiler class CfgPatches { class unit_config { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Characters_F_BLUFOR"}; }; }; class CfgFactionClasses { class CTRG { displayName = "CTRG"; author = "Curious"; icon = "\a3\data_f_exp\factionicons\icon_ctrg_ca.paa"; // Needs to be 16x16 in resolution and it needs to be in the form of a PAA. priority = 2; side = 1; // Blufor }; }; class CfgVehicleClasses { class CTRG_Group { displayName = "CTRG"; // Rename to what you want the sub group of the faction will be. You can have multiple subfactions (VehicleClasses) as long as the class name of the VehicleClass is different. Makes it work with zeus }; }; class CfgVehicles { class B_T_Recon_F; class Recon_Scout : B_T_Recon_F { _generalMacro = ""; scope = 2; scopeCurator=2; displayName = "Recon Scout"; // In-game name of unit faction = CTRG; // Puts unit under new faction vehicleClass = "CTRG_Group"; // Puts unit in the vehicleclass nakedUniform = "U_BasicBody"; uniformClass = "U_B_CTRG_1"; // Uniform Class backpack = "B_AssaultPack_blk"; // Backpack Class linkedItems[] = { "V_Chestrig_blk", "H_Watchcap_blk", "G_Bandanna_beast", "NVGogglesB_blk_F", "ItemMap", "ItemCompass", "ItemWatch", "ItemGPS", "ItemRadio", "muzzle_snds_65_TI_blk_F", "acc_pointer_IR", "optic_Aco", "muzzle_snds_acp", "acc_flashlight_pistol", "optic_MRD" }; // Item's added to the unit. - Vest \ Helmet \ NV \ Items respawnLinkedItems[] = { "V_Chestrig_blk", "H_Watchcap_blk", "G_Bandanna_beast", "NVGogglesB_blk_F", "ItemMap", "ItemCompass", "ItemWatch", "ItemGPS", "ItemRadio", "muzzle_snds_65_TI_blk_F", "acc_pointer_IR", "optic_Aco", "muzzle_snds_acp", "acc_flashlight_pistol", "optic_MRD" }; // Item's added to the unit. Should be identical to the linkedItems section. weapons[] = { "Laserdesignator", "arifle_MXC_Black_F", "hgun_Pistol_heavy_01_F" }; // Weapons added to the unit. incl Binos etc respawnweapons[] = { "Laserdesignator", "arifle_MXC_Black_F", "hgun_Pistol_heavy_01_F" }; // Weapons added to the unit. Should be identical to the weapons section magazines[] = { "FirstAidKit", "FirstAidKit", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "ClaymoreDirectionalMine_Remote_Mag", "APERSTripMine_Wire_Mag", "SmokeShell", "SmokeShellRed", "SmokeShellOrange", "SmokeShellYellow", "Chemlight_red", "Chemlight_red", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "11Rnd_45ACP_Mag", "ToolKit", "MineDetector", "DemoCharge_Remote_Mag", "DemoCharge_Remote_Mag", "DemoCharge_Remote_Mag" }; respawnMagazines[] = { "FirstAidKit", "FirstAidKit", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "ClaymoreDirectionalMine_Remote_Mag", "APERSTripMine_Wire_Mag", "SmokeShell", "SmokeShellRed", "SmokeShellOrange", "SmokeShellYellow", "Chemlight_red", "Chemlight_red", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "11Rnd_45ACP_Mag", "ToolKit", "MineDetector", "DemoCharge_Remote_Mag", "DemoCharge_Remote_Mag", "DemoCharge_Remote_Mag" }; }; class B_recon_LAT_F; class Recon_AT : B_recon_LAT_F { _generalMacro = ""; scope = 2; scopeCurator=2; displayName = "Recon Scout AT"; faction = CTRG; vehicleClass = "CTRG_Group"; nakedUniform = "U_BasicBody"; uniformClass = "U_B_CTRG_1"; backpack = "B_AssaultPack_blk"; linkedItems[] = { "V_Chestrig_blk", "H_Watchcap_blk", "G_Bandanna_beast", "NVGogglesB_blk_F", "ItemMap", "ItemCompass", "ItemWatch", "ItemGPS", "ItemRadio", "muzzle_snds_65_TI_blk_F", "acc_pointer_IR", "optic_Aco", "muzzle_snds_acp", "acc_flashlight_pistol", "optic_MRD" }; RespawnlinkedItems[] = { "V_Chestrig_blk", "H_Watchcap_blk", "G_Bandanna_beast", "NVGogglesB_blk_F", "ItemMap", "ItemCompass", "ItemWatch", "ItemGPS", "ItemRadio", "muzzle_snds_65_TI_blk_F", "acc_pointer_IR", "optic_Aco", "muzzle_snds_acp", "acc_flashlight_pistol", "optic_MRD" }; weapons[] = { "Laserdesignator", "launch_NLAW_F", "arifle_MXC_Black_F", "hgun_Pistol_heavy_01_F" }; respawnweapons[] = { "Laserdesignator", "launch_NLAW_F", "arifle_MXC_Black_F", "hgun_Pistol_heavy_01_F" }; magazines[] = { "NLAW_F", "FirstAidKit", "FirstAidKit", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "ClaymoreDirectionalMine_Remote_Mag", "APERSTripMine_Wire_Mag", "SmokeShell", "SmokeShellRed", "SmokeShellOrange", "SmokeShellYellow", "Chemlight_red", "Chemlight_red", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "11Rnd_45ACP_Mag" }; respawnMagazines[] = { "NLAW_F", "FirstAidKit", "FirstAidKit", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "ClaymoreDirectionalMine_Remote_Mag", "APERSTripMine_Wire_Mag", "SmokeShell", "SmokeShellRed", "SmokeShellOrange", "SmokeShellYellow", "Chemlight_red", "Chemlight_red", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "11Rnd_45ACP_Mag" }; }; class B_recon_JTAC_F; class Recon_JTAC : B_recon_JTAC_F { _generalMacro = ""; scope = 2; scopeCurator=2; displayName = "Recon Scout JTAC"; faction = CTRG; vehicleClass = "CTRG_Group"; nakedUniform = "U_BasicBody"; uniformClass = "U_B_CTRG_1"; backpack = "B_AssaultPack_blk"; linkedItems[] = { "V_Chestrig_blk", "H_Watchcap_blk", "G_Bandanna_beast", "NVGogglesB_blk_F", "ItemMap", "ItemCompass", "ItemWatch", "ItemGPS", "ItemRadio", "muzzle_snds_65_TI_blk_F", "acc_pointer_IR", "optic_Aco", "muzzle_snds_acp", "acc_flashlight_pistol", "optic_MRD" }; respawnLinkedItems[] = { "V_Chestrig_blk", "H_Watchcap_blk", "G_Bandanna_beast", "NVGogglesB_blk_F", "ItemMap", "ItemCompass", "ItemWatch", "ItemGPS", "ItemRadio", "muzzle_snds_65_TI_blk_F", "acc_pointer_IR", "optic_ERCO_blk_F", "muzzle_snds_acp", "acc_flashlight_pistol", "optic_MRD" }; weapons[] = { "Laserdesignator", "arifle_MXC_Black_F", "hgun_Pistol_heavy_01_F" }; respawnweapons[] = { "Laserdesignator", "arifle_MXC_Black_F", "hgun_Pistol_heavy_01_F" }; magazines[] = { "FirstAidKit", "FirstAidKit", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "Laserbatteries", "ClaymoreDirectionalMine_Remote_Mag", "APERSTripMine_Wire_Mag", "SmokeShell", "SmokeShellRed", "SmokeShellOrange", "SmokeShellYellow", "Chemlight_red", "Chemlight_red", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "11Rnd_45ACP_Mag", "3Rnd_HE_Grenade_shell", "3Rnd_UGL_FlareWhite_F", "3Rnd_UGL_FlareGreen_F", "3Rnd_UGL_FlareRed_F", "3Rnd_UGL_FlareYellow_F", "3Rnd_UGL_FlareCIR_F", "3Rnd_SmokeRed_Grenade_shell", "3Rnd_Smoke_Grenade_shell", "3Rnd_SmokeGreen_Grenade_shell", "3Rnd_SmokeYellow_Grenade_shell", "3Rnd_SmokePurple_Grenade_shell", "3Rnd_SmokeBlue_Grenade_shell", "3Rnd_SmokeOrange_Grenade_shell", "1Rnd_HE_Grenade_shell" }; respawnMagazines[] = { "FirstAidKit", "FirstAidKit", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "Laserbatteries", "ClaymoreDirectionalMine_Remote_Mag", "APERSTripMine_Wire_Mag", "SmokeShell", "SmokeShellRed", "SmokeShellOrange", "SmokeShellYellow", "Chemlight_red", "Chemlight_red", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "11Rnd_45ACP_Mag", "3Rnd_HE_Grenade_shell", "3Rnd_UGL_FlareWhite_F", "3Rnd_UGL_FlareGreen_F", "3Rnd_UGL_FlareRed_F", "3Rnd_UGL_FlareYellow_F", "3Rnd_UGL_FlareCIR_F", "3Rnd_SmokeRed_Grenade_shell", "3Rnd_Smoke_Grenade_shell", "3Rnd_SmokeGreen_Grenade_shell", "3Rnd_SmokeYellow_Grenade_shell", "3Rnd_SmokePurple_Grenade_shell", "3Rnd_SmokeBlue_Grenade_shell", "3Rnd_SmokeOrange_Grenade_shell", "1Rnd_HE_Grenade_shell" }; }; class B_CTRG_Soldier_AR_tna_F; class Recon_Autofileman : B_CTRG_Soldier_AR_tna_F { _generalMacro = ""; scope = 2; scopeCurator=2; displayName = "Recon Scout Autorifleman"; faction = CTRG; vehicleClass = "CTRG_Group"; nakedUniform = "U_BasicBody"; uniformClass = "U_B_CTRG_1"; backpack = "B_AssaultPack_blk"; linkedItems[] = { "V_Chestrig_blk", "H_Watchcap_blk", "G_Bandanna_beast", "NVGogglesB_blk_F", "ItemMap", "ItemCompass", "ItemWatch", "ItemGPS", "ItemRadio", "muzzle_snds_65_TI_blk_F", "acc_pointer_IR", "optic_Aco", "muzzle_snds_acp", "acc_flashlight_pistol", "optic_MRD" }; respawnLinkedItems[] = { "V_Chestrig_blk", "H_Watchcap_blk", "G_Bandanna_beast", "NVGogglesB_blk_F", "ItemMap", "ItemCompass", "ItemWatch", "ItemGPS", "ItemRadio", "muzzle_snds_65_TI_blk_F", "acc_pointer_IR", "optic_ERCO_blk_F", "muzzle_snds_acp", "acc_flashlight_pistol", "optic_MRD" }; weapons[] = { "Laserdesignator", "arifle_MX_SW_Black_F", "hgun_Pistol_heavy_01_F" }; respawnweapons[] = { "Laserdesignator", "arifle_MX_SW_Black_F", "hgun_Pistol_heavy_01_F" }; magazines[] = { "FirstAidKit", "FirstAidKit", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "ClaymoreDirectionalMine_Remote_Mag", "APERSTripMine_Wire_Mag", "SmokeShell", "SmokeShellRed", "SmokeShellOrange", "SmokeShellYellow", "Chemlight_red", "Chemlight_red", "100Rnd_65x39_caseless_mag", "100Rnd_65x39_caseless_mag", "11Rnd_45ACP_Mag" }; respawnMagazines[] = { "FirstAidKit", "FirstAidKit", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "ClaymoreDirectionalMine_Remote_Mag", "APERSTripMine_Wire_Mag", "SmokeShell", "SmokeShellRed", "SmokeShellOrange", "SmokeShellYellow", "Chemlight_red", "Chemlight_red", "100Rnd_65x39_caseless_mag", "100Rnd_65x39_caseless_mag", "11Rnd_45ACP_Mag" }; }; class B_recon_M_F; class Recon_Marksman : B_recon_M_F { _generalMacro = ""; scope = 2; scopeCurator=2; displayName = "Recon Scout Marksman"; faction = CTRG; vehicleClass = "CTRG_Group"; nakedUniform = "U_BasicBody"; uniformClass = "U_B_CTRG_1"; backpack = ""; linkedItems[] = { "V_Chestrig_blk", "H_Watchcap_blk", "G_Bandanna_beast", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS", "NVGogglesB_blk_F" }; respawnLinkedItems[] = { "V_Chestrig_blk", "H_Watchcap_blk", "G_Bandanna_beast", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS", "NVGogglesB_blk_F" }; weapons[] = { "arifle_MXM_Black_F", "hgun_Pistol_heavy_01_F", "Laserdesignator" }; respawnweapons[] = { "arifle_MXM_Black_F", "hgun_Pistol_heavy_01_F", "Laserdesignator" }; magazines[] = { "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "SmokeShell", "SmokeShellRed", "SmokeShellOrange", "SmokeShellYellow", "Chemlight_red", "Chemlight_red" }; Respawnmagazines[] = { "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "SmokeShell", "SmokeShellRed", "SmokeShellOrange", "SmokeShellYellow", "Chemlight_red", "Chemlight_red" }; }; class B_recon_medic_F; class Recon_Medic : B_recon_medic_F { _generalMacro = ""; scope = 2; scopeCurator=2; displayName = ""; faction = CTRG; vehicleClass = "CTRG_Group"; nakedUniform = "U_BasicBody"; uniformClass = "U_B_CTRG_1"; backpack = "B_AssaultPack_rgr"; linkedItems[] = { "V_Chestrig_blk", "H_Watchcap_blk", "G_Bandanna_beast", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS", "NVGogglesB_blk_F" }; respawnLinkedItems[] = { "V_Chestrig_blk", "H_Watchcap_blk", "G_Bandanna_beast", "ItemMap", "ItemCompass", "ItemWatch", "ItemRadio", "ItemGPS", "NVGogglesB_blk_F" }; weapons[] = { "arifle_MX_Black_F", "hgun_Pistol_heavy_01_F", "Laserdesignator" }; respawnweapons[] = { "arifle_MX_Black_F", "hgun_Pistol_heavy_01_F", "Laserdesignator" }; magazines[] = { "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "SmokeShell", "SmokeShellRed", "SmokeShellOrange", "SmokeShellYellow", "Chemlight_red", "Chemlight_red", "APERSTripMine_Wire_Mag", "ClaymoreDirectionalMine_Remote_Mag", "Laserbatteries", "FirstAidKit", "FirstAidKit" }; Respawnmagazines[] = { "", "", "", "", "", "", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "11Rnd_45ACP_Mag", "SmokeShell", "SmokeShellRed", "SmokeShellOrange", "SmokeShellYellow", "Chemlight_red", "Chemlight_red", "APERSTripMine_Wire_Mag", "ClaymoreDirectionalMine_Remote_Mag", "Laserbatteries", "FirstAidKit", "FirstAidKit" }; }; }; class CfgGroups { class WEST { name = "BLUFOR"; // Name of Faction Side side = 1; // 0 = Opfor , 1 = Blufor , 2 = Indep , I think class SomeFactionClass //Faction Class name { name = "Curious's Framework - Custom Units"; //Faction Name class Infantry { name = "Infantry"; //Name of Sub Group - Infantry , SpecOps , Support , Motorized , Mechanized, Armored class CTRG_Group_1 { name = "CTRG - Recon"; //Name of Group faction = "CTRG"; //Faction side = 0; //Side class Unit0 { side = 0; vehicle = "Recon_Scout"; //Class name of desired solider rank = "Private"; // Rank position[] = {0,5,0}; //Position in the formation }; class Unit1 { side = 0; vehicle = "Recon_Scout"; rank = "Private"; position[] = {3,0,0}; }; class Unit2 { side = 0; vehicle = "Recon_JTAC"; rank = "Private"; position[] = {0,0,1}; }; class Unit3 { side = 0; vehicle = "Recon_Autofileman"; rank = "Private"; position[] = {1,0,0}; }; class Unit4 { side = 0; vehicle = "Recon_Marksman"; rank = "Private"; position[] = {3,0,0}; }; class Unit5 { side = 0; vehicle = "Recon_Medic"; rank = "Private"; position[] = {2,0,0}; }; }; }; }; }; }; Share this post Link to post Share on other sites