Jump to content
The simFlight Network Forums

offset 04D2


Recommended Posts

Hello to all.

I would like to know how to control rain in fsx with FSUIPC. I have developed a acars to my fsx and want to control the weather but also using offset 04D2 have no result.

 

my code



procedure TForm1.precipitacao;
var
  dds:dword;
  prec:dword;
begin
  prec := 2;
  if FSUIPC_Write($04D2,2,@press,dds) then
  if  FSUIPC_Process(dds) then
    beep;
end;


 

thank you

Link to comment
Share on other sites

ah, I'm sorry for my ignorance but how I do it? has an example of which offset should I use?

it is possible that with SimConnect?

 

The SDK contains the details of the offsets and values to be used for the New Weather Interface. If you don't want to deal with binary data you can use SimConnect style METAR strings.

 

You can of course use SimConnect directly. That's all FSUIPC is doing.

 

Any weather control program for FSX is going to be quite a big job. It isn't something to do lightly. There are commercial programs doing it very well, of course. I use ASN.

 

There is a free weather read/write program provided in the SDK -- WeatherSet2. That uses the New Weather Interface.

 

Pete

 

 

Pete

Link to comment
Share on other sites

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

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