Advertisement
Guest User

Untitled

a guest
Oct 17th, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 1.63 KB | None | 0 0
  1. span class="re5"> class CfgPatches
  2. {
  3.     class RDF_Hbarrier
  4.     {
  5.         units[]=
  6.         {
  7.             "RDF_HB_LangItem",
  8.             "RDF_HB_Lang"
  9.         };
  10.         weapons[]=
  11.         {
  12.             "RDF_HB_Lang"
  13.         };
  14.         requiredVersion=1;
  15.         requiredAddons[]=
  16.         {
  17.             "ace_common"
  18.         };
  19.         author="RDF";
  20.         version="1.1.0.0";
  21.         versionStr="1.1.0.0";
  22.         versionAr[]={1,1,0,0};
  23.     };
  24. };
  25.  
  26.  
  27.  
  28. class CfgVehicles
  29. {
  30.     class Item_Base_F;
  31.     class RDF_HB_LangItem: Item_Base_F
  32.     {
  33.         author[]=
  34.         {
  35.             "RDF"
  36.         };
  37.         scope=2;
  38.         scopeCurator=2;
  39.         displayName="Hbarrier lang1";
  40.         descriptionShort="Wall";
  41.         editorPreview="\RDF_Hbarrier\Data\model\Land_HBarrierWall6_F.jpg";
  42.         vehicleClass="Items";
  43.         class TransportItems
  44.         {
  45.             class _xx_RDF_HB_LangItem
  46.             {
  47.                 name="RDF_Hbarrier_LItem";
  48.                 count=1;
  49.             };
  50.         };
  51.     };
  52. // This on works
  53.     class Land_HBarrierWall6_F;
  54.     class RDF_HB_Lang : Land_HBarrierWall6_F
  55.     {
  56.     scope =2;
  57.     scopeCurator=2;
  58.     displayName="Hesco Lang";
  59.     editorPreview="\RDF_Hbarrier\Data\model\Land_HBarrierWall6_F.jpg";
  60.     icon="iconObject_2x1";
  61.   };
  62. };
  63.  
  64.  
  65. // this one get spawned but how do i get it to inherit from the one above ?
  66. class CfgWeapons
  67. {
  68.     class ACE_ItemCore;
  69.     class InventoryItem_Base_F;
  70.     class RDF_HB_Lang: ACE_ItemCore
  71.     {
  72.         author[]=
  73.         {
  74.             "RDF"
  75.         };
  76.         scope = 2;
  77.                 scopeCurator=2;
  78.         displayName = "Hbarrier lang";
  79.                 descriptionShort = "Hesco stor";
  80.         model = "\A3\Structures_F\Mil\Fortification\HBarrierWall6_F.p3d";
  81.         picture = "\RDF_Hbarrier\Data\model\Land_HBarrierWall6_F.jpg";
  82.                 editorPreview = "\RDF_Hbarrier\Data\model\Land_HBarrierWall6_F.jpg";
  83.  
  84.         class ItemInfo: InventoryItem_Base_F
  85.                 {
  86.                     mass=80;
  87.                 };
  88.     };
  89. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement