.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   TO&Es (http://forum.shrapnelgames.com/forumdisplay.php?f=108)
-   -   SPAA "Tunguska" - all OOB - bug - no fire (http://forum.shrapnelgames.com/showthread.php?t=50067)

EpoletovSPR December 5th, 2013 05:35 PM

SPAA "Tunguska" - all OOB - bug - gun no fire closer 1950 m in opponent turn
 
Turn opponent.
My SPAA "Tunguska" do not shoot the guns on helicopters enemy closer to 1950 meters.

I'm not talking about rockets, but about guns.
Closer to 1950 meters - a safe zone for enemy helicopters.

In my turn - SPAA "Tunguska" firing of the guns correctly at any distance.

DRG December 5th, 2013 05:49 PM

Re: SPAA "Tunguska" - all OOB - bug - no fire
 
One report does not make it a "bug", as you say, it fired just fine on your turn and there are a number of reason it might not fire on a reaction turn..........so how many turns did you observe it not fire under 39 hexes ?. Show me that it is a repeatable phenomena and I'll call it a bug too

Don

EpoletovSPR December 5th, 2013 07:40 PM

Re: SPAA "Tunguska" - all OOB - bug - no fire
 
1 Attachment(s)
Here test scenario.

Helicopters to move the Tunguska.
Start with the upper (northern).

You'll be surprised.

DRG December 5th, 2013 08:05 PM

Re: SPAA "Tunguska" - all OOB - bug - no fire
 
We'll look into it

Here's a little test you can try and save us some time

Edit the missiles used by the Tunguska ( w142 ) to sabot range 0 then re-run the tests with the missles turned off. If it fires that means the code is picking up the minimum range of the missiles and applying it to the unit as a whole


You could also try the test you have with the missile turned off..... if it fires the guns with the missle turned off that tells us what the problem is. I'm up to my ears in WW2 issues ATM and I think the storm in Scotland has shut Andy down

whdonnelly December 6th, 2013 10:56 AM

Re: SPAA "Tunguska" - all OOB - bug - no fire
 
I just had 2 apaches and an A-10 shot down by Tunguska at various ranges. Missiles, not the guns

Mobhack December 6th, 2013 05:27 PM

Re: SPAA "Tunguska" - all OOB - bug - no fire
 
the function that determines the longest ranged AAA weapon for use in the opportunity fire routines is not checking if the longer ranged one is turned off by the human player. So the inactive missile is used as the determinant, and fails on its minimum range check.

That code will need fixing.

Cheers
Andy

Mobhack December 6th, 2013 06:03 PM

Re: SPAA "Tunguska" - all OOB - bug - no fire
 
Reaction fire code now fixed.

The Tungaskas are no longer confused by the switched off missiles, and fire their AA guns happily.

Also I switched one of the missiles back on, and provided the helicopter targets exceed the minimum range the active missile was fired as well as guns.

(This problem would only occur with dual SAM+Gun AAA systems, if the SAM was turned off or inside its min range)

Andy

EpoletovSPR December 7th, 2013 08:27 AM

Re: SPAA "Tunguska" - all OOB - bug - no fire
 
Quote:

Originally Posted by DRG (Post 823136)
Edit the missiles used by the Tunguska ( w142 ) to sabot range 0 then re-run the tests with the missles turned off. If it fires that means the code is picking up the minimum range of the missiles and applying it to the unit as a whole

Changed sabot range rockets (example weapon #142 for unit #406 SPAA 2S6 Tunguska-M of test scenario) 40 hex -->> 0 hex in OOB Editor.
Guns began to fire at any distance.

2 Mobhack: Off rockets in the slots does not affect the firing of guns. I checked.


All times are GMT -4. The time now is 10:35 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.