Jump to content
Eagle114th

Need help with HUD (HUDModeAG) editing for gun sight depressionn

Recommended Posts

Hello everyone,

I am stuck on thihs situation; How to enable theh gun depresssion for rockets and bombs set in COCKPIT.ini into AVIONIC.ini, in [HUD]:

Here is what I have in COCKPIT.INI:
 

Quote

[GunsightFront]
HasGunsight=TRUE
GunsightMilSize=50
GunsightName=A-1CM_SIGHT.tga
AGGunsightName=A-1CM_SIGHT.tga
LeadComputing=TRUE
MinLeadRange=183
MaxLeadRange=732
DefaultLeadRange=300
MaxDepression=125
DefaultDepression=75
RocketDepression=50


And in AVIONICS.ini
 

Quote

[HUD]
HUDMaterial=HUDMaterial
HUDColor=0.988, 1.000, 0.945, 1.0
BoresightOffset=0.0,0.0
ViewportTopLeft=-0.154,-0.126
ViewportBottomRight=0.154,0.185

[HUDMaterial]
EffectShaderName=fltHUD.fx
DepthBufferCheck=FALSE
DepthBufferWrite=FALSE
RenderedInOrder=FALSE
AlphaTestEnabled=TRUE
CullMode=NO_CULL
LightEnabled=FALSE
UseLightLevel=FALSE
SpecularEnabled=FALSE
EmissiveEnabled=FALSE
FogEnabled=FALSE
AmbientColor=1.000000,1.000000,1.000000,1.000000
DiffuseColor=1.000000,1.000000,1.000000,1.000000
ZBufferOffset=0
PriorityLevel=1
BlendOp=BLEND_SRC_ALPHA
NumTextureStages=1
TextureStage[01].TextureName=
TextureStage[01].MipMap=FALSE
TextureStage[01].FilterEnabled=TRUE
TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE
TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE

[HUDFont]
TextFontName=Arial
TextSize=12
TextBold=TRUE

[HUDModeNav]
Symbol[01]=HUD_GUNSIGHT
Symbol[0]=

[HUDModeAA]
Symbol[01]=HUD_LCOS
Symbol[02]=

[HUDModeAG]
Symbol[01]=HUD_LCOS
Symbol[02]=

[HUD_LCOS]
SymbolType=LCOS

[HUD_GUNSIGHT]
SymbolType=IMAGE
ImageFilename=cockpit\A-1CM_SIGHT.TGA
//ImagePosition=0,0.0555
ImageSize=0.0675


As you can see, HUD_LCOS is used for HUDModeAG, but the gunsight does not show up when switcing to rockets.

What should I do to enable the gunsighth for air to ground mode, especaily with the depression mode ffor rockets and bombs? 

Thank you


Eagle114th

Share this post


Link to post
Share on other sites

If your setting up the AG gunsight via the [HUD] eg harrier etc, it can only be as a CCIP not a fixed depressable sight like when it is solely setup via the cockpit.ini eg F-4 etc

Share this post


Link to post
Share on other sites

My own work around (no HUD)

cockpit.7z

[CockpitData]
Directory=cockpit
HUDMode=CAGED,AA,AG
RippleQuantity=1,2,4
RippleInterval=60,100,140

[GunsightFront]
HasGunsight=TRUE
GunsightMilSize=50
GunsightName=Meteor8_lead.tga
AGGunsightName=Meteor8_lead_AG
GunsightComputedName=Meteor8_sight.tga
LeadComputing=TRUE
MinLeadRange=182.88
MaxLeadRange=731.52
DefaultLeadRange=300
MaxDepression=250
DefaultDepression=50
RocketDepression=50

img00001.thumb.JPG.2d267e41e3f72afc2d4432e627cde5fa.JPG

img00002.thumb.JPG.862fdd2c8341329b1eb101ac9e880e19.JPG

img00003.thumb.JPG.d49ea0a555df7a945f5cc5cd9b8464b2.JPG

img00004.thumb.JPG.8305294eb3223fdaa8f6ff782f8e16f3.JPG

All functions are 100% historically accurate including the boresight cross in the air-to-air mode with the gyro sight enabled. It could be turned off and on by the pilot, he could even have the entire fixed (AG) sight (cross and circle) displayed as well as the gyro sight but most would just have the small cross from the fixed sight showing as well as the gyro sight. This was the same on WWII RAF gyro sights although most did not have the depressable function for the fixed sight at that stage.

Edited by dtmdragon
  • Thanks 1

Share this post


Link to post
Share on other sites

DTMDragon,

Thank you for the help!  The reason whhy I want HUD methods; it is for accessibliyt version of aircraft that uses rockets, bombms, and IRM at the same time. I use HUD for accessiblity for visual firing cues for IRM for people whoa re deaf / hard of hearing that can't hear growling sounds.

This thread just gave me an idea for accessiblity version;  Create a new gunsight with rocket and bomb depression mark for HUDModeAG.

However, for default version (Non accessiblity), I can use this.

Cheers!

  • Like 1

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

×

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..