Skip to content

Commit

Permalink
4.0.0 (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
Freddo3000 authored Jul 19, 2021
1 parent d1b6772 commit ca5d419
Show file tree
Hide file tree
Showing 3 changed files with 2,769 additions and 2,366 deletions.
12 changes: 12 additions & 0 deletions ARCMT.vr/description.ext
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,16 @@ class CfgLoadouts {
displayName = "Example Loadout";
#include "loadouts\example_loadout.hpp"
};

// Example import and modification of loadout
import BLU_F from CfgLoadouts;
class BLU_F: BLU_F {
// Add some explosives to the engineer
class eng: eng {
backpackitems[] += {
"SatchelCharge_Remote_Mag",
LIST_3("DemoCharge_Remote_Mag")
};
};
};
};
50 changes: 19 additions & 31 deletions ARCMT.vr/loadouts/example_loadout.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ class baseMan {// Weaponless baseclass

// These are added to the uniform or vest
magazines[] = {};
items[] = { MEDICAL_R };
items[] = {
MEDICAL_R,
"ACE_EntrenchingTool",
LIST_3("ACE_CableTie")
};
// These are added directly into their respective slots
linkedItems[] = {
"ItemMap",
Expand Down Expand Up @@ -91,6 +95,7 @@ class m : cls {
displayName = "Medic";
backpack[] = {"B_Carryall_mcamo"};
backpackItems[] = { MEDICAL_M };
linkedItems[] += {"Binocular"};
};

class smg : r {
Expand All @@ -101,6 +106,7 @@ class smg : r {
LIST_2("HandGrenade"),
LIST_2("SmokeShell")
};
items[] = { MEDICAL_R };
};

class ftl : g {
Expand Down Expand Up @@ -164,8 +170,7 @@ class ar : r {
class aar : r {
displayName = "Assistant Automatic Rifleman";
backpackItems[] = {
LIST_4("100Rnd_65x39_caseless_mag"),
"ACE_EntrenchingTool"
LIST_4("100Rnd_65x39_caseless_mag")
};
linkedItems[] += {"Binocular"};
};
Expand Down Expand Up @@ -481,41 +486,24 @@ class jp : smg {
};
};

class eng : car {
displayName = "Combat Engineer (Explosives)";
traits[] = {"engineer", "explosiveSpecialist"};
class logi : car {
displayName = "Logistics";
traits[] = {"engineer"};
backpack[] = {"B_Kitbag_rgr"};
vest[] = {"V_PlateCarrier3_rgr"};
sidearmWeapon[] = {"ACE_VMM3"};
items[] += {
"ACE_wirecutter",
"ACE_Clacker",
"ACE_DefusalKit",
"ACE_EntrenchingTool"
};
backpackItems[] = {
"ToolKit",
LIST_2("DemoCharge_Remote_Mag"),
LIST_2("ClaymoreDirectionalMine_Remote_Mag"),
"SatchelCharge_Remote_Mag"
"ACE_wirecutter"
};
linkedItems[] += {"ItemGPS"};
backpackItems[] = {"ToolKit"};
};

class engm : car {
displayName = "Combat Engineer (Mines)";
traits[] = {"engineer", "explosiveSpecialist"};
backpack[] = {"B_Kitbag_rgr"};
vest[] = {"V_PlateCarrier3_rgr"};
class eng : logi {
displayName = "Combat Engineer";
traits[] += {"explosiveSpecialist"};
sidearmWeapon[] = {"ACE_VMM3"};
items[] += {
"ACE_wirecutter",
"ACE_DefusalKit",
"ACE_EntrenchingTool"
};
backpackItems[] = {
"ToolKit",
LIST_8("APERSMine_Range_Mag"),
"ATMine_Range_Mag"
"ACE_Clacker",
"ACE_DefusalKit"
};
};

Expand Down
Loading

0 comments on commit ca5d419

Please sign in to comment.