Skip to content

Commit

Permalink
Updated and added basic structure
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom committed Apr 3, 2024
1 parent 171dab0 commit b85ced9
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 21 deletions.
1 change: 1 addition & 0 deletions cScripts/CfgLoadouts.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
134 changes: 113 additions & 21 deletions cScripts/Loadouts/CfgLoadouts_Charlie.hpp
Original file line number Diff line number Diff line change
@@ -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 {};
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;
};
17 changes: 17 additions & 0 deletions cScripts/Loadouts/CfgLoadouts_Charlie_Other.hpp
Original file line number Diff line number Diff line change
@@ -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 = "";
};
*/
1 change: 1 addition & 0 deletions cScripts/Loadouts/CfgLoadouts_UserCustom.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
class My_Soldier_Classname_or_VariableName: CommonBlufor {
//regiment = "";
//company = "";
//platoon = -1;
//displayName = "";
//scope = 0;
Expand Down

0 comments on commit b85ced9

Please sign in to comment.