Home   Help Search Login Register  

Author Topic: Adding weapons, ammo, etc. to addon  (Read 1159 times)

0 Members and 1 Guest are viewing this topic.

Serial Killer

  • Guest
Adding weapons, ammo, etc. to addon
« on: 25 Feb 2005, 21:12:07 »
How can I add weapons, ammo, etc. to my own addons? I mean like an ammo box, you can collect weapons and ammo from it, I don't mean units.. Thanks in advance!

Ps. It's wonderful day, everything is going fine and I made my first addon ;D ;)

Serial Killer

  • Guest
Re:Adding weapons, ammo, etc. to addon
« Reply #1 on: 26 Feb 2005, 08:48:03 »
Allright, one of my friends helped me, here's the config. You can add weapons and ammo to your own addon with that...

Code: [Select]
class TransportWeapons
{
class M16
{
weapon="M16";
count=1
};
};
class TransportMagazines
{
class M16
{
magazine="M16";
count=3
};
};

There's one problem.. Is that Count the quantity of weapons and ammo?

Ps: Sorry that I'm asking things like this.. I'm creating my first addon, that's why :-\

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Adding weapons, ammo, etc. to addon
« Reply #2 on: 26 Feb 2005, 17:31:38 »
Yes, I do believe that count means the number of weapons or magazines carried.


Planck
I know a little about a lot, and a lot about a little.