You can't lock a projectile weapon in modern dogfight involving Supersonic jets, it's literally impossible.
I didnt understand this, can you reframe?
Whichever guns we had/have in 4th gen jets are for slow moving object like helo (now drones too) or maybe small burst for CAS.
Absolutely not. In fact, using guns against slow flying targets is much harder than using them against objects flying at similar speeds. Why would you not use a CCM against such a target? In fact, when MQ9 was shot down, it was done with CCM only, as is logical.
And against slow ground targets, guns are again, not a primary weapon (even in dedicated CAS platforms). They are there as versatile backups.
F35 has dumped it , and so did J20. You think US and China never thought about getting into fight with a peer foe.
Wrong, F35 still has guns.
No sane pilot will even continue a dog fight once his missiles are exhausted because he doesn't know if enemy has more missiles or not.
Dogfights once begun cannot be ended without atleast one of the planes getting shot down. The one that does try to run will be a very easy target with no ability to target his pursuer.
Thats the point I was making, that your statistic of small gun kills is irrelevant because dogfights themselves rarely happen, but it is necessary to prepare for them since they are high stakes fights.
Edit-My calculations are fine mate , I'm ignoring the Paki mentality of firing BVR missiles without getting sufficiently close by.
Im not sure what you mean by "sufficiently close".
Pilots usually fire missiles after getting Launch Athourisation (essentially, their on board computer calculating that the missil if fired under current circumstances will hit the enemy if they dont evade). Pilots who are confident about their own and enemy capability can delay firing their missiles in order to maximise the PK even if the enemy maneuvers.
Anyway, my point was that the most likely scenario of missile launch in aerial fight is that of a missile miss. Like in the encounter b/w F16 and Su30MKI, missiles being kinetically defeated by SU30 is the most common scenario in a well trained air force.
Air comabt works by throwing missiles at the enemy while staying out of their (estimated) MAR(minimum abort range) while trying to get close enough to bring them within your own MAR. Most of the times, one person runs out of missiles and turns away.
Which is why I said, your probability figures are wrong for peer air combat. And I still have not seen one good reason why having a 60kg gun on a 11,000 kg airplane, a weapon that cant be jammed, flared, or decoyed, can be employed at practically 0 range, is perfectly predictable in beaviour, is somehow so disadvantageous as to be discarded.