Home   Help Search Login Register  

Author Topic: Ammo Config Connundrum  (Read 1188 times)

0 Members and 1 Guest are viewing this topic.

Grendel

  • Guest
Ammo Config Connundrum
« on: 15 Jun 2005, 20:01:57 »
Howdy,

Student Pilot is helping me with a little side thing, and I needed a new bullet that I could camcreate to represent a virtual shrapnel 'cluster' (to save my poor CPU from having to camcreate a billion seperate bullets).  The .pbo conatins only this config, which should be all that I need.  

The problem is, when I try to cam create the bullet I get nothing.  I even camcreated it on my pos and I should have recieved some damage as it has indirect range/dammage but it just aint there.

To make things more perplexing, Student Pilot says it is working on his.  He is troubleshooting as well, but perhaps someone out there can spot something...

Any help would be appreciated! Here is the config.cpp that I un-pbo'd:


Code: [Select]
#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
#define private 0
#define protected 1
#define public 2

class CfgAmmo
{
   class Default {};
   class BulletSingle: Default {};
   class BulletSingleE: BulletSingle {};
   
   class Shrap: BulletSingleE
   {
      tracerColor[]={0,0,0,0};
      tracerColorR[]={0,0,0,0};   
      soundFly[]={"",1,1};
      hit=10;
      indirectHit=10;
      indirectHitRange=3;
   };
};

T'anks in advance....

-Grendel

Grendel

  • Guest
Re:Ammo Config Connundrum
« Reply #1 on: 15 Jun 2005, 20:31:40 »
NM, apparantly the .pbo doesn't work in the Res/Addons!  Student Pilot was nice enought to catch this one.

Thanks Again Student Pilot!

-Grendel