Home   Help Search Login Register  

Author Topic: help with ammo crate  (Read 867 times)

0 Members and 1 Guest are viewing this topic.

Hans Kloss

  • Guest
help with ammo crate
« on: 31 Jan 2003, 13:31:18 »
Do excuse my stupidity but how does one crate new ammo crate class -like with new add-on magazines .Rather then using all " add cargo...." etc in editor.So far I have created new file and well......I can't see it in Editor under ammo lists at all.....could someone please have a look and tell me where have I gone wrong

Many thx



// some basic defines
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

// type scope
#define private 0
#define protected 1
#define public 2

#define WeaponNoSlot            0// dummy weapons
#define WeaponSlotPrimary      1// primary weapons
#define WeaponSlotSecondary   16// secondary weapons
#define WeaponSlotItem         256// items
#define WeaponSlotBinocular   4096// binocular
#define WeaponHardMounted      65536

class CfgPatches
{
   class NewAmmoCrate
   {
   units[] = {};
   weapons[] = {};
   requiredVersion = 1.85;
   };

};

 
   class All {};
   class Strategic: All {};
   class ReammoBox: Strategic {};
   class ReammoBoxGuer: ReammoBox {};
   class SSAmmoCrate: ReammoBoxGuer
   {
                                scope=public;
      accuracy=1000;
      displayName="New Munitions Crate";
      class TransportMagazines
      {
         class SKS
         {
            magazine = SKS;
            count = 4;
         };
         
      
         class KarGrenadeLauncherMag
         {
            magazine = "KarGrenadeLauncherMag";
            count = 4;
         };
         class GarandMag
         {
            magazine = "GarandMag";
            count = 4;
         };
         class Faust30Mag
         {
            magazine = Faust30Mag;
            count = 3;
         };
         class SKSoptics
         {
            magazine = SKSoptics;
            count = 3;
         };   

class CfgNonAIVehicles
{
   class ProxyWeapon {};
   class Proxy : ProxyWeapon {};
};

Foo

  • Guest
Re:help with ammo crate
« Reply #1 on: 31 Jan 2003, 13:39:46 »
ahh, making it for the INV:1942 mod?
I cant help you, but PLEASE sent it to me if you finish it ;D

My mail is:
Thecolumbianbandanaconvention@hotmail.com

 ;D