Jump to content

Recommended Posts

Posted

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

Posted

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

Posted (edited)

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
  • Like 1
  • Thanks 1
Posted

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 2
Posted

Eagle114th,

Try first by adding 'ShowAnyWeapon=TRUE' there in avionics.ini:

[HUD_LCOS]
SymbolType=LCOS
ShowAnyWeapon=TRUE

that should be enough to fix the pb of the sight being visible for rockets (and bombs, if any).

Additional note: 

the gunsight image call in the avionics.ini NAV mode is probably redundant:

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

.../...

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

You already have it from the call in the cockpit.ini ("GunsightName=A-1CM_SIGHT.tga"). You probably have the 2 sights superimposed in NAV mode. To be checked, I have not tested.

 

  • Like 1
  • Thanks 1
  • 2 weeks later...
Posted
On 1/18/2025 at 8:38 PM, pvince said:

Eagle114th,

Try first by adding 'ShowAnyWeapon=TRUE' there in avionics.ini:

[HUD_LCOS]
SymbolType=LCOS
ShowAnyWeapon=TRUE

that should be enough to fix the pb of the sight being visible for rockets (and bombs, if any).

Additional note: 

the gunsight image call in the avionics.ini NAV mode is probably redundant:

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

.../...

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

You already have it from the call in the cockpit.ini ("GunsightName=A-1CM_SIGHT.tga"). You probably have the 2 sights superimposed in NAV mode. To be checked, I have not tested.

 

That actually solved my issues with HUD_LCOS!!! I can finally have working gun and rocket depression in AA and AG mode in HUD!

You just saved me tons of works!

Cheers!

  • Like 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

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