Home   Help Search Login Register  

Author Topic: Fixing the muzzle flash bug...  (Read 1600 times)

0 Members and 1 Guest are viewing this topic.

Baphomet

  • Guest
Fixing the muzzle flash bug...
« on: 08 Sep 2002, 03:14:29 »
*Note*
I take no credit whatsoever for writing this... Again this was posted on the flashpoint1985 addons forum by that ever-so-helpful N.o.R.S.u, and since there have been a few people asking about it... here it is.


"The famous muzzle flash bug is easy to fix, though you must have OFP: Resistance to do it. Here's how it goes:

1. DePBO your favourite muzzle flash bug weapon addon
2. open the config.cpp with notepad
3. put these lines to it

class CfgModels
{
class Default{};
class Weapon: Default{};
class name-of-the-weapon-model: Weapon{};
};

name-of-the-weapon-model is the name of the p3d-file that came with the addon, so it must be exact! So if you have p3d which name is AKS74.p3d the new line in the config looks like this:

class CfgModels
{
class Default{};
class Weapon: Default{};
class AKS74: Weapon{};
};

4. After the config.cpp is modified StuffPBO the addon again
5. Place the new *.pbo into OperationFlashpoint\Res\AddOns -folder

Note that there can't be any symbols in the p3d-name, so if the p3d is like AK101+grenades.p3d the command won't work (at least for me).

Hope this helps. "