
Flap
Members-
Posts
43 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Everything posted by Flap
-
Okay, you are losing some of the options then. I have no chance to change anything in the IPC button section (?) Can't you simply send button press and button release as they happen? I've not programmed EPIC for many years, but surely the simplest button operations aren't pulsing and repeating? Even a pair of wires on a Game port can do better! Pete Do you mean a button press and a button release (or toggle) for one turn of the rotarie ?, but if I need to adjust only one degree ?
-
Hi Pete ! A little question,I can add rain and snow to the sim without problems with my external application made in Visual Basic via FSUIPC and WideFS. But when i stop the snow the textures in the scenery remains white. Any suggestion? Tks
-
No Pete i am not using the IPC to program the buttons. I use the epic card with the code i sent and directly to the fs2002.cfg joystick buttons section But wich are the posibilities,button pulse , button repeat and what else ? :shock:
-
If you write a value less than the wind speed it is taken to be the gust difference, i.e wind varying by 15 knots (up to 40, say, if the wind is 25). If the value is greater than the wind speed it is taken to be the upper limit -- so if you set 15 with a wind speed of 5 you'd get 5-15. That's songs great for me ,thanks so much Sorry Pete :oops: ,be patient i am not a guru programmer and there are more , english is not my native language :? Believe me i am doing my best effort to understand , thanks God you exist !
-
No. Why is it slow? How are you doing it? I'm sorry, I cannot help with no information. Pete I am using 12 poles rotary switches for settings and any turn in the knob generate a pulse for a joy button click,i am using your great epic.vxd This is my heading bug code: :HDG_1{ifvar(HDG_SEL,equ,1)HDG_SEL_DEC else HDG_SEL_INC setvar(HDG_SEL,0)} :HDG_2{ifvar(HDG_SEL,equ,2)HDG_SEL_DEC else HDG_SEL_INC setvar(HDG_SEL,1)} :HDG_3{ifvar(HDG_SEL,equ,0)HDG_SEL_DEC else HDG_SEL_INC setvar(HDG_SEL,2)} :HDG_SEL_DEC{nqw(btnpulse,5)} :HDG_SEL_INC{nqw(btnpulse,6)} My question is because ussually works slow,but sometimes (a few ones) moves very fast (more real) and i don't know why. The only setting that always works fast is the altitude setting in the A/P window,(with the same code)
-
I told ya i'm a dummy :lol: So,if i write a value greater than 1 for the gust var ,for example 15 what will be the result in the sim,15 knots ?
-
Pete in my sim i am using an Epic ISA card and i found the knobs for heading and course very slow to make a 360 degrees change,is it any improvement to make it fastest ?,is control acceleration some relationship to this :?:
-
Pete,i dim the variable for gust as long instead as byte and it's work now. Thanks for your effort to help !
-
Y will do,thanks Pete :oops:
-
Just to add something Pete,when the sim become uncontrollable y open the menu and watching the advanced weather section I saw for a surface wind from 90 degrees 10 knots the gusting was 62465 knots !! :shock: I go to read more,tks :D
-
You are unbeliable ! always responding and always fast I really appretiate it ! Well I have to read more 8) Pete Thanks so much
-
Because it was set by something writing to the FS98 weather interface -- please review my earlier reply. Regards, Pete I did Pete,but i don't realize,maybe that means that inside FS2002 are an FS98 weather interface :?: So how can I write in the FS2002 weather interface ?
-
I was trying in an alone computer (without wideserver) and works fine The log is very big This line is without gust 437532 >Change: preset surface wind: to alt=3998ft AMSL, dir=85T, vel=10.0, gust=0.0, turb=0, shear=3, var=0.0 This line is with gust 489579 Results: preset surface wind: to alt=3998ft AMSL, dir=85T, vel=10.0, gust=23.1, turb=0, shear=3, var=0.0 And I notice in this line that it says FS98 wind , why ? 437532 >Change: FS98 Wind0: ground (49ft) to 1998ft AGL, dir 90M, vel 10, gust 0, turb 0
-
Ah .. the ancient and venerable FS98 interface. I didn't know anyone still programmed for that these days. Yes, in FS98 you could only enable or disable gusts. In order to interface the old limited FS98 weather system to FS2000, FS2002 and FS2004 I do some manipulations on the current windspeed to calculate a reasonable gust increment, which should work out at a random value somewhere between 5 knots and 5 knots more than 120% of the wind speed. This served well in comparison with what FS98 used to do with the "on/off" option then available. This means that to get as high as your 99 knots the base wind speed must have been of the order of 40 odd knots. Are you writing the speed first? If not the gust value may be calculate based on something else. Also, I hope you are not doing a Process call for every individual read/write. You should accumulate them all for one cycel and send one Process. If you cannot figure it out, enable the Weather and IPC Write logging and show me the Log. Regards, Pete uuuhh FS98 ??,I took the offset from the FSUIPC for programmers document,it says "0F78 | 2 |Surface wind gusts, enabled if True. I have a button configured to send direction and speed,i write direction first (It's that wrong?) :shock: And I have another button to add gust I really don't figure out , I will save a log
-
Gusts are controlled by a value specifying the maximum difference in Wind Speed. Where do you get the idea that they are either on or off? It sounds like you have misunderstood something somewhere. Which of the three weather interfaces are you using? Where are you writing the "1 or 0"? Regards, Pete Hi Pete ! These are the offsets i'm using : Public Const surface_wind_speed = &HF72 Public Const surface_wind_direction = &HF74 Public Const surface_wind_gust = &HF78 Speed and direction works fine I wrote gust this way (I am not a guru programmer :lol: ) Dim ret As Boolean Dim dwResult As Long Dim gust As Byte This is to turn on gust = 1 ret = FSUIPC_Write(surface_wind_gust, 2, VarPtr(gust), dwResult) ret = FSUIPC_Process(dwResult) This is to turn off gust = 0 ret = FSUIPC_Write(surface_wind_gust, 2, VarPtr(gust), dwResult) ret = FSUIPC_Process(dwResult) Tell me what's wrong please :shock: Thanks for your quickly response !
-
Hi Pete,I am writing an IOS interface in VB 6,I am using fsuipc and widefs to comunicate with FS2002 within a network. I never had problems with surface winds until now that I added gust,when i activate or deactivate gust the simulator became uncontrollable the winds change to more than 99 knots of intensity,the engines go up to 102 percent of N1 and the plane became "aerobatic" and out of control. :? I only write 1 or 0 to activate or deactivate gust :shock: :idea: I suspect that Enrico's Quickmap maybe have some relationship with this because when I experienced this problem quickmap was running together with my application in a client PC,When i had my application running alone that problem doesn't happens,any suggestion ??? Thanks in advance !
-
Yep,I saw some offsets regarding bgl's but i couldn't find relationship about what i'm looking for,the offsets for the sim vars are specific,for example enginecombustion offset xxx aircraft on ground ,offset xxx and so on,but in bgls says for internal use or something like that,I really don't realize how to find out. I want to thank you for the file you just sent to me,you are awesome as ussual. Thanks for your big work for the simmers comunity !
-
Hi Pete,this is my first message since my registration to the forum. I want to know if is there any chance to turn on and off the runway lights of any airport from an external aplication via fsuipc and widefs,i never find any bgl offset to do that,is that posible ? Also i saw the post regarding the program you built, "MakeRunways",may I get a copy of that ? Thanks in advance !!