I am working on a set of Infantry units for Urban areas, and I am having trouble getting them to be able to use handguns. I have it defined correctly (I think)
#define WeaponNoSlot 0// dummy weapons
#define WeaponSlotPrimary 1// primary weapons
#define WeaponSlotSecondary 16// secondary weapons
#define WeaponSlotHandGun 2 // HandGun
#define WeaponSlotHandGunItem 32 // HandGun magazines
#define WeaponSlotItem 256// items
#define WeaponSlotBinocular 4096// binocular
#define WeaponHardMounted 65536
then, for example, one of the units in the CfgVehicles section looks like this.......
class D_UrbanHSR: SoldierWB
{
displayName="D Urban Heavy Soldier";
model="\D_UrbanH\D_UrbanH.p3d";
sensitivity=1.25;
accuracy=2.500000;
attendant=1;
nightVision=1;
camouflage=0.750000;
weaponSlots="1 + 16 + 2 * 4096 + 10 * 256";
weapons[]={"G36a","Beretta","NVGoggles","Throw","Put"};
magazines[]={"G36aMag","G36aMag","G36aMag","G36aMag","G36aMag","G36aMag","BerettaMag","BerettaMag","HandGrenade","HandGrenade"};
};
but i cant seem to get him to get a handgun of anykind from the ammocrates, or use the one I gave him..
Can anybody lend a helping cpp hand?
?