123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428 |
- #include "../../../../RD501_Main/config_macros.hpp"
- #include "../../../config_macros.hpp"
- #ifndef CONCAT
- #define CONCAT(a,b) a##b
- #endif
- #ifndef CONCAT_3
- #define CONCAT_3(a,b,c) CONCAT(a,CONCAT(b,c))
- #endif
- #ifndef RD501_TEXTURE
- #define RD501_TEXTURE(basePath,fileName) CONCAT(basePath,CONCAT(fileName,.paa))
- #endif
- #ifndef TEXTUREPATH
- #define TEXTUREPATH rd501_units\textures
- #endif
- //ENSURE MYNOCK_TEXTUREPATH BEGINS AND ENDS WITH TRAILING BACKSLASH OR THAT THE OTHER PATH SEGMENTS DO THE SAME
- #define MYNOCK_TEXTUREPATH CONCAT(TEXTUREPATH,\Republic\clones\mynock\)
- #define MYNOCK_TEXTURE(fileName) RD501_TEXTURE(MYNOCK_TEXTUREPATH,fileName)
- // ------------------------------------------------------------------------------------
- // MYNOCK UNIFORMS CONFIG
- // ------------------------------------------------------------------------------------
- // As much as you want to put other stuff here, please reconsider your decision.
- // Splitting the configs up prevents 20k line long config files for uniforms, and makes it easier to understand whats going on.
- class CfgPatches
- {
- class macro_patch_name(mynock_uniforms)
- {
- addonRootClass=macro_patch_name(units);
- requiredAddons[] =
- {
- macro_patch_name(units)
- };
- units[]=
- {
-
- };
- requiredVersion = 0.1;
- };
- };
- class CfgWeapons
- {
- // ------------------------------------------------------------------------------------
- // INHERIT UNFIORM
- // ------------------------------------------------------------------------------------
- class UniformItem;
- class Uniform_Base;
- #define RD501_BASE_UNIFORM macro_new_uniform_class(501_inf,recruit)
- class RD501_BASE_UNIFORM : Uniform_Base
- {
- class ItemInfo : UniformItem
- {
- };
- };
- // ------------------------------------------------------------------------------------
- // TROOPER UNFIORM
- // ------------------------------------------------------------------------------------
-
- #define MYNOCK_UNIFORM_CLASS(rank) macro_new_uniform_class(501_myn,rank)
- #define MYNOCK_UNIFORM_SKIN_CLASS(rank) macro_new_uniform_skin_class(501_myn,rank)
- class MYNOCK_UNIFORM_CLASS(cadet) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN ARMR 01 (Cadet)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_UNIFORM_SKIN_CLASS(cadet);
- };
- };
- class MYNOCK_UNIFORM_CLASS(trooper) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN ARMR 02 (Trooper)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_UNIFORM_SKIN_CLASS(trooper);
- };
- };
- class MYNOCK_UNIFORM_CLASS(strooper) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN ARMR 03 (Senior Trooper)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_UNIFORM_SKIN_CLASS(strooper);
- };
- };
- class MYNOCK_UNIFORM_CLASS(vtrooper) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN ARMR 04 (Veteran Trooper)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_UNIFORM_SKIN_CLASS(vtrooper);
- };
- };
- // ------------------------------------------------------------------------------------
- // TROOPER NCO UNFIORM
- // ------------------------------------------------------------------------------------
-
- class MYNOCK_UNIFORM_CLASS(corporal) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN ARMR 06 (Corporal)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_UNIFORM_SKIN_CLASS(corporal);
- };
- };
- class MYNOCK_UNIFORM_CLASS(scorporal) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN ARMR 07 (Senior Corporal)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_UNIFORM_SKIN_CLASS(scorporal);
- };
- };
- class MYNOCK_UNIFORM_CLASS(sergeant) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN ARMR 08 (Sergeant)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_UNIFORM_SKIN_CLASS(sergeant);
- };
- };
- class MYNOCK_UNIFORM_CLASS(ssergeant) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN ARMR 09 (Senior Sergeant)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_UNIFORM_SKIN_CLASS(ssergeant);
- };
- };
- // ------------------------------------------------------------------------------------
- // MEDIC UNFIORM
- // ------------------------------------------------------------------------------------
- #define MYNOCK_MEDIC_UNIFORM_CLASS(rank) macro_new_uniform_class(501_myn_medic,rank)
- #define MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(rank) macro_new_uniform_skin_class(501_myn_medic,rank)
-
- class MYNOCK_MEDIC_UNIFORM_CLASS(cadet) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN MED ARMR 01 (Cadet)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(cadet);
- };
- };
- class MYNOCK_MEDIC_UNIFORM_CLASS(trooper) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN MED ARMR 02 (Trooper)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(trooper);
- };
- };
- class MYNOCK_MEDIC_UNIFORM_CLASS(strooper) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN MED ARMR 03 (Senior Trooper)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(strooper);
- };
- };
- class MYNOCK_MEDIC_UNIFORM_CLASS(vtrooper) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN MED ARMR 04 (Veteran Trooper)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(vtrooper);
- };
- };
- // ------------------------------------------------------------------------------------
- // MEDIC NCO UNFIORM
- // ------------------------------------------------------------------------------------
-
- class MYNOCK_MEDIC_UNIFORM_CLASS(corporal) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN MED ARMR 05 (Corporal)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(corporal);
- };
- };
- class MYNOCK_MEDIC_UNIFORM_CLASS(scorporal) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN MED ARMR 06 (Senior Corporal)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(scorporal);
- };
- };
- // ------------------------------------------------------------------------------------
- // RTO UNFIORM
- // ------------------------------------------------------------------------------------
- #define MYNOCK_RTO_UNIFORM_CLASS(rank) macro_new_uniform_class(501_myn_rto,rank)
- #define MYNOCK_RTO_UNIFORM_SKIN_CLASS(rank) macro_new_uniform_skin_class(501_myn_rto,rank)
-
- class MYNOCK_RTO_UNIFORM_CLASS(cadet) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN RTO ARMR 01 (Cadet)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_RTO_UNIFORM_SKIN_CLASS(cadet);
- };
- };
- class MYNOCK_RTO_UNIFORM_CLASS(trooper) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN RTO ARMR 02 (Trooper)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_RTO_UNIFORM_SKIN_CLASS(trooper);
- };
- };
- class MYNOCK_RTO_UNIFORM_CLASS(strooper) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN RTO ARMR 03 (Senior Trooper)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_RTO_UNIFORM_SKIN_CLASS(strooper);
- };
- };
- class MYNOCK_RTO_UNIFORM_CLASS(vtrooper) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN RTO ARMR 04 (Veteran Trooper)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_RTO_UNIFORM_SKIN_CLASS(vtrooper);
- };
- };
- // ------------------------------------------------------------------------------------
- // RTO NCO UNFIORM
- // ------------------------------------------------------------------------------------
-
- class MYNOCK_RTO_UNIFORM_CLASS(corporal) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN RTO ARMR 05 (Corporal)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_RTO_UNIFORM_SKIN_CLASS(corporal);
- };
- };
- class MYNOCK_RTO_UNIFORM_CLASS(scorporal) : RD501_BASE_UNIFORM
- {
- displayName = "[501st] MYN RTO ARMR 06 (Senior Corporal)";
- class ItemInfo : ItemInfo
- {
- uniformClass = MYNOCK_RTO_UNIFORM_SKIN_CLASS(scorporal);
- };
- };
- };
- class CfgVehicles
- {
- // ------------------------------------------------------------------------------------
- // INHERIT SKINS
- // ------------------------------------------------------------------------------------
- class B_Soldier_base_f;
- class B_Soldier_f : B_Soldier_base_F
- {
- };
- #define RD501_BASE_UNIFORM_SKIN macro_new_uniform_skin_class(501_inf,recruit)
- class RD501_BASE_UNIFORM_SKIN : B_Soldier_f
- {
-
- };
- // ------------------------------------------------------------------------------------
- // TROOPER SKINS
- // ------------------------------------------------------------------------------------
- // MYNOCK_UNIFORM_SKIN_CLASS(rank) macro_new_uniform_skin_class(501_myn,rank)
- #define MYNOCK_TEXTURE_UPPER(rank) MYNOCK_TEXTURE(CONCAT_3(mynock,_,CONCAT_3(rank,_,upper)))
- #define MYNOCK_TEXTURE_LOWER(rank) MYNOCK_TEXTURE(CONCAT_3(mynock,_,CONCAT_3(rank,_,lower)))
- class MYNOCK_UNIFORM_SKIN_CLASS(cadet) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_TEXTURE_UPPER(cadet), MYNOCK_TEXTURE_LOWER(cadet)};
- };
- class MYNOCK_UNIFORM_SKIN_CLASS(trooper) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_TEXTURE_UPPER(trooper), MYNOCK_TEXTURE_LOWER(trooper)};
- };
- class MYNOCK_UNIFORM_SKIN_CLASS(strooper) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_TEXTURE_UPPER(strooper), MYNOCK_TEXTURE_LOWER(strooper)};
- };
- class MYNOCK_UNIFORM_SKIN_CLASS(vtrooper) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_TEXTURE_UPPER(vtrooper), MYNOCK_TEXTURE_LOWER(vtrooper)};
- };
- // ------------------------------------------------------------------------------------
- // TROOPER NCO SKINS
- // ------------------------------------------------------------------------------------
-
- class MYNOCK_UNIFORM_SKIN_CLASS(corporal) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_TEXTURE_UPPER(corporal), MYNOCK_TEXTURE_LOWER(corporal)};
- };
-
- class MYNOCK_UNIFORM_SKIN_CLASS(scorporal) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_TEXTURE_UPPER(scorporal), MYNOCK_TEXTURE_LOWER(scorporal)};
- };
- class MYNOCK_UNIFORM_SKIN_CLASS(sergeant) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_TEXTURE_UPPER(sergeant), MYNOCK_TEXTURE_LOWER(sergeant)};
- };
-
- class MYNOCK_UNIFORM_SKIN_CLASS(ssergeant) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_TEXTURE_UPPER(ssergeant), MYNOCK_TEXTURE_LOWER(ssergeant)};
- };
- // ------------------------------------------------------------------------------------
- // MEDIC SKINS
- // ------------------------------------------------------------------------------------
- // MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(rank) macro_new_uniform_skin_class(501_myn_medic,rank)
- #define MYNOCK_MEDIC_TEXTURE_UPPER(rank) MYNOCK_TEXTURE_UPPER(CONCAT_3(medic,_,rank))
- #define MYNOCK_MEDIC_TEXTURE_LOWER(rank) MYNOCK_TEXTURE_LOWER(CONCAT_3(medic,_,rank))
- class MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(cadet) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_MEDIC_TEXTURE_UPPER(cadet), MYNOCK_MEDIC_TEXTURE_LOWER(cadet)};
- };
- class MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(trooper) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_MEDIC_TEXTURE_UPPER(trooper), MYNOCK_MEDIC_TEXTURE_LOWER(trooper)};
- };
- class MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(strooper) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_MEDIC_TEXTURE_UPPER(strooper), MYNOCK_MEDIC_TEXTURE_LOWER(strooper)};
- };
- class MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(vtrooper) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_MEDIC_TEXTURE_UPPER(vtrooper), MYNOCK_MEDIC_TEXTURE_LOWER(vtrooper)};
- };
- // ------------------------------------------------------------------------------------
- // MEDIC NCO SKINS
- // ------------------------------------------------------------------------------------
-
- class MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(corporal) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_MEDIC_TEXTURE_UPPER(corporal), MYNOCK_MEDIC_TEXTURE_LOWER(corporal)};
- };
-
- class MYNOCK_MEDIC_UNIFORM_SKIN_CLASS(scorporal) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_MEDIC_TEXTURE_UPPER(scorporal), MYNOCK_MEDIC_TEXTURE_LOWER(scorporal)};
- };
- // ------------------------------------------------------------------------------------
- // RTO SKINS
- // ------------------------------------------------------------------------------------
- // MYNOCK_RTO_UNIFORM_SKIN_CLASS(rank) macro_new_uniform_skin_class(501_myn_rto,rank)
- #define MYNOCK_RTO_TEXTURE_UPPER(rank) MYNOCK_TEXTURE_UPPER(CONCAT_3(rto,_,rank))
- #define MYNOCK_RTO_TEXTURE_LOWER(rank) MYNOCK_TEXTURE_LOWER(CONCAT_3(rto,_,rank))
- class MYNOCK_RTO_UNIFORM_SKIN_CLASS(cadet) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_RTO_TEXTURE_UPPER(cadet), MYNOCK_RTO_TEXTURE_LOWER(cadet)};
- };
- class MYNOCK_RTO_UNIFORM_SKIN_CLASS(trooper) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_RTO_TEXTURE_UPPER(trooper), MYNOCK_RTO_TEXTURE_LOWER(trooper)};
- };
- class MYNOCK_RTO_UNIFORM_SKIN_CLASS(strooper) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_RTO_TEXTURE_UPPER(strooper), MYNOCK_RTO_TEXTURE_LOWER(strooper)};
- };
- class MYNOCK_RTO_UNIFORM_SKIN_CLASS(vtrooper) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_RTO_TEXTURE_UPPER(vtrooper), MYNOCK_RTO_TEXTURE_LOWER(vtrooper)};
- };
- // ------------------------------------------------------------------------------------
- // RTO NCO SKINS
- // ------------------------------------------------------------------------------------
-
- class MYNOCK_RTO_UNIFORM_SKIN_CLASS(corporal) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_RTO_TEXTURE_UPPER(corporal), MYNOCK_RTO_TEXTURE_LOWER(corporal)};
- };
-
- class MYNOCK_RTO_UNIFORM_SKIN_CLASS(scorporal) : RD501_BASE_UNIFORM_SKIN
- {
- hiddenSelectionsTextures[] = {MYNOCK_RTO_TEXTURE_UPPER(scorporal), MYNOCK_RTO_TEXTURE_LOWER(scorporal)};
- };
- };
- class CfgWeapons{
- // ------------------------------------------------------------------------------------
- // INHERIT PAULDRON
- // ------------------------------------------------------------------------------------
-
- // ------------------------------------------------------------------------------------
- // TROOPER PAULDRON
- // ------------------------------------------------------------------------------------
- // ------------------------------------------------------------------------------------
- // MEDIC PAULDRON
- // ------------------------------------------------------------------------------------
-
- // ------------------------------------------------------------------------------------
- // RTO PAULDRON
- // ------------------------------------------------------------------------------------
-
- };
|