Skip to content

Commit

Permalink
Merge pull request #388 from maxcloutier13/Dev---Active
Browse files Browse the repository at this point in the history
Ajout: massive cleanup
  • Loading branch information
maxcloutier13 authored Sep 3, 2023
2 parents 4a72e7e + 8aab8f7 commit cab4a4d
Show file tree
Hide file tree
Showing 129 changed files with 61 additions and 6,350 deletions.
74 changes: 12 additions & 62 deletions cfg_containers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class cgqc_pack_mk1_kitbag : B_Kitbag_Base // Base
displayName = "CGQC Kitbag Vert";
picture = "\A3\Weapons_F\ammoboxes\bags\data\ui\icon_B_C_Kitbag_rgr";
model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Fast";
hiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_fast_rgr_co.paa"};
hiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_fast_rgr_co.paa"};
};
class cgqc_pack_mk1_kitbag_desert : B_mas_can_Kitbag_d // Desert
{
Expand Down Expand Up @@ -472,7 +472,7 @@ class cgqc_pack_mk1_tank_driver : cgqc_pack_mk1_magic
};
class TransportItems
{

};
class TransportWeapons
{
Expand All @@ -485,13 +485,13 @@ class CGQC_units_mk1_0_HQ_pack : cgqc_pack_mk1_radiobag
scope = 1;
class TransportMagazines
{

class _xx_SmokeShell
{
count = 3;
magazine = "SmokeShell";
};

};
class TransportItems
{
Expand Down Expand Up @@ -719,7 +719,7 @@ class CGQC_units_mk1_0_TeamLeader_Carbine_pack : cgqc_pack_mk1_radiobag
count = 1;
name = "G_mas_can_gasmask";
};

class _xx_ACRE_PRC117F
{
count = 1;
Expand Down Expand Up @@ -819,7 +819,7 @@ class CGQC_units_mk1_0_TeamLeader_CQB_pack : cgqc_pack_mk1_radiobag
count = 1;
name = "G_mas_can_gasmask";
};

class _xx_ACRE_PRC117F
{
count = 1;
Expand Down Expand Up @@ -1553,7 +1553,7 @@ class CGQC_units_mk1_2_Marksman_pack : cgqc_pack_mk1_kitbag
count = 1;
name = "ACE_Kestrel4500";
};

};
class TransportWeapons
{
Expand Down Expand Up @@ -1644,7 +1644,7 @@ class CGQC_units_mk1_2_Sniper_pack : cgqc_pack_mk1_kitbag
count = 1;
name = "ACE_Kestrel4500";
};

};
class TransportWeapons
{
Expand Down Expand Up @@ -1827,7 +1827,7 @@ class CGQC_units_mk1_4_Tank_Driver_pack : cgqc_pack_mk1_magic
count = 1;
name = "ToolKit";
};

class _xx_ACE_fieldDressing
{
count = 10;
Expand Down Expand Up @@ -1893,27 +1893,7 @@ class CGQC_units_mk1_4_crew_heli_pack : B_Parachute
};
};

// ------ MK II -----------------------------------------------------------------------------------------
// Mk2 Arsenal
class cgqc_box_mk2_arsenal_old : B_supplyCrate_F
{
scope = 2;
author = "silent1";
_generalMacro = "cgqc_box_mk2_arsenal_old";
displayName = "CGQC MK2 Arsenal (Old)";
hiddenSelectionsTextures[] = {"\CGQC_2022\containers\cgqc_box_mk2.paa"};
editorPreview = "\A3\EditorPreviews_F_Orange\Data\CfgVehicles\C_IDAP_supplyCrate_F.jpg";
ace_cargo_canLoad = 0; // Enables the object to be loaded (1-yes, 0-no)
ace_cargo_noRename = 1;
class EventHandlers
{
init = "_this execVM '\CGQC_2022\loadouts\cgqc_box_mk2.sqf'";
};
class TransportMagazines{};
class TransportWeapons{};
class TransportItems{};
class TransportBackpacks{};
};
// 2023 upgrades of Core containers
// Parachute stuff
class cgqc_box_mk2_parachute : Box_NATO_Equip_F
{
Expand Down Expand Up @@ -1964,7 +1944,7 @@ class cgqc_box_mk2_parachute : Box_NATO_Equip_F
};
class EventHandlers
{
init = "[_this, 'para'] execVM '\CGQC\loadouts\mk3_menu.sqf'";
init = "[_this, 'para'] call CGQC_fnc_loadMk3Menu";
};
};
// Diving stuff
Expand Down Expand Up @@ -2014,36 +1994,6 @@ class cgqc_box_mk2_diving : Box_NATO_Equip_F
};
class EventHandlers
{
init = "[_this, 'dive'] execVM '\CGQC\loadouts\mk3_menu.sqf'";
};
};
// Mk2 Cargo container
class cgqc_box_mk2_cargo : Land_Cargo10_military_green_F
{
scope = 2;
author = "silent1";
_generalMacro = "cgqc_box_mk2_cargo";
displayName = "CGQC MK2 Cargo Container";
model = "\cgqc_2022\containers\cgqc_box_cargo.p3d";
ace_cargo_canLoad = 0; // Enables the object to be loaded (1-yes, 0-no)
ace_cargo_noRename = 1;
class EventHandlers
{
init = "_this execVM '\CGQC_2022\loadouts\cgqc_box_mk2_cargo.sqf'";
};
};
// Legacy mk1 cargo
class cgqc_box_mk1_cargo : Land_Cargo10_military_green_F
{
scope = 0;
author = "silent1";
_generalMacro = "cgqc_box_mk1_cargo";
displayName = "CGQC MK2 Cargo Container";
model = "\cgqc_2022\containers\cgqc_box_cargo.p3d";
ace_cargo_canLoad = 0; // Enables the object to be loaded (1-yes, 0-no)
ace_cargo_noRename = 1;
class EventHandlers
{
//init = "_this execVM '\CGQC_2022\loadouts\cgqc_box_mk2_cargo.sqf'";
init = "[_this, 'dive'] call CGQC_fnc_loadMk3Menu";
};
};
10 changes: 1 addition & 9 deletions cfg_functions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,4 @@ class cfgFunctions {
};*/
};
};
};

// Initialisation ----------------------------------------------------------------------------
/*
class preInit {
file = "\cgqc\functions\fnc_preInit.sqf";
description = "Set everything that needs to be there before editor/menu/briefing";
};
*/
};
Loading

0 comments on commit cab4a4d

Please sign in to comment.