Jump to content
The simFlight Network Forums

What FSX or Prepar3D versions can support to write Viewpoints?


Recommended Posts

  • Replies 51
  • Created
  • Last Reply

Top Posters In This Topic

3 hours ago, yindengxie said:

n your FSX SDK, I found the NewWeather.h as follows, have you

NewWeather.c program as example program? THANKS!

No, sorry.

3 hours ago, yindengxie said:

I have not found the Runway Visibility Range (RVA) in  your NewWeather.h head file.

Can I write  values to C800 - CBFF to change RVA?

As I have said before, I am NOT aware of any such facility in FSX ort P3D. did not not read my previous post?

I am out now till the 18th. I suggest you do some research yourself. What do you expect FSX to do with your RVA setting in any case. Just put some fog on the runway only? Surely the RV range is only a report, not a setting? I don't see how it could be set separately to visibility!

Pete

 

Link to comment
Share on other sites

Hello Pete,

Just now, I read your previous post: "you'd need to set global Weather mode

and set the weather change slider to zero to prevent the weather you set

from being changed."

Question:  How to set the weather  change slider to zero?

  THANKS,  PETE!

 

Link to comment
Share on other sites

1 hour ago, yindengxie said:

How to set the weather  change slider to zero?

Look in the FSX options. Move the weather change; rate slider to the extreme left!

Or, to do it by program please do read the NWI readme where you will find this:

Quote

NW_DYNAMICS sets the FS2004 dynamic changes option to the value given in the uDynamics field. Write the latter first, then the command (in the same FSUIPC_Process is okay). A value of 0 sets dynamic changes off.

This will be my last reply till at least the 16th as I am away till later that day.

Pete

 

Link to comment
Share on other sites

  • 2 weeks later...

Hello Pete,

 Thank you very much for you to give me so much help!

 Now I want  to ask you  the following question:

Can I send (write) rain and snow parameters through your FSUIPC to pass to FSX?

If Yes, can you give me a short C sample  codes? THANKS! 

 

 

 

Link to comment
Share on other sites

2 hours ago, yindengxie said:

Can I send (write) rain and snow parameters through your FSUIPC to pass to FSX?

Yes, the NWI interface I already pointed you to supports weather settings, or oyu can use METAR strings. Rain and snow are part of the weather. It is all one interface, eventually via Simconnect into FS.

I don't have any specific samples apart from the old ones in the SDK. If you are new to programming you'd probably be better off using .NET and Paul Henty's excellent DLL (see the special Subforum about this, above).

Pete

 

Link to comment
Share on other sites

Hello Pete,

 Good Morning!

Thank you very much for your quick reply.

In the past months,  I have worked on your FSUIPC,   I like to program to

interface with your FSUIPC  directly.   I will try your  NWI interface again.

If there are any questions, I expect to get your help.  THANKS! 

 

 

Link to comment
Share on other sites

1 hour ago, yindengxie said:

Offset 0x0020 Ground Altitude in Meters. Is the Ground Altitude the Elevation of Scenery?

If not,  can I read from your FSUIPC to get the Elevation of Scenery?

It is as it says, the elevation of the ground -- that is the elevation you'd experience on the ground!  It won't tell you the elevation of, say, a skyscraper in the scenery below you!

Pete

 

Link to comment
Share on other sites

14 hours ago, yindengxie said:

Only after the FSUIPC is registered,  can we use FSX METAR  format  between the 0xB000 - 0xB7FF to  set  weather cases? 

No. Access to offsets is available to all programs with or without registration. For commercial products a fee is negotiated for commercial use.

Pete

 

Link to comment
Share on other sites

  • 1 month later...

Hello Pete,

Thank you very much for your great help in the past.

I use the offset 0x0238 to set the hour of local time (0-23) OK.

Now I want to set (write ) season to request your support.

At the offset 0x0248, the season  values  can only be read, not write.

What the offset can the season  values be written?

 THANKS and BEST REGARDS!

   Dengxie

 

 

 

 

 

 

Link to comment
Share on other sites

Dear MR. John Dowson,

Thank you very much for your help.

Today,  my program reads offset x0020 (4 bytes) or 0x0b4c (2bytes)

to get GROUND ALTITUDE, but these ground altitude values ONLY to show

current runway elevation. During flying, reading GROUND ALTITUDE values always

are same as the runway elevation, no change.

    What is my mistake?

   Thanks and Best Regards!

        Dengxie 

 

 

 

 

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.