PDA

View Full Version : Commander turret?



Soul_Assassin
Jan 16 2003, 22:58
I was checking through the config.bin of the game and found this code in the CfgVehicles::All::AllVehicles::Land::Tank class:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">class ComTurret
{
turretAxis=&#34;OsaVelitele&#34;;
gunAxis=&#34;OsaHlavneVelitele&#34;;
soundServo&#91;&#93;={&#34;Vehicles&#92;gun_elevate&#34;,0.000316,1.20 0000};
gunBeg=&#34;usti hlavne&#34;;
gunEnd=&#34;konec hlavne&#34;;
minElev=-4;
maxElev=20;
minTurn=-360;
maxTurn=360;
body=&#34;OtocVelitele&#34;;
gun=&#34;OtocHlavenVelitele&#34;;
};[/QUOTE]<span id='postcolor'>

does this mean we can have commander controlled turrets independent of the gunner?? if yes this could be great...soo...suuuuummaaaa...where r u? could u please drop in with an answer? http://www.flashpoint1985.com/ikonboard301/iB_html/non-cgi/emoticons/biggrin.gif

scousejedi
Jan 17 2003, 03:41
It is just the periscopes on the commanders hatch.

Check out the T72, in commander view press the Enter key on the number pad and move the mouse.

The view ports on the commanders hatch swivel.

The whole thing is part of otocVez.

Now if you can tell me how I can have a hull mounted MG (kulas) with a limited field of fire on my Panther G I would be most grateful. I don&#39;t know if I can put a weapons proxy on a non turret.
http://www.flashpoint1985.com/ikonboard301/iB_html/non-cgi/emoticons/smile.gif

Edit: Large brutal fingers bashing a frigile keyboard do typos make.

Suma
Jan 17 2003, 06:49
I suggest you checking BMP config. BMP has two independent turrets - gunner&#39;s and observer&#39;s (commander&#39;s in OFP terminology).

Note: observer&#39;s turret has no weapons.

Soul_Assassin
Jan 17 2003, 10:53
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Suma @ Jan. 17 2003,08:49)</td></tr><tr><td id="QUOTE">Note: observer&#39;s turret has no weapons.[/QUOTE]<span id='postcolor'>
Has no weapons in the BMP example or not possible at all?

why then have:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">class ComTurret
{
turretAxis=&#34;OsaVelitele&#34;;
gunAxis=&#34;OsaHlavneVelitele&#34;;
gunBeg=&#34;usti hlavne&#34;;
gunEnd=&#34;konec hlavne&#34;;
body=&#34;OtocVelitele&#34;;
gun=&#34;OtocHlavenVelitele&#34;;
};[/QUOTE]<span id='postcolor'>

the usti hlavne and konec hlavne?