OK, the ammo from my config, just doesn't show up in game. It gives me the error message like you get when you misspell the name of a magazine, when you put
this addmagazine "edcFLASHRocketHE"
in someone's init field and start the mission.
I'm sure I'm not misspelling it.
Also, I get a no entry modelSpecial error when I try to start a mission w/ the M-202 guy defined in the config.
Here's my cpp:
//M202 FLASH
//By edc-From OFP Forums imemyself-From OFPEC
//olrbengax@cox.net
// Basic def.
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
// type scope
#define private 0
#define protected 1
#define public 2
class CfgPatches
{
   class edcFLASH
   {
      units[]={edcFLASHSoldier};
      weapons[]={edcFLASHLauncher};
      requiredVersion=1.91000;
   };
};
class CfgModels
{
   class Default{};
   class Weapon: Default{};
   class edcFLASHLauncher: Weapon{};
};
class CfgAmmo
{
   class Default {};
   class AT3: Default {};
   class LAW: AT3 {};
   class edcFLASHRocketHE: LAW
{
   hit=200;
   indirectHit=125;
   indirectHitRange=10;
   minRange=30;
   midRange=100;
   maxRange=150;
   simulation="shotRocket";
   simulationStep=0.050000;
   };
};
class CfgWeapons
{
   class Default {};
   class LAWLauncher: Default {};
   class edcFLASHLauncher: LAWLauncher
   {
   modelOptics="optika_LAW";
   weaponType=16;
   modelSpecial = "";
      model="\edcFLASH\m202";
      displayName="M-202 FLASH";
      displayNameMagazine="M-202 Flash Rocket";
      shortNameMagazine="FLASH Round";
      ammo="edcFLASHRocketHE";
      picture="\edcFLASH\black.paa";
magazineType="4 * Â Â Â Â Â Â Â Â Â 256";
count=4;
reloadTime=0.7500000;
     Â
   };
};
class CfgVehicles
{
   class All{};
   class AllVehicles: All{};
   class Land: AllVehicles{};
   class Man: Land{};
   class Soldier: Man{};
   class SoldierWB: Soldier{};
   class SoldierWLAW: SoldierWB{};
   class edcFLASHSoldier: SoldierWLAW
   {
   access=2;
      displayName="M202 Soldier";
      weapons[]={"Throw","Put","edcFLASHLauncher","M16"};
      magazines[]={"M16","M16","M16","M16","M16","edcFLASHRocketHE"};
      reloadTime=1.000000;
      type=0;
      vehicleClass = "Men";
   };  Â
};
class CfgNonAIVehicles
{
   class ProxySecWeapon {};
   class ProxyedcFLASHSoldier : ProxySecWeapon {};
};
BTW, I get no errors when starting OFP, and when I add the launcher to someone, there are no errors.