[Previous entry: "TiVo Hacking"] [Main Index] [Next entry: "news stuff"]
11/05/2001 Archived Entry: "OFP Nut"
I was checking out the Operation Flashpoint Forums
They have the code to add the new weapons to the crates etc..
OFP Editing Center
Lots of Help Files
Current Weapons
The codes are in the More section...
Run DePBO on the weapons addon, you will find a file named config.cpp
Open with notepad and you'll find it in there.
Add to crates :
this addweaponcargo ["MM1",3]; this addmagazinecargo ["MM1magazine",10]
to add to a person :
this addweapon "MM1"; this addmagazine "MM1magazine"
TO ADD TO CARGO
this addweaponcargo ["MM1",3]; this addmagazinecargo ["MM1magazine",10]
this addweapon "kozlice"; this addmagazine "kozliceball"; this addmagazine "kozliceshell"
this addweapon "Steyr"; this addmagazine "SteyrMag"
For the XMS, use:
this addweapon "XMS"
this addmagazine "M4"
this addmagazinecargo ["flarered",however many you want in there]
this addweaponcargo ["Steyr",20];
this addmagazinecargo["SteyrMag",28];
this addweaponcargo ["XMS",15];
this addmagazinecargo ["XMS",28];
this addweaponcargo ["G36a",15];
this addmagazinecargo ["G36aMag",28];
this addweaponcargo ["Bizon",20]
this addmagazinecargo ["BizonMag",40]
this removeweapon "AK74";this removemagazines "AK74";
this addmagazine "G36aMag";this addweapon "G36a";
this addmagazine "G36aMag";this addmagazine "G36aMag";
this addmagazine "G36aMag";
AddWeapon "Kozlice" is right, but AFAIK
ammo is called "KozliceShell" (buckshots) and "KozliceBall" (slugs).