OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: At.St_Walker on 24 Dec 2002, 20:09:44

Title: Ammo box : Name selections & Lod ? Tnx :)
Post by: At.St_Walker on 24 Dec 2002, 20:09:44
Hi what is the correct Name selections & Lod for create a new "Ammo box" addon (a crate for "refueling" weapons e ammo)

Tnx a lot,
At  ???

PS: i have the cpp but not the N. Sel. & Lods

Quote
class CfgVehicles
{
   class All {};
   class AllVehicles: All {};
   class Static: All {};
   class Building: Static {};
   class Strategic: Building {};
   class ReammoBox: Strategic {};
   class ReammoBoxEast: ReammoBox {};
   class NEWammoCRATE1: ReammoBoxEast
   {
      displayname="NEWammoCRATE1";
      weapons[]={};
      magazines[]={};
      hiddenSelections[]={"ammo","rearm"};
      transportWeapon=0;
      transportAmmo=0;
      class TransportMagazines
      {
         class MABShell
         {magazine="MABShell";count=30;};
         class MG42
         {magazine="MG42";count=8;};
         class HandGrenade
         {magazine="HandGrenade";count=24;};
      };
      class TransportWeapons
      {
         class MAB
         {weapon="MAB";count=1;};
      };
   };
};