Jump to content
Sign in to follow this  

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

i m not joking mate. it does another thing...

 

post-24717-12703960210228.png

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

well at least it works on my machine. we will find out if it works for others.

Share this post


Link to post
Share on other sites

Interesting, though it doesn't work with effects set to unlimited.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

In short it does not work in DX10...

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

This is one swell mod!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

we are trying to fix that but so far no progress yet.

 

We do have some progress on rain and bolt though.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

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