Home   Help Search Login Register  

Author Topic: jam hd weapons n seb nam pack troops  (Read 419 times)

0 Members and 1 Guest are viewing this topic.

Commando

  • Guest
jam hd weapons n seb nam pack troops
« on: 25 Sep 2004, 06:42:32 »
Im trying to make a coop mission where i recreate pieces of the movie we were soldiers but when i add magazines and weapons to the seb soldiers they just run around without weapons, i have put the removeallweapons this code first and then the addmagazine and add weapon codes, but some of the a.i's run around with no weapons at all strangely enough...  :P

Dagon

  • Guest
Re:jam hd weapons n seb nam pack troops
« Reply #1 on: 25 Sep 2004, 07:53:55 »
can you post the string you use to give them weapons?

you have to put quotes (") around the weaponname, too.

Commando

  • Guest
Re:jam hd weapons n seb nam pack troops
« Reply #2 on: 25 Sep 2004, 13:43:28 »
ohh dude, i knew i had missed something out!!!  :o
it was a long time i did add weapon codes on soldiers or anything at all  ;D
strange ofp hasn't crashed out on me when i have been using wrong code..

here is from one of the init fields, the others have different weapons but the code is looking similar
removeAllWeapons this; this addMagazine JAM_E545_30HDmag; this addMagazine JAM_E545_30HDmag; this addMagazine JAM_E545_30HDmag; this addWeapon JAM_AK74
okay when i added the "" around weapon names in the addweapon code i got the can't find weapon bla bla in config.cfg and then when i removed the "" i discovered that the enemies have the weapons but... they don't got magazines at all..
« Last Edit: 25 Sep 2004, 14:32:41 by Commando »