Mário Grossi Posted January 27, 2015 Report Posted January 27, 2015 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
Pete Dowson Posted January 27, 2015 Report Posted January 27, 2015 Sorry, that sort of direct control doesn't work with FSX. It was only experimental in FS9. You'd need to use the New Weather Interface to set weather stations, or global weather, and this entails setting all of the weather, not just the rain. Pete
Mário Grossi Posted January 27, 2015 Author Report Posted January 27, 2015 (edited) 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? Edited January 27, 2015 by Mário Grossi
Pete Dowson Posted January 27, 2015 Report Posted January 27, 2015 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
Mário Grossi Posted January 27, 2015 Author Report Posted January 27, 2015 Pete, thank you. I was thinking of working with FSUIPC and SimConnect together but, I will be only the first option. If I can build this software, I will send you a copy. ;)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now