Dropbear 0 Posted December 4, 2003 Ok the gun in model works fine the only problem is the minTurn and maxTurn dont seem to have any effect. Even though I have change them from Brssebs tut they still seem to be stopping at -135 and 135. I really need to change this setting or the gunner may blow the drivers head off when he spins round. Share this post Link to post Share on other sites
BraTTy 0 Posted December 5, 2003 You want to change both the turret angles and the gunnerview settings Often I leave the turret that it can move wherever and just control it with the gunnerview angles,sounds like you are only changing the turret angles? Share this post Link to post Share on other sites
Dropbear 0 Posted December 5, 2003 Gunnerview angles is a newy on me how is that written GunnerView min/max= ### can u give me a sample Plz Share this post Link to post Share on other sites
BraTTy 0 Posted December 6, 2003 Yes here is an example from my SB2C Helldiver ,altho it doesn't currently have a gunner <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class TurretBase {}; class Turret: TurretBase { gunAxis="OsaHlavne"; turretAxis="OsaVeze"; gunBeg="usti hlavne"; gunEnd="konec hlavne"; soundServo[]={}; minElev=-0; maxElev=+170; minTurn=-90; maxTurn=+90; body="OtocVez"; gun="OtocHlaven"; }; class ViewGunner { initAngleX=-0; minAngleX=-30; maxAngleX=+270; initAngleY=0; minAngleY=-90; maxAngleY=+90; initFov=0.7; minFov=0.42; maxFov=0.85; }; }; Share this post Link to post Share on other sites
Dropbear 0 Posted December 6, 2003 thanx I will give it a try Share this post Link to post Share on other sites
Dropbear 0 Posted December 6, 2003 Turret is all working good now I found by taking out the word base ie class turret base it reads my settings. leaving the base in seems to override my settings and use some pre defined settings. thanx for help Share this post Link to post Share on other sites