Jump to content
Sign in to follow this  
KJakker

Gun to piper alignment in aircraft.

Recommended Posts

I have an issue that has been nagging me for awhile and I was just reminded of it a little while ago while playing a mission.

 

A number of times I have been in a situation where I have an enemy aircraft in a perfect firing solution, my radar locked on with the targets wing tips touching the edges of the gun sight. However when I pull the trigger the stream of shells from my cannon, instead of passing through the center of my sight and the target in it, it passes to the side of the my piper. As such I find myself having to fire longer burst and drag my sight across the target instead of holding a lead pursuit or 6'oclock level position to get hits. This is only on some aircraft and I have not done an analysis of which aircraft specifically seem to be having this issue (I think that all stock aircraft issue free) but it is something that has felt off to me at times.

 

If there is and issue could this be the result of some aircraft have problems with the ranging calculations or alignment of their gun sights relative to the line of fire of the aircraft's gun? Alternately could SF2 gun sights being 2D and not actually focused to infinity like on a real aircraft be distorting the sight picture? Or could it be a different reason all together?

 

If it is an alignment/ranging issue what INI entry's would I need to change to adjust it?

 

It is possible it is nothing but I thought it can't hurt to ask.

Share this post


Link to post
Share on other sites

I believe you can adjust some parameters to get what you want...eventually:

 

 

 

 

jet_cockpit.ini

 

 

[GunsightFront]

HasGunsight=TRUE

GunsightMilSize=50

GunsightName=F-16A_sight.tga

AGGunsightName=F-16A_AGsight.tga

GunsightRollTabsName=F-16A_rolltabs.tga

GunsightRangeBarName=F-16A_rangebar.tga

RangeBarOrientation=6TO12

RangeBarHasGunRange=TRUE

RangeBarUseWeaponRange=FALSE

RangeBarMax=6096.0

RangeBarMin=914.4

RangeBarMaxGun=2032.1

RangeBarMinGun=304.8

LeadComputing=TRUE

MinLeadRange=300

MaxLeadRange=1300

DefaultLeadRange=500

MaxDepression=245

DefaultDepression=50

 

 

 

 

jet.ini

 

 

[FlightControl]

.......

GunBoresightAngle=0

RocketBoresightAngle=-3.0

Share this post


Link to post
Share on other sites

and in the avionics.ini:

 

[HUD]

HUDMaterial=HUDMaterial

HUDColor=0.18,1.0,0.48,0.80

BoresightOffset=0.0,0.0

ViewportTopLeft=-0.125,-0.125

ViewportBottomRight=0.125,0.28

RocketBoresightAngle=-3.0

GunBoresightAngle=-2.0 <----------------------------------------------------------------------- This needs to be the same figure in the above post and the following section from the data.ini:

 

 

[internalGun]

SystemType=FIXED_GUN

GunTypeName=20MM_M61A1

InputName=FIRE_PRIMARY_GUN

MuzzlePosition=0.0,10.20,-1.15

LightPosition=0.0,10.30,-1.15

AimAngles=0.0,-2.0,0.0 <----------------------------------------------------------------------------------------

MaxAmmo=639

AmmoWeightFull=169.2

AmmoWeightFired=76.7

EjectShells=FALSE

Edited by dtmdragon

Share this post


Link to post
Share on other sites

MigBuster and dtmdragon,

I think I know what has been happening now. The aircraft I was flying today was missing the AimAngles=, AmmoWeightFull=, AmmoWeightFired=, data points in the data.ini. I will have to take a look at some of the others aircraft I have downloaded and compare and contrast their data and gun performance with that information in mind.

Thank you for your help.good.gif

Edited by KJakker

Share this post


Link to post
Share on other sites

Personally I find the best trouble shooting method for 3rd party mods is to extract all the .ini files from one of the stock third wire aircraft that best matches its era and role. Then you can compare similar sections of data from the ini files side by side. That way you will see what figures need to match in different ini files (avionics, data etc) from the same aircraft and if any information/figures are missing from the 3rdparty/mod ini file. Failing that it's straight to the combat ace forums! lol

 

[quote name='KJakker' timestamp='1303677436' post='493589']

MigBuster and dtmdragon,

 

I think I know what has been happening now. The aircraft I was flying today was missing the AimAngles=, AmmoWeightFull=, AmmoWeightFired=, data points in the data.ini. I will have to take a look at some of the others aircraft I have downloaded and compare and contrast their data and gun performance with that information in mind.

 

Thank you for your help.good.gif

Edited by dtmdragon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..