there are several entries which must have the same value :
( all OFFSET entries should be 0 in the Y axis or have the same value ... IIRC .... I forgot something about that stuff ...)
AVIONICS.ini
[HUD]
...
GunBoresightAngle=1.00 <---- here
RocketBoresightAngle=0.50 < --- you can adjust this value to "boresight" one type of rockets
------------------------------------------------------
COCKPIT.ini :
[CockpitSeat001]
...
ViewAngles=0.0,1.0,0.0 <---- here
--------------------------------------------------------
DATA.ini
[FlightControl]
...
GunBoresightAngle=1.0 <---------- here ( to tell the AI where the gun aims )
[AIData]
...
CannonFireAngle=1.0 <---------- here NOTE*
* this is not a standard entry, there is a "stock value" (2.0 IIRC) in the AIRCRAFTOBJECTDATA.ini which is normally sufficent . THis value is used to tell the AI the maximum angle at which guns can be used ( or something like that ). Some planes with a high aimangle need a higher value than the stock number - or they never fire their guns = kinda "out of envelope"
[internalGun]
...
AimAngles=0.0,1.0,0.0 <---- here
------------------------------------------------
that's it...