Skip to content

Commit

Permalink
Switch to CBA Facewear (#24)
Browse files Browse the repository at this point in the history
* Initial commit

- Replaced `TACU_allowedFacewear` with `CBA_facewearList`
- Replaced `"None"` entries with `""`

* Removed TACU facewear function

- Removed TACU facewear function and all related files, as they're no longer needed
  • Loading branch information
Kresky authored Sep 24, 2019
1 parent ea8745d commit 7f4bb6b
Show file tree
Hide file tree
Showing 28 changed files with 56 additions and 104 deletions.
2 changes: 1 addition & 1 deletion addons/cartel/CfgVehicles_Sicarios.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class TACU_Cartel_U_O_Sicario_Rifleman_01: TACU_Main_U_OPFOR_Soldier_Base {
headgearList[] = {
"", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"G_Aviator", 1
};
editorPreview = QPATHTOF(ui\Cartel_U_O_Sicario_Rifleman_01.jpg);
Expand Down
4 changes: 2 additions & 2 deletions addons/cartel/CfgVehicles_Soldados.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class TACU_Cartel_U_O_Soldado_Rifleman: TACU_Main_U_OPFOR_Soldier_Base {
"H_Bandanna_khk", 0.30,
"", 0.30
};
TACU_allowedFacewear[] = {
"None", 1
CBA_facewearList[] = {
"", 1
};
};

Expand Down
5 changes: 0 additions & 5 deletions addons/main/CfgEventHandlers.hpp

This file was deleted.

8 changes: 0 additions & 8 deletions addons/main/CfgFunctions.hpp

This file was deleted.

12 changes: 6 additions & 6 deletions addons/main/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class CfgVehicles {
headgearList[] = {
"", 1
};
TACU_allowedFacewear[] = {
"None", 1
CBA_facewearList[] = {
"", 1
};
};

Expand Down Expand Up @@ -67,8 +67,8 @@ class CfgVehicles {
headgearList[] = {
"", 1
};
TACU_allowedFacewear[] = {
"None", 1
CBA_facewearList[] = {
"", 1
};
};

Expand Down Expand Up @@ -101,8 +101,8 @@ class CfgVehicles {
headgearList[] = {
"", 1
};
TACU_allowedFacewear[] = {
"None", 1
CBA_facewearList[] = {
"", 1
};
};
};
Expand Down
3 changes: 0 additions & 3 deletions addons/main/XEH_preInit.sqf

This file was deleted.

2 changes: 0 additions & 2 deletions addons/main/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,5 @@ class CfgPatches {
};
};

#include "CfgEventHandlers.hpp"
#include "CfgFunctions.hpp"
#include "CfgMods.hpp"
#include "CfgVehicles.hpp"
30 changes: 0 additions & 30 deletions addons/main/functions/fn_randomizeFacewear.sqf

This file was deleted.

2 changes: 1 addition & 1 deletion addons/msf/CfgVehicles_DDogs_Black.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class TACU_MSF_U_I_DDogs_Black_Rifleman_01: TACU_Main_U_INDEP_Soldier_Base {
headgearList[] = {
"tacs_Helmet_Enc_Ballistic_DarkBlack", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"G_Balaclava_TI_blk_F", 1,
};
editorSubcategory = "TACU_MSF_EdSubCat_DDogs_Black";
Expand Down
2 changes: 1 addition & 1 deletion addons/msf/CfgVehicles_Foxhound.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class TACU_MSF_U_I_Foxhound_Rifleman_01: TACU_Main_U_INDEP_Soldier_Base {
headgearList[] = {
"TACU_MSF_Helmet_LightCombat_Foxhound", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"G_Balaclava_TI_blk_F", 1,
};
editorSubcategory = "TACU_MSF_EdSubCat_Foxhound";
Expand Down
2 changes: 1 addition & 1 deletion addons/msf/CfgVehicles_Regular_Black.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class TACU_MSF_U_I_Regular_Black_Rifleman_01: TACU_Main_U_INDEP_Soldier_Base {
headgearList[] = {
"", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"G_Balaclava_TI_blk_F", 1,
};
editorSubcategory = "TACU_MSF_EdSubCat_Regular_Black";
Expand Down
18 changes: 9 additions & 9 deletions addons/plr/CfgVehicles_Insurgents.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class TACU_PLR_U_O_Insurgent_Rifleman_01: TACU_Main_U_OPFOR_Soldier_Base {
"H_Shemag_olive", 0.1,
"CUP_H_SLA_Helmet_BLK", 0.25
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"CUP_FR_NeckScarf5", 1,
"CUP_FR_NeckScarf2", 0.2,
"CUP_FR_NeckScarf", 0.2,
Expand All @@ -53,7 +53,7 @@ class TACU_PLR_U_O_Insurgent_Rifleman_02: TACU_PLR_U_O_Insurgent_Rifleman_01 {
"H_Shemag_olive", 0.1,
"CUP_H_SLA_Helmet_BLK", 0.5
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"CUP_FR_NeckScarf5", 1,
"CUP_FR_NeckScarf2", 0.2,
"CUP_FR_NeckScarf", 0.2,
Expand All @@ -76,7 +76,7 @@ class TACU_PLR_U_O_Insurgent_Rifleman_03: TACU_PLR_U_O_Insurgent_Rifleman_01 {
headgearList[] = {
"", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"G_Balaclava_blk", 1,
"G_Balaclava_oli", 0.2
};
Expand All @@ -97,7 +97,7 @@ class TACU_PLR_U_O_Insurgent_Rifleman_04: TACU_PLR_U_O_Insurgent_Rifleman_01 {
headgearList[] = {
"", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"G_Balaclava_blk", 1,
"G_Balaclava_oli", 0.2
};
Expand All @@ -121,7 +121,7 @@ class TACU_PLR_U_O_Insurgent_Rifleman_05: TACU_PLR_U_O_Insurgent_Rifleman_01 {
"H_Shemag_olive", 0.1,
"CUP_H_SLA_Helmet_BLK", 0.4
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"CUP_FR_NeckScarf5", 1,
"CUP_FR_NeckScarf2", 0.2,
"CUP_FR_NeckScarf", 0.2,
Expand All @@ -145,7 +145,7 @@ class TACU_PLR_U_O_Insurgent_Rifleman_AT: TACU_PLR_U_O_Insurgent_Rifleman_01 {
headgearList[] = {
"", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"G_Balaclava_blk", 1,
"G_Balaclava_oli", 0.2
};
Expand All @@ -166,7 +166,7 @@ class TACU_PLR_U_O_Insurgent_TeamLeader: TACU_PLR_U_O_Insurgent_Rifleman_01 {
headgearList[] = {
"CUP_H_SLA_BeretRed", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"CUP_FR_NeckScarf5", 1
};
editorPreview = QPATHTOF(ui\PLR_U_O_Insurgent_TeamLeader.jpg);
Expand All @@ -186,7 +186,7 @@ class TACU_PLR_U_O_Insurgent_Autorifleman: TACU_PLR_U_O_Insurgent_Rifleman_01 {
headgearList[] = {
"", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"G_Balaclava_blk", 1,
"G_Balaclava_oli", 0.1
};
Expand All @@ -209,7 +209,7 @@ class TACU_PLR_U_O_Insurgent_Sniper: TACU_PLR_U_O_Insurgent_Rifleman_01 {
"H_ShemagOpen_tan", 0.2,
"H_Shemag_olive", 0.2
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"CUP_FR_NeckScarf5", 1,
"CUP_FR_NeckScarf4", 0.1,
"CUP_FR_NeckScarf2", 0.1,
Expand Down
2 changes: 1 addition & 1 deletion addons/plr/CfgVehicles_Paramilitary.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class TACU_PLR_U_O_Paramilitary_Rifleman_01: TACU_Main_U_OPFOR_Soldier_Base {
headgearList[] = {
"CUP_H_RUS_6B27_olive", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"milgp_f_face_shield_goggles_RGR", 1
};
editorPreview = QPATHTOF(ui\PLR_U_O_Paramilitary_Rifleman_01.jpg);
Expand Down
4 changes: 2 additions & 2 deletions addons/police/CfgVehicles_B.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class TACU_Police_U_B_CT_Rifleman: TACU_Main_U_BLUFOR_Soldier_Base {
"BWA3_OpsCore", 0.50,
"BWA3_OpsCore_Camera", 0.50
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"CUP_G_PMC_Facewrap_Black_Glasses_Dark", 0.30,
"CUP_G_PMC_Facewrap_Black_Glasses_Dark_Headset", 0.30,
"CUP_G_PMC_Facewrap_Black_Glasses_Ember", 0.30
Expand Down Expand Up @@ -82,7 +82,7 @@ class TACU_Police_U_B_Enforcer_Rifleman: TACU_Main_U_BLUFOR_Soldier_Base {
"BWA3_OpsCore", 0.25,
"BWA3_OpsCore_Camera", 0.25
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"CUP_G_Oakleys_Drk", 0.20,
"CUP_G_Oakleys_Embr", 0.20,
"CUP_G_Oakleys_Clr", 0.20
Expand Down
4 changes: 2 additions & 2 deletions addons/police/CfgVehicles_I.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class TACU_Police_U_I_CT_Rifleman: TACU_Main_U_INDEP_Soldier_Base {
headgearList[] = {
"TACU_Police_Helmet_PASGT_Neck_PoliceBlack", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"G_Balaclava_blk", 0.70,
"G_Balaclava_combat", 0.30
};
Expand Down Expand Up @@ -81,7 +81,7 @@ class TACU_Police_U_I_Enforcer_Rifleman: TACU_Main_U_INDEP_Soldier_Base {
"CUP_H_USArmy_Helmet_Pro", 0.10,
"CUP_H_USArmy_Helmet_Pro_gog", 0.10
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"CUP_G_Oakleys_Drk", 0.20,
"CUP_G_Oakleys_Embr", 0.20,
"CUP_G_Oakleys_Clr", 0.20,
Expand Down
4 changes: 2 additions & 2 deletions addons/police/CfgVehicles_O.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class TACU_Police_U_O_CT_Rifleman: TACU_Main_U_OPFOR_Soldier_Base {
headgearList[] = {
"TACU_Police_Helmet_PASGT_Neck_PoliceGreen", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"CUP_RUS_Balaclava_grn", 0.30,
"CUP_RUS_Balaclava_blk", 0.30,
"G_Balaclava_TI_G_blk_F", 0.30
Expand Down Expand Up @@ -85,7 +85,7 @@ class TACU_Police_U_O_Enforcer_SMG_1: TACU_Police_U_O_CT_Rifleman {
"CUP_H_SLA_BeanieGreen", 0.20,
"CUP_H_PMC_Beanie_Black", 0.20,
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"CUP_G_Oakleys_Drk", 0.25,
"CUP_G_Oakleys_Embr", 0.25,
"CUP_G_Oakleys_Clr", 0.25,
Expand Down
4 changes: 2 additions & 2 deletions addons/revolutionaries/CfgVehicles_I_Russian.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class TACU_Revolutionaries_U_I_Russian_Rifleman01: TACU_Main_U_INDEP_Soldier_Bas
headgearList[] = {
"", 1
};
TACU_allowedFacewear[] = {
"None", 1
CBA_facewearList[] = {
"", 1
};
};

Expand Down
4 changes: 2 additions & 2 deletions addons/revolutionaries/CfgVehicles_I_Tanoan.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class TACU_Revolutionaries_U_I_Tanoan_Rifleman01: TACU_Main_U_INDEP_Soldier_Base
headgearList[] = {
"", 1
};
TACU_allowedFacewear[] = {
"None", 1
CBA_facewearList[] = {
"", 1
};
};

Expand Down
2 changes: 1 addition & 1 deletion addons/revolutionaries/CfgVehicles_O_Russian.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class TACU_Revolutionaries_U_O_Russian_Rifleman01: TACU_Main_U_OPFOR_Soldier_Bas
headgearList[] = {
"", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"G_Balaclava_blk", 1
};
};
Expand Down
2 changes: 1 addition & 1 deletion addons/revolutionaries/CfgVehicles_O_Tanoan.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class TACU_Revolutionaries_U_O_Tanoan_Rifleman01: TACU_Main_U_OPFOR_Soldier_Base
headgearList[] = {
"", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"G_Balaclava_blk", 1
};
};
Expand Down
10 changes: 5 additions & 5 deletions addons/takistansf/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ class CfgVehicles {
"CUP_H_TKI_Lungee_06", 0.75,
"CUP_H_TKI_Lungee_04", 0.75
};
TACU_allowedFacewear[] = {
"None", 1,
CBA_facewearList[] = {
"", 1,
"G_Shades_Black", 0.1
};
editorSubcategory = "TACU_TakistanSF_EdSubCat_TakistanSF";
Expand Down Expand Up @@ -78,7 +78,7 @@ class CfgVehicles {
"CUP_H_TKI_Lungee_05", 1,
"CUP_H_TKI_Lungee_06", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"CUP_FR_NeckScarf", 1,
"CUP_FR_NeckScarf2", 1,
"CUP_FR_NeckScarf3", 1,
Expand Down Expand Up @@ -116,8 +116,8 @@ class CfgVehicles {
"H_Shemag_olive_hs", 1,
"H_Shemag_olive", 1
};
TACU_allowedFacewear[] = {
"None", 1,
CBA_facewearList[] = {
"", 1,
"G_Shades_Black", 1
};
};
Expand Down
4 changes: 2 additions & 2 deletions addons/vanguard/CfgVehicles_Contractors_Green.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TACU_Vanguard_U_Contractor_Green_Rifleman_01: TACU_Main_U_INDEP_Soldier_Ba
headgearList[] = {
"H_HelmetSpecB", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"CUP_FR_NeckScarf", 1
};
editorSubcategory = "TACU_Vanguard_EdSubCat_Contractors_Green";
Expand Down Expand Up @@ -280,4 +280,4 @@ class TACU_Vanguard_V_Qilin: O_T_LSV_02_unarmed_black_F {
crew = "TACU_Vanguard_U_Specialist_Driver";
typicalCargo[] = {"TACU_Vanguard_U_Contractor_Green_Engineer"};
editorPreview = QPATHTOF(ui\Vanguard_V_Qilin.jpg);
};
};
4 changes: 2 additions & 2 deletions addons/vanguard/CfgVehicles_Contractors_Sand.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TACU_Vanguard_U_Contractor_Sand_Rifleman_01: TACU_Main_U_INDEP_Soldier_Bas
headgearList[] = {
"H_HelmetSpecB_sand", 1
};
TACU_allowedFacewear[] = {
CBA_facewearList[] = {
"CUP_FR_NeckScarf2", 1
};
editorSubcategory = "TACU_Vanguard_EdSubCat_Contractors_Sand";
Expand Down Expand Up @@ -119,4 +119,4 @@ class TACU_Vanguard_U_Contractor_Sand_Engineer: TACU_Vanguard_U_Contractor_Sand_
magazines[] = {mag_4("30Rnd_580x42_Mag_F"), mag_2("11Rnd_45ACP_Mag"), "SmokeShell"};
respawnMagazines[] = {mag_4("30Rnd_580x42_Mag_F"), mag_2("11Rnd_45ACP_Mag"), "SmokeShell"};
editorPreview = QPATHTOF(ui\Vanguard_U_Contractor_Sand_Engineer.jpg);
};
};
Loading

0 comments on commit 7f4bb6b

Please sign in to comment.