Advertisement
Guest User

ClockIdkWhatIBroke

a guest
May 21st, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.69 KB | None | 0 0
  1. class CfgPatches
  2. {
  3.     class sixsuccs
  4.     {
  5.         units[] =
  6.         {
  7.             "Clone_Phase_2_91st_NCO";//Post your Unit here         
  8.         };
  9.     };
  10. };
  11. class CfgFactionClasses {
  12.     class 91st_Mobile_Recon_Corps {
  13.         displayName = "91st Mobile Recon Corps";
  14.     };
  15. };
  16. class CfgEditorSubcategories {
  17.     class 91st_Infantry {//Classname of the Subcatagories (EG Infantry, Helicopters)
  18.         displayName = "91st Infantry"; //if you want to make custom subcategories under your faction like "men" or "vehicles"
  19.     };
  20. };
  21.  
  22. class CfgWeapons {
  23.     //helmet//
  24.     class SWLB_Clone_P2_Helmet;//InheritanceHelmet (Like, what helmet you want it to be based off)
  25.     class Clone_Phase_2_Helmet_91st_NCO: SWLB_Clone_P2_Helmet {//Where you define your own Helmet, Classname
  26.         author = "Vox";//Name of the creator
  27.         scope = 2;//Do Not Change
  28.         scopeArsenal = 2;//Do Not Change
  29.         displayName = "Clone Phase 2 Helmet (91st NCO)";//Name of the helmet in the arsenal
  30.         hiddenSelectionsTextures[] = {"\91st_Mobile_Recon_Corps\Data\91st_NCO_Helmet_CO.paa"}; //like "\YourAddon\YourFolder\Helmet.paa" Filepath to the texture goes here. Make sure you delete the P: part
  31.     };
  32.     //uniform//
  33.     class SWLB_clone_Unifrom;//What Uniform you want to base it off
  34.     class UniformItem;//Do not change
  35.     class Clone_Phase_2_Armor_91st_NCO: SWLB_clone_Unifrom {//Clasename of your own uniform
  36.         author = "Vox";//Name of the Creator
  37.         scope = 2;//Do not change
  38.         scopeArsenal = 2;//Do not change
  39.         displayName = "Clone Phase 2 Armor (91st NCO)";//Name of it in the arsenal
  40.         class ItemInfo: UniformItem {//Items or Values of the Armor. Reccomend you don't fuck with it.
  41.             Armor = 10;//Armor values
  42.             uniformModel = "-";//Do not change
  43.             uniformClass = Clone_Phase_2_91st_NCO; //this has to be a class name of a unit, what wears this uniform and is defined in CfgVehicles. Refer to the top if you're confused
  44.             containerClass = Supply100;//How much you can store
  45.             mass = 40;//How Much it weighs
  46.             modelSides[] = {6};//Do not change
  47.             scope = 2;//Do not change
  48.             type = 801;//Do not change
  49.             uniformType = "Neopren";//Do not change
  50.         };
  51.     };
  52. };
  53. class CfgVehicles {
  54.     class SWLB_Clone_base_p2;//What unit you want to base it off
  55.     class Clone_Phase_2_91st_NCO: SWLB_Clone_base_p2 {//Your own Unit name
  56.         author = "Vox";//Creator Name
  57.         scope = 2; //Do not change
  58.         scopeCurator = 2; //Do not change
  59.         scopeArsenal = 2; //Do not change
  60.         displayName = "Clone Phase 2 Armor (91st NCO)";//What its going to be called inside the arsenal
  61.         faction = 91st_Mobile_Recon_Corps;//Make sure this matches up with your faction from earlier
  62.         editorSubcategory = 91st_Infantry;//Make Sure this matches up with your subcatagory from earlier
  63.         backpack = "";//If you want to give them a pack, your call
  64.         uniformClass = Clone_Phase_2_Armor_91st_NCO; //uniform class name what is defined in CfgWeapons. Refer to the Uniform block of coding
  65.         linkedItems[] = {Clone_Phase_2_Helmet_91st_NCO, ItemMap, ItemCompass, ItemWatch, ItemGPS, ItemRadio};//Make Sure that the first to items in this lines link back to the Armor/Helmet you made earlier
  66.         respawnLinkedItems[] = {Clone_Phase_2_Helmet_91st_NCO, ItemMap, ItemCompass, ItemWatch, ItemGPS, ItemRadio}; //Make Sure that the first to items in this lines link back to the Armor/Helmet you made earlier
  67.         hiddenSelectionsTextures[] =
  68.         {
  69.             "\91st_Mobile_Recon_Corps\Data\91st_NCO_Upper_CO.paa",
  70.             "\91st_Mobile_Recon_Corps\Data\91st_NCO_Lower_CO.paa",
  71.             ""
  72.         };
  73.         //like "\YourAddon\YourFolder\Body.paa" Filepath to the texture goes here. Make sure you delete the P: part
  74.         hiddenSelections[] =
  75.         {
  76.             "Camo1",
  77.             "Camo2",
  78.             "Camo3"
  79.         };// Do not touch
  80.         model = "SWLB_clones\SWLB_clone_uniform.p3d";//Do not touch
  81.     };
  82. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement