lukemax 0 Posted January 20, 2004 Hi This is the config for my vechile but when i load up its says "0" incounted istead of ";" or sometihng Here is the config // 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 #define true 1 #define false 0 // type scope #define private 0 #define protected 1 #define public 2 class CfgPatches { class LS_Excalibur { units[] = {}; weapons[] = {}; requiredVersion = 1.85; }; }; class CfgAmmo { class Default {}; class AT3: Default {}; class Hellfire: AT3 {}; class Maverick: Hellfire {}; class Freind Or Foe : Maverick { hit=1150;indirectHit=700;indirectHitRange=6.5; minRange=30;minRangeProbab=0.99; midRange=2000;midRangeProbab=0.99; maxRange=10000;maxRangeProbab=0.99; soundHit[]={\LaserGuided\expl2,db50,1}; airLock = true; model = "\LS_Excalibur\Freind Or Foe.p3d"; proxyShape ="\LS_Excalibur\Freind Or Foe.p3d"; maxControlRange=10000; maneuvrability=15.0; maxSpeed=2000; thrustTime=5.5; inittime=0.2; thrust=2000; simulation=shotmissile; recoil=maingun; sideAirFriction=0.002; cost=10000; visibleFire=12; audibleFire=2; visibleFireTime=2; }; class BulletSingle: default {}; class ExplosiveBullet: BulletSingle {}; class Bullet30: ExplosiveBullet {}; class Tachyon1: Bullet30 { airLock=true; hit=800; indirectHit=400; indirectHitRange=6.5; minRange=5;minRangeProbab=0.90; midRange=450;midRangeProbab=0.99; maxRange=1500;maxRangeProbab=0.55; cost=1; soundHit[]={\LaserGuided\expl2,db50,1}; tracerColor[]={0.000000,1.000000,1.000000,1.000000}; tracerColorR[]={0.000000,1.000000,1.000000,1.000000}; }; }; class CfgWeapons { class Default {}; class LAWLauncher: Default {}; class CarlGustavLauncher : LAWLauncher {}; class AT3Launcher: CarlGustavLauncher {}; class HellfireLauncher: AT3Launcher {}; class MaverickLauncher: HellfireLauncher {}; class Freind Or Foe: MaverickLauncher { model = "\LS_Excalibur\SSAAM.p3d"; proxyShape ="\LS_Excalibur\SSAAM.p3d"; modelOptics=""; picture=""; optics=1; magazineReloadTime=3; displayName="Freind Or Foe"; displayNameMagazine="Freind Or Foe"; shortNameMagazine="Freind Or Foe"; drySound[]={,0.010000,1}; magazines[]={"Freind Or Foe"}; ammo=Freind Or Foe; count=12; canLock = 2; reloadTime=1; aiRateOfFire=5.00; aiRateOfFireDistance=10000; initSpeed=0; maxLeadSpeed=3000; }; class MGun: default{}; class MachineGun7_6: MGun{}; class Tachyon Gun: MachineGun7_6 { displayName="Tachyon Gun"; displayNameMagazine="Tachyon Ammo"; shortNameMagazine="Tachyon Gun"; nameSound="shell"; ammo="Tachyon1"; count=1500; canLock = 2; multiplier=1 reloadTime=0.250; soundContinuous=false; initSpeed=900; sound[]={"\LS_Excalibur\impblast.wav",db+20,1}; reloadSound[]={"Weapons\reload",0.000316,1}; drySound[]={"weapons\M16dry",0.003162,1}; flash=gunfire; flashSize=12.000000; maxLeadSpeed=900; aiRateOfFire=0.020; aiRateOfFireDistance=10000; autoFire=1; }; }; class CfgVehicles { class All {}; class AllVehicles: All {}; class Air: AllVehicles {}; class Plane: Air {}; class LS_Excalibur: Plane { scope=public; crew = SoldierWPilot; vehicleClass="Wing Commander"; icon="\SST_Dropship\drpicon.paa"; picture="\SST_Dropship\drpicon1.paa.paa"; side =TWest; displayName="Excalibur"; nameSound="plane"; accuracy=200; flapsFrictionCoef = 0.00; wheelSteeringSensitivity = 400.0; sensitivity=5; irTarget=1; irScanRange=4000; irScanGround=1; noseDownCoef = 0; precision=500; brakeDistance=0.1; aileronSensitivity = 0.8; // relative aileron sensitivity elevatorSensitivity = 1.2; // relative elevator sensitivity steerAheadSimul=0.1; steerAheadPlan=0.2; hasDriver =1; driverIsCommander=true; driverCanSee=CanSeeAll; driverOpticsModel = "optika_heli_gunner"; insideSoundCoef = 0.5; cargoAction[]={ManActCessnaPilot,ManActCargo}; transportSoldier = 0; typicalCargo[]={}; ejectSpeed[]={0,0,0}; getInRadius=5.0; preferRoads=false; nightVision=true; driverAction = ManActA10Pilot; maxSpeed = 800; soundEngine[]={"\LS_Excalibur\Excalibur.wav",db+10,1}; soundEnviron[]={"\LS_Excalibur\Excalibur.wav",1,1}; weapons[]={Tachyon Gun,Freind Or Foe,Rocket57x64,}; magazines[]={Tachyon Gun,Freind Or Foe,Rocket57x64,}; armor=440; cost=20000; model="\LS_Excalibur\LS_Excalibur.p3d"; fov=0.5; type=VAir; //threat[] VSoft, VArmor, VAir threat[]={1.0, 0.8, 1.0}; class eventhandlers { init = [_this select 0] exec "\LS_Excalibur\VTOL.sqs" }; class Reflectors { class Left { color[] = {0.9, 0.8, 0.8, 1.0}; ambient[] = {0.1, 0.1, 0.1, 1.0}; position = "L svetlo"; direction = "konec L svetla"; hitpoint = "L svetlo"; selection = "L svetlo"; size = 0.1; brightness = 0.4; }; }; Share this post Link to post Share on other sites
BraTTy 0 Posted January 20, 2004 Only thing I see offhand is this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class eventhandlers { init = [_this select 0] exec "\LS_Excalibur\VTOL.sqs" }; should be: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class eventhandlers { init =" [_this select 0] exec ""\LS_Excalibur\VTOL.sqs"""; }; Share this post Link to post Share on other sites