Nathanz 0 Posted August 9, 2002 Hi  im having a problem making a bomb laser guided. I know its the config.cpp but having problems. this is taken from the tornado. class ITA_Mk82HD : default { hit=850;indirectHit=400;indirectHitRange=20; // HE minRange=300;minRangeProbab=0.50; midRange=800;midRangeProbab=0.95; maxRange=2000;maxRangeProbab=0.50; soundHit[]={\LaserGuided\expl2,db40,1}; soundFly[]={"\ITA_TORNADO\bmbfall.ogg",db-30,1.5}; cost=20000; model="\ITA_TORNADO\ITA_MK82HD.p3d"; proxyShape ="\ITA_TORNADO\ITA_MK82HD.p3d"; irLock=true; laserLock=True; maxControlRange=100000; maneuvrability=10.0; sideAirFriction=0.10; //0.15 simulation=shotMissile; maxSpeed=20; //200 initTime=1.0000; thrustTime=0; thrust=0; I have tryed laserLock=True; and laserLock=1; but they do not work. Share this post Link to post Share on other sites
Harnu 0 Posted August 9, 2002 You want the bombs to lock onto targets? Use the black op wit the laser Share this post Link to post Share on other sites
peeps 0 Posted August 10, 2002 he means how do u make a user created bomb laser guided instead of dumb/free fall Share this post Link to post Share on other sites
Nathanz 0 Posted August 10, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (peeps @ Aug. 10 2002,13:15)</td></tr><tr><td id="QUOTE">he means how do u make a user created bomb laser guided instead of dumb/free fall<span id='postcolor'> Yes Share this post Link to post Share on other sites
-A-V-Trekkie 0 Posted August 10, 2002 hmm set irLock=0; ? Share this post Link to post Share on other sites
Rastavovich 0 Posted August 10, 2002 Trekkie might be right. Following is the definition of the "original" LGB: hit=5000;indirectHit=3500;indirectHitRange=15; minRange=50;minRangeProbab=0.50; midRange=300;midRangeProbab=0.95; maxRange=2500;maxRangeProbab=0.50; soundHit[]={\LaserGuided\expl2,db40,1}; cost=20000; model = Snake; proxyShape = Snake; irLock=false; laserLock=true; maxControlRange=100000; maneuvrability=16.0; sideAirFriction=0.1; simulation=shotMissile; maxSpeed=100; initTime=0; thrustTime=0; thrust=0; Share this post Link to post Share on other sites
-A-V-Trekkie 0 Posted August 11, 2002 yeah and only difference I notice(except of name + model) is the irLock ... So it has to work Share this post Link to post Share on other sites
Harnu 0 Posted August 11, 2002 I find it easy just using AI but o well. Share this post Link to post Share on other sites
Nathanz 0 Posted August 11, 2002 Well i have tryed that be4 but it doesnt work. Might it be something to do with the plane it self so it can detect the laser ? Share this post Link to post Share on other sites