Home   Help Search Login Register  

Author Topic: Placing units with additional weapons  (Read 375 times)

0 Members and 1 Guest are viewing this topic.

bobfantastic

  • Guest
Placing units with additional weapons
« on: 02 Apr 2004, 10:44:32 »
Hi, I'm quite new to the editing side of Flashpoint, and I was wondering how to set a soldier to have more than the standard weapons, i.e. a soldier with an M16 AND a Colt 1911.
Thanks

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Placing units with additional weapons
« Reply #1 on: 02 Apr 2004, 10:49:35 »
Easy peasy lemon squeezy.

First, use the weapons and ammo listing to figure out which weapons you want.   Then write something like this in the init field of the unit (don't rely on me for the exact details):

removeAllWeapons this; this addmagazine "m21"; this addmagazine "m21"; this addmagazine "m21"; this addmagazine "m21"; this addWeapon "m21"

Always add a magazine first to make sure that the weapon is loaded.    If you just want to add a handgun obviously don't remove stuff first.  

I strongly recommend you read Abuu's Basic Editing Tutorial.

Oh, and

Welcome to the forum!
« Last Edit: 02 Apr 2004, 10:50:45 by macguba »
Plenty of reviewed ArmA missions for you to play

Dubieman

  • Guest
Re:Placing units with additional weapons
« Reply #2 on: 02 Apr 2004, 22:48:38 »
Yes welcome but I don't know if a Colt 1911 is going to be easy to find... :'(

A bunch of good things to download are....

-Comref 1,85 or 1.40 or sumtihng
-Abuus editing guide
-RS OFP editing guide: having both Abuus and RS's guide makes for one hell of a little editing guide since both have many useful ieces of info.
-John Gustfanson's scripting guide, for later reading
-Genrally anything from Snypir cause that guy knows and has wrote a lot of stuff on OFP

There you go, I wish I had this stuff when I started... :)