LordHorusNL 0 Posted July 4, 2003 He guys my weaponsystem on my addon doesnt work! im trying to make the bullet(roket) go faster but what ever i change the speed stays the same! changing the initspeed or maxspeed doesnt seem to change anything! any help would be appriciated. ----------------------------- class CfgAmmo { class Default {}; class AT3: Default {}; class CarlGustav: AT3 {}; class AA : CarlGustav {}; class Impshot : AA { hit=500;indirectHit=40;indirectHitRange=2; minRange=10;minRangeProbab=0.20; midRange=50000;midRangeProbab=0.20; maxRange=100000;maxRangeProbab=0.05; maxSpeed=1100; model="\ATST\atstlaser.p3d"; proxyShape="\ATST\atstlaser.p3d"; cost=500; soundHit[]={Explosions\expl1,db80,1}; irLock=0; lightColor[] = {1, 1, 1, 0}; laserLock=0; maneuvrability=0; explosive=0; maxControlRange=0; // max range for manual control sideAirFriction=0; visibleFireTime=6000; simulation=shotMissile initTime=100; thrustTime=1000; thrust=5000; initSpeed=1000; }; }; class CfgWeapons { class Default {}; class LAWLauncher: Default {}; class CarlGustavLauncher : LAWLauncher {}; class AT3Launcher: CarlGustavLauncher {}; class HellfireLauncher: AT3Launcher {}; class MaverickLauncher: HellfireLauncher {}; class MGun: Default {}; class Impgun: MaverickLauncher { scopeWeapon = public; scopeMagazine = public; ammo="Impshot"; displayName="Light Blasters"; displayNameMagazine="Power Cell"; shortNameMagazine="Power Cell"; count=5000; reloadTime=0.60; model = "\ATST\atstlaser.p3d"; aiRateOfFire=0.7; // delay between shots at given distance aiRateOfFireDistance=1000; // at shorter distance delay goes lineary to zero sound[]={"\ATST\sounds\ATSTfire.wav",db+60,1}; initSpeed=600; maxLeadSpeed=600 maxSpeed=2000 magazine=4; magazineReloadTime=0.3; autoFire = true; }; }; Share this post Link to post Share on other sites
Tactician 0 Posted July 4, 2003 Have you tried using simulation shotRocket instead of shotMissile? Share this post Link to post Share on other sites
Aeon 0 Posted July 5, 2003 try initTime=0, the thrust will start as soon as you fired Share this post Link to post Share on other sites
LordHorusNL 0 Posted July 5, 2003 Nope the only thing the inittime changes is that the "Rocket" shows a stream of smoke behind it now!! speed remains the same. Share this post Link to post Share on other sites
whisperFFW06 0 Posted July 6, 2003 And when changing thrust value or sideAirFriction (something other than zero)? Whis' Share this post Link to post Share on other sites
sussmori 0 Posted July 8, 2003 Do a search here for 'rocket coding' Share this post Link to post Share on other sites
LordHorusNL 0 Posted July 8, 2003 Still no explenation for my error! the proxies are showing its just that i cant change their speed! Share this post Link to post Share on other sites