Jump to content

Recommended Posts

Posted (edited)

Below has been tested with SF2i Mar2010

 

 

find corresponding section and paste below in your objects/ aircraftobject.ini

 

[GunsightMaterial]

EffectShaderName=twColor1.fx

DepthBufferCheck=TRUE

DepthBufferWrite=FALSE

RenderedInOrder=TRUE

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=-1

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

 

 

Then remove the line from your avionics.ini

 

EffectShaderName=fltHUD.fx

 

 

 

Let me know how you find about it.

 

 

Thanks,

 

Insky_orsin

 

 

post-24717-12703956845131.jpg

Edited by orsin
  • Like 1
Posted

So this makes it stay in the hud? Or gets rid of it altogether?

 

(Gee I can hear the people lining up now for the jokes.)

Posted

That is nice! My joke reference was the way I worded my response. The last part was a play on a word in the movie Airplane.

Posted

you are right. it does not work when Effects set to Unlimited. That probably has something to do with the shader attached to the {gunsightmaterial}.

Posted

In WOE first gen and WinXP this working. CCIP/gunsight disappears on the panel or windscreen frame. Still floating on windscreen glass but now is less annoying. Thanks Orsin!

Posted

In short it does not work in DX10...

You will probably loose the entire HUD like that if you use DX10...

 

I tried it with an DX10 integrated graphics and it works unless your Effect set to Ultimate. If you encountered a problem you may also remove the EffectShader=twColor1.fx line in the [gunsightmaterial] section

Posted

In WOE first gen and WinXP this working. CCIP/gunsight disappears on the panel or windscreen frame. Still floating on windscreen glass but now is less annoying. Thanks Orsin!

Thanks for the info! Guess i'll change it the next time i fire up the comp.

Posted

Can this work for the sun too?

 

I've increased the size of my sun quite a bit to make it more reasonable, and it's most noticable near sunset. However, it burns through the dash board (I think even the plane itself from outside, but I can't recall right now, I've been testing stuff with weather set to clear at mid-day for the last week or 2).

 

And if anyone knows of anyway to make the sun truly blind you, that would abso-freakin-lutely rock. (I just found out that even Strike Commander (from 1993) had that, when you looked at hte sun, everything was burned out - as it should be)

Posted

and i would like HDR to blind me if i look at the sun, and if i reach for my RL shades i could distiguish stuff in the sunlight or if i shade my eyes with my hand :P

Posted (edited)

and i would like HDR to blind me if i look at the sun, and if i reach for my RL shades i could distiguish stuff in the sunlight or if i shade my eyes with my hand :P

 

 

Strike Commander did it in 1993. LOMAC did it in 2003. It's really not an outlandish thing to desire as your sarcasm suggests. However, doing it in an aftermarket fashion without access to the original code, that might well be impossible. Always worth a try though. :)

 

Just blocking the sun from bleeding through dashboards and plane externals (in a similar fashion as the CCIP mod) would be excellent. :)

Edited by UnknownPilot
Posted (edited)

have to clarify intention or mood wasn't sarcastic at all :grin: just plainly in a humouring / teasing mood :grin::) Btw Farcry had it too. I like though how sun glare HDR works in SF2. It does give you some trouble seeing things when facing the sun

Edited by squid

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

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