Advertisement
Guest User

config.cpp fixed texture

a guest
Aug 5th, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.86 KB | None | 0 0
  1. #define private     0
  2. #define protected       1
  3. #define public      2
  4.  
  5. class CfgPatches {
  6.     class 29thID_Uniforms {
  7.         units[] = {"29th_uniform_Pvt","29th_uniform_PFC"};
  8.         weapons[] = {};
  9.         requiredVersion = 0.1;
  10.         requiredAddons[] = {};
  11.     };
  12. };
  13.  
  14.  
  15. class cfgWeapons
  16. {
  17.     class UniformItem;
  18.     class Uniform_Base;
  19.  
  20.     class 29th_uniform_Pvt: Uniform_Base
  21.     {
  22.         scope = 2;
  23.         displayName = "29th uniform Private";
  24.         picture = "\A3\characters_f\data\ui\icon_u_b_soldier_new_ca.paa";
  25.         model = "\29th_uniforms\Soldier4.p3d";
  26.         hiddenSelections[] = {"Camo"};
  27.         hiddenSelectionsTextures[] = {"\29th_uniforms\data\Pvt_co.paa"};
  28.  
  29.         class ItemInfo: UniformItem
  30.         {
  31.             uniformModel = "-";
  32.             uniformClass = "29th_Soldier";
  33.             containerClass = Supply40;
  34.             mass = 40;
  35.         };
  36.     };
  37.     class 29th_uniform_PFC: Uniform_Base
  38.     {
  39.         scope = 2;
  40.         displayName = "29th uniform Private First Class";
  41.         picture = "\A3\characters_f\data\ui\icon_u_b_soldier_new_ca.paa";
  42.         model = "\29th_uniforms\Soldier4.p3d";
  43.         hiddenSelections[] = {"Camo"};
  44.         hiddenSelectionsTextures[] = {"\29th_uniforms\data\PFC_co.paa"};
  45.  
  46.         class ItemInfo: UniformItem
  47.         {
  48.             uniformModel = "-";
  49.             uniformClass = "29th_Soldier";
  50.             containerClass = Supply40;
  51.             mass = 40;
  52.         };
  53.     };
  54. };
  55.  
  56. class cfgVehicles
  57. {
  58.     class B_Soldier_Base_F;
  59.     class 29th_Soldier: B_Soldier_Base_F
  60.     {
  61.         displayName = "29th Unit";
  62.         uniformClass = "29th_uniform"; // This is the classname of your uniform, if you create more uniforms you need to create more soldier classes to correspond with them
  63.         model = "\29th_uniforms\Soldier4.p3d";
  64.         hiddenSelections[] = {"Camo"};                                            // NOTICE THIS IS ADDED IN CONTRAST TO OTHER ONE
  65.         hiddenSelectionsTextures[] = {"\29th_uniforms\data\Pvt_co.paa"};          // NOTICE THIS IS ADDED IN CONTRAST TO OTHER ONE
  66.         weapons[] = {"Throw","Put","Binocular"}; // add weapons and shit
  67.         respawnWeapons[] = {"Throw","Put","Binocular"}; // add weapons and shit that the unit will respawn with if killed in MP
  68.         magazines[] = {}; // magazines and shit
  69.         respawnMagazines[] = {}; // magazines and shit the unit respawns with if killed in MP
  70.         linkedItems[] = {"ItemMap","ItemGPS","ItemCompass","ItemWatch","ItemRadio"}; // stuff
  71.         respawnLinkedItems[] = {"ItemMap","ItemGPS","ItemCompass","ItemWatch","ItemRadio"}; // stuff the unit respawns with if killed in MP
  72.         scope = 2;
  73.         scopeCurator = 2;
  74.         author = "29th engineers";
  75.         vehicleClass = ItemsUniforms;
  76.         class TransportItems
  77.         {
  78.             class U_B_soldier_new
  79.             {
  80.                 name = U_B_soldier_new;
  81.                 count = 1;
  82.             };
  83.         };
  84.     };
  85. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement