From b85ced9998e49a95c72ab9d23dee0ff61210620e Mon Sep 17 00:00:00 2001 From: AndreasBrostrom Date: Wed, 3 Apr 2024 11:19:16 +0200 Subject: [PATCH] Updated and added basic structure --- cScripts/CfgLoadouts.hpp | 1 + cScripts/Loadouts/CfgLoadouts_Charlie.hpp | 134 +++++++++++++++--- .../Loadouts/CfgLoadouts_Charlie_Other.hpp | 17 +++ cScripts/Loadouts/CfgLoadouts_UserCustom.hpp | 1 + 4 files changed, 132 insertions(+), 21 deletions(-) create mode 100644 cScripts/Loadouts/CfgLoadouts_Charlie_Other.hpp diff --git a/cScripts/CfgLoadouts.hpp b/cScripts/CfgLoadouts.hpp index 39bf737f5..084b3f0ae 100644 --- a/cScripts/CfgLoadouts.hpp +++ b/cScripts/CfgLoadouts.hpp @@ -3,6 +3,7 @@ class CfgLoadouts { #include "Loadouts\CfgLoadouts_Charlie.hpp" #include "Loadouts\CfgLoadouts_Charlie_Squad.hpp" + #include "Loadouts\CfgLoadouts_Charlie_Other.hpp" #include "Loadouts\CfgLoadouts_Special.hpp" #include "Loadouts\CfgLoadouts_UserCustom.hpp" diff --git a/cScripts/Loadouts/CfgLoadouts_Charlie.hpp b/cScripts/Loadouts/CfgLoadouts_Charlie.hpp index 34d39c5d9..cdde7eb73 100644 --- a/cScripts/Loadouts/CfgLoadouts_Charlie.hpp +++ b/cScripts/Loadouts/CfgLoadouts_Charlie.hpp @@ -1,21 +1,113 @@ -class Cav_B_C_Officer_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_PlatoonSergeant_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_PlatoonLeader_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_Rifleman_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_SquadLeader_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_FireTeamLeader_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_AutomaticRifleman_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_AssistantAutomaticRifleman_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_MachineGunner_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_AssistantMachineGunner_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_Grenadier_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_RiflemanLAT_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_RiflemanAT_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_RiflemanATAssistant_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_RiflemanAA_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_RiflemanAAAssistant_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_RiflemanATR_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_RiflemanATRAssistant_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_PlatoonMedic_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_Medic_F: Cav_B_Charlie_base_F {}; -class Cav_B_C_CombatLifeSaver_F: Cav_B_Charlie_base_F {}; \ No newline at end of file +class Cav_B_C_Officer_F: Cav_B_Charlie_base_F { // Not used (scope 0) + scope = 0; + category[] += {"cScripts_Loadout_Cat_Charlie_Leadership"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_PlatoonSergeant_F: Cav_B_Charlie_base_F { + scope = 2; + category[] += {"cScripts_Loadout_Cat_Charlie_Leadership"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_PlatoonLeader_F: Cav_B_Charlie_base_F { + scope = 2; + category[] += {"cScripts_Loadout_Cat_Charlie_Leadership"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; + + +class Cav_B_C_SquadLeader_F: Cav_B_Charlie_base_F { + scope = 2; + category[] += {"cScripts_Loadout_Cat_Charlie_Leadership"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_FireTeamLeader_F: Cav_B_Charlie_base_F { + scope = 2; + category[] += {"cScripts_Loadout_Cat_Charlie_Squad"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; + +class Cav_B_C_Rifleman_F: Cav_B_Charlie_base_F { + scope = 2; + category[] += {"cScripts_Loadout_Cat_Charlie_Squad"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_AutomaticRifleman_F: Cav_B_Charlie_base_F { + scope = 2; + category[] += {"cScripts_Loadout_Cat_Charlie_Squad"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_AssistantAutomaticRifleman_F: Cav_B_Charlie_base_F { // Not used (scope 0) + scope = 0; + category[] += {"cScripts_Loadout_Cat_Charlie_Squad"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_MachineGunner_F: Cav_B_Charlie_base_F { // Not used (scope 0) + scope = 0; + category[] += {"cScripts_Loadout_Cat_Charlie_Weapons"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_AssistantMachineGunner_F: Cav_B_Charlie_base_F { // Not used (scope 0) + scope = 0; + category[] += {"cScripts_Loadout_Cat_Charlie_Weapons"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_Grenadier_F: Cav_B_Charlie_base_F { + scope = 2; + category[] += {"cScripts_Loadout_Cat_Charlie_Squad"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_RiflemanLAT_F: Cav_B_Charlie_base_F { + scope = 2; + category[] += {"cScripts_Loadout_Cat_Charlie_Squad"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_RiflemanAT_F: Cav_B_Charlie_base_F { // Not used (scope 0) + scope = 0; + category[] += {"cScripts_Loadout_Cat_Charlie_Weapons"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_RiflemanATAssistant_F: Cav_B_Charlie_base_F { // Not used (scope 0) + scope = 0; + category[] += {"cScripts_Loadout_Cat_Charlie_Weapons"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_RiflemanAA_F: Cav_B_Charlie_base_F { // Not used (scope 0) + scope = 0; + category[] += {"cScripts_Loadout_Cat_Charlie_Weapons"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_RiflemanAAAssistant_F: Cav_B_Charlie_base_F { // Not used (scope 0) + scope = 0; + category[] += {"cScripts_Loadout_Cat_Charlie_Weapons"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_RiflemanATR_F: Cav_B_Charlie_base_F { // Not used (scope 0) + scope = 0; + category[] += {"cScripts_Loadout_Cat_Charlie_Weapons"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; +class Cav_B_C_RiflemanATRAssistant_F: Cav_B_Charlie_base_F { // Not used (scope 0) + scope = 0; + category[] += {"cScripts_Loadout_Cat_Charlie_Weapons"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; +}; + + +class Cav_B_C_Medic_F: Cav_B_Charlie_base_F { // Not used (scope 0) + scope = 0; + category[] += {"cScripts_Loadout_Cat_Charlie_Squad"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; + abilityMedic = 3; +}; +class Cav_B_C_PlatoonMedic_F: Cav_B_Charlie_base_F { + scope = 2; + category[] += {"cScripts_Loadout_Cat_Charlie_Squad"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; + abilityMedic = 2; +}; +class Cav_B_C_CombatLifeSaver_F: Cav_B_Charlie_base_F { + scope = 2; + category[] += {"cScripts_Loadout_Cat_Charlie_Squad"}; + loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; + abilityMedic = 1; +}; \ No newline at end of file diff --git a/cScripts/Loadouts/CfgLoadouts_Charlie_Other.hpp b/cScripts/Loadouts/CfgLoadouts_Charlie_Other.hpp new file mode 100644 index 000000000..e9a6726b5 --- /dev/null +++ b/cScripts/Loadouts/CfgLoadouts_Charlie_Other.hpp @@ -0,0 +1,17 @@ +/* Here is a copy paste friendly empty template: + +class My_Soldier_Classname_or_VariableName: Cav_B_Charlie_base_F { + //displayName = ""; + //scope = 0; + //category[] = {"cScripts_Loadout_Cat_Other"}; + //loadout = [[],[],[],[],[],[],"","",[],["","","","","",""]]; + //insignia = ""; + + //abilityMedic = 0; + //abilityEngineer = 0; + //abilityEOD = 0; + + //preLoadout = ""; + //postLoadout = ""; +}; +*/ diff --git a/cScripts/Loadouts/CfgLoadouts_UserCustom.hpp b/cScripts/Loadouts/CfgLoadouts_UserCustom.hpp index 9f433034e..8c108121c 100644 --- a/cScripts/Loadouts/CfgLoadouts_UserCustom.hpp +++ b/cScripts/Loadouts/CfgLoadouts_UserCustom.hpp @@ -5,6 +5,7 @@ class My_Soldier_Classname_or_VariableName: CommonBlufor { //regiment = ""; //company = ""; + //platoon = -1; //displayName = ""; //scope = 0;