Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Ammo Box Config  (Read 2689 times)

0 Members and 1 Guest are viewing this topic.

Offline IGWedge

  • Members
  • *
  • Internal Coordinator @ www.ic-arma.com
    • International Conflict Armed Assault
Ammo Box Config
« 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

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re: Ammo Box Config
« Reply #1 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;};
         };
   };
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123