View Full Version : SPAA "Tunguska" - all OOB - bug - no fire
EpoletovSPR
December 5th, 2013, 05:35 PM
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
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
Here test scenario.
Helicopters to move the Tunguska.
Start with the upper (northern).
You'll be surprised.
DRG
December 5th, 2013, 08:05 PM
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
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
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
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
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.
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.