I figured some people out there might find this useful... This is for the people who want to have custom weapon loadouts for their squads in their maps.
To make a custom loadout first you need to locate the
EntityDatabase.xml which should be located in your "Operation Flashpoint 2 Dragon Rising\Mission Editor\Database" Folder.
Make sure you turn it off read only AND MAKE A BACKUP. Now you need to open it. Personally I use Notepad++ for this.
Now press Ctrl+F and type "hidalgoaslt". This will allow you to modify the loadout of the unit called "Hidalgo Assault Variant" in the Mission Editor. You can change this to any class you wish to change. Scroll down to where it has the line:
Code:
<Param Name="SlotPrimaryF" Group="Inventory" Type="shortname" Value="sa28mk16a" Flags="2" Description="Primary front weapon - eg assault rifle" />
You can change the "sa28mk16a" to any of the following weapon codes found at the bottom of this post. If you wish to add a second primary weapon add the line below the one above:
Code:
<Param Name="SlotPrimaryB" Group="Inventory" Type="shortname" Value="NEWWEAPONCODEHERE" Flags="2" Description="Second Primary front weapon - eg assault rifle" />
Now scroll up slightly to where it has the line:
Code:
<Param Name="item01" Group="Inventory" Type="shortname" Value="am30mag556fmj" Flags="3" Description="Entity to be equipped by character" />
And change the "am30mag556fmj" to an ammo code that is compatible with the weapon you chose.
Congratulations on your new loadout!
Now for what you have all been waiting for... the weapon codes and their respective ammo types.
*NOTE: Only US weapon codes for now*
sa53m21 - M21 Sniper Rifle
am20mag762balls
am20mag762fmjs
am20mag762jhps
am20mag762fmj
am20mag762ball
sa11m2000 - M2000 Shotgun - DOES NOT WORK
sa10m1014 - M1014 Shotgun - DOES NOT WORK
am1she12buck
am1she12aphe
hw01javelin - FGM-148
ex49javelin
hw03smaw - SMAW
ex68smawheat
ex69smawhef
hw10fim92a - FIM-92A
ex72fim92a
sa12m16a4 - M16A4
sa15m16a4a - M16A4 w/ 203
sa13m16a4cqb - M16A4 w/ Eotech
sa14m16a4m - M16A4 w/ ACOG
sa16m16a4no - M16A4 w/ Night Optics
sa17m16a4s - M16A4 w/ Silencer
sa18m4a1 - M4A1
sa21m4a1a - M4A1 w/ 203
sa19m4a1cqb - M4A1 w/ Eotech
sa20m4a1m - M4A1 w/ ACOG
sa22m4a1no - M4A1 w/ Night Optics
sa23m4a1s - M4A1 w/ Silencer
am30mag556ball
am30mag556fmj
am30mag556jhp
am30mag556sub - USE WITH SILENCED WEAPONS
sa51m32 - M32
am6drum46he
am6drum46hedp
sa39m240 - M240 Medium MG - DOES NOT WORK
sa55m107 - M82 Rifle
sa56m107no - M82 w/ Night Optics
am10mag99fmj
am10mag99apds
am10mag99aphe
sa37m249 - M249 LMG
am200box556ball
am200box556fmj
am200box556jhp
sa40mk48 - Mk48 M0 Medium MG
sa41mk48cqb - Mk48 w/ Eotech - DOES NOT WORK
am100box762ball
am100box762fmj"
sa03mp5a4 - MP5
sa05mp5a5 - MP5 - DOES NOT WORK
sa06mp5sd3 - MP5 SD - DOES NOT WORK
sa04mp5a4no - MP5 w/ Night Optics - DOES NOT WORK
am30mag9ball
am30mag9fmj
am30mag9jhp
sa24mk16 - MK16 SCAR-L
sa30mk16s - MK16 SCAR-L w/ Silencer
sa26mk16cqb - MK16 SCAR-L w/ Eotech
sa28mk16a - MK16 SCAR-L w/ 203
am30mag556ball
am30mag556fmj
am30mag556jhp
am30mag556sub
sa25mk17 - MK17 SCAR-H
sa27mk17m - MK17 SCAR-H w/ ACOG
sa29mk17no - MK17 SCAR-H w/ Night Optics
am20mag762ball
am20mag762fmj
Bookmarks