OFPEC Forum

Addons & Mods Depot => ArmA - Addons & Mods Discussion => Topic started by: IGWedge on 15 Nov 2007, 13:51:58

Title: Ammo Box Config
Post by: IGWedge on 15 Nov 2007, 13:51:58
Hi Guys

I am just creating some ammo boxes, my question is this.

Is it possible to specify in the config which models are able to use the box itself....If so could someone give me quick example of how i may achieve that.

Many thanks

Wedge
Internal Coordinator
www.ic-arma.com
Title: Re: Ammo Box Config
Post by: Terox on 30 Nov 2007, 21:57:59
place the following line in the ammo crate class


   model = "\myaddon\crates\modelname";

example

Quote
class ESP_CrateEODBlufor : ESP_CrateAmmo
   {
   displayName = "EOD Crate";
   Vehicleclass = "ESP_ARMOURY_BLUFOR";
   model = "\esp_veh\misc\eod_crate";
      class TransportMagazines
         {
            class ESP_M19                        { magazine = "ESP_M19";                              count = 10;};            
            class ESP_Satchel                { magazine = "ESP_Satchel";                        count = 10;};
         };
   };