//Nejake zakladni definice / some basic defines
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
//pravda nebo lez / true or lie
#define true 1
#define false 0
//viditelnost / visibility
#define private 0
#define protected 1
#define public 1
class CfgPatches
{
class BUN_AGM84SLAML
{
units[]={};
weapons[]={BUN_AGM84SLAML};
worlds[]={};
requiredVersion=1.30;
};
};
class CfgModels
{
class default {};
class Weapon: default {};
class SLAM: Weapon {};
};
class CfgAmmo
{
class Default {};
class AT3: Default {};
class Hellfire: AT3 {};
class BUN_AGM84SLAM: Hellfire
{
hit=2000;
indirectHit=1000;
indirectHitRange=15;
minRange=200;
minRangeProbab=0.30;
midRange=3000;
midRangeProbab=0.85;
maxRange=6000;
maxRangeProbab=0.75;
thrustTime=10;
initTime=3;
thrust=840;
airlock=false;
laserLock=true;
irLock=true;
maxSpeed=230;
maneuvrability=100;
model="\BUN_AGM84SLAM\SLAM.p3d";
proxyshape="\BUN_AGM84SLAM\SLAM.p3d";
manualControl=0;
maxControlRange=6000;
};
};
class CfgWeapons
{
class Default {};
class LawLauncher: Default {};
class CarlGustavLauncher: LawLauncher {};
class AT3Launcher: CarlGustavLauncher {};
class HellfireLauncher: AT3Launcher {};
class BUN_AGM84SLAML: HellfireLauncher
{
ammo="BUN_AGM84SLAM";
displayName="AGM84 SLAM";
displayNameMagazine="AGM84";
shortNameMagazine="SLAM";
count=4;
magazine="BUN_AGM84SLAM";
initspeed=15;
reloadTime=1.00000;
sound[]={"\BUN_AGM84SLAM\missfly.wav",db-75,1};
reloadSound[]={"",0,1};
canLock=LockYes;
maxleadspeed=2000;
aiRateOfFireDistance=6000;
};
};
Can someone look at this coding I did and tell me if you can help find the error?
Thx
BUNTRO