Jump to content
The simFlight Network Forums

Detecting fog


Recommended Posts

I would like to read the offset for fog presence. Is possible? I cannot find anything in documentation

Fog is just low visibility. Where you draw the line between fog and mist and mist and haze I don't know. It may be defined for METAR purposes somewhere.

Check offset 0F8C, for example.

Pete

Link to comment
Share on other sites

Such I supposed, thanks Peter. So if I detect the visibility and write down a value for 0x0DDE offset, in my scenery I'll be able to condition my object using the usrvr5, right?

I assume so. Sorry, I'm not really knowledgeable about scenery. But the point of the scenery variable offsets was to allow values to be passed to or from scenery logic.

Incidentally, there are no such facilities in FSX at present. I don't know if the scenery variables will be accessible at all in FSX.

Regards

Pete

Link to comment
Share on other sites

Ehm...Peter, but with Visual Studio 2005 and C#, can I create a DLL compatible with fs2004? or must I use the good old VC6 and C++?

I don't see why VS2005 isn't usable -- I use it. But sorry, I've no idea about anything to do with C#.

Pete

Link to comment
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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy 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.