OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: S.T.O.S on 19 Jan 2005, 19:24:40

Title: Noob Question about JAM..
Post by: S.T.O.S on 19 Jan 2005, 19:24:40
Hi guyes im back.... Again

Just wanted to know how to get the weapons listed in
Appendix 1.
read the readme.. didnt help shit..
Need your assistance..

???
Title: Re:Noob Question about JAM..
Post by: dan ick on 19 Jan 2005, 21:22:34
do you mean how to equip soldiers with the weapons
Title: Re:Noob Question about JAM..
Post by: S.T.O.S on 19 Jan 2005, 23:07:48
yeep. sry forgot to mention..
Title: Re:Noob Question about JAM..
Post by: dan ick on 19 Jan 2005, 23:47:58
O.K

PUt a WEST captive on the map and then in the init field put

unitname AddWeapon "weapon name";unitname addmagazine "mag name"

If you want to give someone a weapon who already has one you will have to add

 RemoveallWeapons unitname;unitname addwepon etc......

Make sure you use   ;    between each command.

To add more mags just keep adding the AddMagazine command.

 You will have to look at the weapons list for the names and the mags.
Title: Re:Noob Question about JAM..
Post by: Raptorsaurus on 20 Jan 2005, 03:02:56
Also, it is best to give at least one of the magazines for the weapon before the weapon or else the unit will start off with an empty weapon and have to reload.  If there is action right from the start it could get him killed if he must take the time to reload, so in the init field of the unit to give him an M16 and the magazines for an M16.....

this addmagazine "m16"; this addweapon "m16"; this addmagazine "m16"; this addmagazine "m16";... ect.

For each weapon follow this pattern (magazine, weapon, magazine, magazine.... etc.)

Or you can just give all the magazines first, then the weapons at the very last, this will also work.
Title: Re:Noob Question about JAM..
Post by: S.T.O.S on 20 Jan 2005, 11:10:39
yeah thx. but that wasnt what i meant.. i already know how to equip weps and mags.
I was refering to apendix 1 in jam...
there is listed some weapons. foreanexample

M82 - M249 Minimi, L7a2, Famas G2, and soo one..
Title: Re:Noob Question about JAM..
Post by: macguba on 20 Jan 2005, 15:26:50
JAM doesn't give you the weapons, just magazines.      To use a weapon addon you need to download the addon.