Sign in to follow this  
Guest

Events, Vars etc. in FS2004

Recommended Posts

Has anyone "looked" at the relevant FS2004 *.dll's yet?I have extracted all the K Events, A Vars etc. and want to start categorising them. However, I also don't want to re-invent the wheel :-lolI havent had time to compare with the files in Arne's XMLGAU01. I am really keen to see what is new. :9Maybe someone can give me a hand with the categorising process? Have you looked at this yet Arne?Cheers Henning| P4 2.0 GIG | Epox 4G4A Motherboard | 1 GIG RAM | Gainward GeForce4 Ti4200 128MB | 80 GIG IBM Deskstar 7200 | Sound Blaster Live! |"You know that you are low and slow when you get a bird strike from behind..."

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

No info from me. I don't have FS2004 yet.Arne Bartels

Share this post


Link to post
Share on other sites

Alphabetical order would work just fine :) I tried categorizing them earlier, but gave up... Too many in the "misc" category :) An extract of a:vars, k:events, and help:id's would be nice, until the SDK arrives. Thanks for the effort, we couldn't have been without.

Share this post


Link to post
Share on other sites

Arne and Karl,Working on it - will take at least another day or two to complete though. Many new stuff - I'm having fun just looking at some of it }(CheersHenning| P4 2.0 GIG | Epox 4G4A Motherboard | 1 GIG RAM | Gainward GeForce4 Ti4200 128MB | 80 GIG IBM Deskstar 7200 | Sound Blaster Live! |"You know that you are low and slow when you get a bird strike from behind..."

Share this post


Link to post
Share on other sites

I've got one made,, categorized alphabetical order in HTML format inter linking relevent A: VARS to the K:VARS and a bunch of other stuff... NEW STUFF IS RIGHT :-))Regards,RomanGREEN BAY PACKERS][/i :-ukliam :-beerchug

Share this post


Link to post
Share on other sites

Hi Roman,Is there any chance of getting this from you? I have them all alphabetical, but not yet categorised.I am busy writing a XML Gauge Programming IDE with some really nice features. Would you be keen to test it at some stage?CheersHenning| P4 2.0 GIG | Epox 4G4A Motherboard | 1 GIG RAM | Gainward GeForce4 Ti4200 128MB | 80 GIG IBM Deskstar 7200 | Sound Blaster Live! |"You know that you are low and slow when you get a bird strike from behind..."

Share this post


Link to post
Share on other sites

Yes it will be released shortly.. Along with this XMLExplorer gauge IDE type thingy (Actually a interactive gauge building gauge.) I 've been working on since 02..YES I would like to test drive your IDE also...E-Mail via forum plz.Regards,RomanGREEN BAY PACKERS][/i :-ukliam :-beerchug

Share this post


Link to post
Share on other sites

Henning, I have been wondering what program did you use, and where did you find it.Sincerely,Tiberiu Brasov

Share this post


Link to post
Share on other sites

Hi Tiberiu,To look inside the *.dll's, I use PE Explorer, and you can find it here: http://www.heaventools.com/download.htmCheersHenning| P4 2.0 GIG | Epox 4G4A Motherboard | 1 GIG RAM | Gainward GeForce4 Ti4200 128MB | 80 GIG IBM Deskstar 7200 | Sound Blaster Live! |"You know that you are low and slow when you get a bird strike from behind..."

Share this post


Link to post
Share on other sites

Any hexeditor will do, even the good old debug.exe for DOS. Since K:Events and A:vars are clear text even a simple text editor might work.Arne Bartels

Share this post


Link to post
Share on other sites

I agree Arne. It was a long night :-)And it is much cheaper too ;)Henning| P4 2.0 GIG | Epox 4G4A Motherboard | 1 GIG RAM | Gainward GeForce4 Ti4200 128MB | 80 GIG IBM Deskstar 7200 | Sound Blaster Live! |"You know that you are low and slow when you get a bird strike from behind..."

Share this post


Link to post
Share on other sites

Not to be pushy, but... how is this variable/event extraction work going?

Share this post


Link to post
Share on other sites

Hi Karl,Here are the latest A:Vars, K:Events and Units which I received from Arne.I am still busy testing some of the new K:Events.RegardsHenning| P4 2.0 GIG | Epox 4G4A Motherboard | 1 GIG RAM | Gainward GeForce4 Ti4200 128MB | 80 GIG IBM Deskstar 7200 | Sound Blaster Live! |"You know that you are low and slow when you get a bird strike from behind..."http://forums.avsim.net/user_files/29912.txthttp://forums.avsim.net/user_files/29913.txthttp://forums.avsim.net/user_files/29914.txt

Share this post


Link to post
Share on other sites

Got them, thanks! Whoa, so much new cool stuff to explore :)Btw; in order to do realistic ice (operational boot deice, ice-warn etc) systems, I need to read the payload station data. First thing I spotted was the new payload station count, name and weight variables. Does anyone know how I can quickly read the total weight of all station loads?

Share this post


Link to post
Share on other sites

Karl, Doing it this way will read from Aircraft.cfg, you culd put in fixed values but if there is any change to the aircraft.cfg it would need recoding. (A:FUEL TOTAL QUANTITY WEIGHT, ) (A:EMPTY WEIGHT, ) (A:TOTAL WEIGHT, ) - - (>L:Payload, enum)Regards,RomanGREEN BAY PACKERS][/i :-ukliam :-beerchug

Share this post


Link to post
Share on other sites

That's sort of how I'm doing it, although your method forgets the one important weight I'm looking for: Total weight (from a:total weight)- fuel weight (from a:fuel weight)- empty weight (copied from aircraft.cfg)- station loads (can't be copied anymore, changable)---------------= drumroll... ICE WEIGHT.No kidding, monitoring total weight during flight in icing conditions gives an increase in total weight even though fuel is used, as well as changing the profile of the wing. The wing profile change has a lot heavier impact on flight dynamics than simply adding the resulting weight of ice to a station. 200 lbs of ice on the baron can cause havoc on flight dynamics and stall speeds, yet 200 lbs of "regular" overload doesn't affect much at all. this is FS2002, haven't checked yet with FS9.K:Structural deice (something?) will work if you copy some air-file records from the C208 into the baron's .air-file. Sorry, I don't remember at the moment which ones they were, but they weren't obvious with my air-ed inifile. Lots of trial and error - mostly error until one lucky day :DNote that the "toggle structural" event turns on/off a constant deicing system, to get operative boots you need to make a sequence of events turning off (just in case), wait, turn on, wait, then turn off again the structural deice system. Wait for buildup, then repeat (manual booting). As ice breaks off, there is a gentle of major pitchchange as the wingprofile is restored, depending on how much ice was present. Problem is - _all_ structural ice is removed, also those areas not covered by the boots. Maybe part of the ice weight could be added to an invisible spoiler and/or adding invisible fuel to simulate some of this ice? Haven't tried yet but should be fully possible.The last piece of realism can be achieved by setting the deice system "locked to off", if deice was attempted prematurely, creating a cavity under the boots rendering them useless. Tried and works well (FS2002). Instead of a visual cue for checking ice on the wing, a warning lamp can be used as a fakeish replacement.With the much improved icing conditions in FS9, I can't believe the Baron (and possibly others) gauges still call for fake icing switches when they can be made operational... A shame really...

Share this post


Link to post
Share on other sites

>That's sort of how I'm doing it, although your method forgets>the one important weight I'm looking for:>> Total weight (from a:total weight)>- fuel weight (from a:fuel weight)>- empty weight (copied from aircraft.cfg)>- station loads (can't be copied anymore, changable)>--------------->= drumroll... ICE WEIGHT. AFSD displays ICE WEIGHT. It assumes any extra weight is due to ice. Using AFSD, I found Prop Deice has an effect on the Prop. The prop efficiency will decrease in icing conditions and a functional prop deice brings it back up. Not necessarly to full efficiency. Perhaps one also has to cycle the prop deice, I'd thought it simulated heaters, but maybe deicing boots instead. Or, perhaps one or the other.>No kidding, monitoring total weight during flight in icing>conditions gives an increase in total weight even though fuel>is used, as well as changing the profile of the wing. The wing Main effect if ice is increase in Cdi, reduction of Stall CL, and decreased prop efficiency. >K:Structural deice (something?) will work if you copy some>air-file records from the C208 into the baron's .air-file.>Sorry, I don't remember at the moment which ones they were,>but they weren't obvious with my air-ed inifile. Lots of trial>and error - mostly error until one lucky day :D Recent versions of Aired.ini ID 'wing' and 'prop' deice. Actually, I think the tail efficiency is also affected.>Note that the "toggle structural" event turns on/off a>constant deicing system, to get operative boots you need to>make a sequence of events turning off (just in case), wait,>turn on, wait, then turn off again the structural deice>system. Wait for buildup, then repeat (manual booting). As ice>breaks off, there is a gentle of major pitchchange as the .. When a situation is saved, an 'ice' variable is included. It would be nice to have that variable directly available during flight.>The last piece of realism can be achieved by setting the deice>system "locked to off", if deice was attempted prematurely,>creating a cavity under the boots rendering them useless.>Tried and works well (FS2002). Instead of a visual cue for>checking ice on the wing, a warning lamp can be used as a>fakeish replacement. More examples of a fairly sophisticated 'flight model' virtually undocumented and poorly utilized by MS.>With the much improved icing conditions in FS9, I can't>believe the Baron (and possibly others) gauges still call for>fake icing switches when they can be made operational... A>shame really... I think I had to used KB switches to experiment with prop and structural deice. Ron

Share this post


Link to post
Share on other sites

>Perhaps one also has to cycle the prop deice, I'd thought it simulated heaters, but maybe deicing boots instead. Or, perhaps one or the other.

Share this post


Link to post
Share on other sites

>For real world ops, if a choice between propellor and airframe>de/anti-icing systems had to be made for economic or other>reasons I would go for the hot prop, since most airplanes will>carry a load of ice, but thrust absolutely must be maintained>if you want to haul that load to your destination. Yes, agree. Speed is easier to trade in than lift :) I do however believe that real aircraft/wing ice is more to be concerned about than MS has put into FS. There has been a couple of accidents with C208's which seem to be quite picky about icing. In FS, 100lbs of ice, which takes too long to build imho, cause a tremendeous effect on trim when removed suddenly (as FS does), and not enough effect on stallspeeds. I'm not into FDE nor much real world flying, but I've read quite a few accident reports. Ice IS dangerous for all aircraft not equipped for it, and should be handled with great respect for aircraft that can "handle" ice.Try out the above files for the Baron, severe ice in freezing clouds, with no anti-ice on. (_Never_ use keyboard H key). Prop and structural ice is handled separately by the switches. Flying into severe icing works as follows: First the airspeed drops dead (all too sudden btw) as the pitot seem to get a huge icecube blocking it. Then the warning light goes yellow, indicating icing conditions but that you should wait for enough ice to prevent a cavity building up under the boots. The airspeed starts to drop due to props getting inefficient. Wait until you've lost about 10-20 knots then turn on the hotprop. The speed rises quite fast as ice is removed from the prop. However, the light which may have gone green by now, indicates that there are still ice on the wing - which you can now (if green) boot safely. Fly a 'long' time (generate 50-100 lbs according to the warning light's tooltip). The effect of 'all this ice' isn't all that dramatic on airspeed. (Didn't test the following, but it worked in a Fs2002 version of this system): The stallspeed have increased greatly, and trying to land with lots of ice 'attached' can quickly cause a fatal crash. Switching on the boots (springloaded switch), activates a delay of a few seconds (inflating), then toggles the structural deice system on then off - voila, all structural removed, a tremendeous trimchange (1500 fpm climb not uncommon), and goes back to 'normal'. You can also run the boots without removing any propeller ice. Thus; these are two completely separate systems in FS. The 'real' problem was experimenting with which records in the airfile made it possible. In any case; _never_ use the keyboard H key, which seem to toggle _all_ ice fighting.

Share this post


Link to post
Share on other sites

Karl,I gave your gauge files a try in FS2002 with the weather conditions you specified, and while the prop heat works as advertised, the ice warning light stubbornly stayed green and AFSD reported a steadily increasing load of ice. Cycling the boots with the switch did nothing, but then neither did the keyboard event for TOGGLE_STRUCTURAL_DEICE. Pitot heat restored the ASI fairly fast, but nothing I could do would remove the airframe ice. Perhaps these gauges are for FS9 only and not FS2002.It seems I can never achieve complete satisfaction with the FS icing simulation, pitot heat wouldn't work for me in FS2000, and now this in FS2002! :D

Share this post


Link to post
Share on other sites

>Karl,>>I gave your gauge files a try in FS2002 with the weather>conditions you specified, and while the prop heat works as>advertised, the ice warning light stubbornly stayed green and>AFSD reported a steadily increasing load of ice. Cycling the>boots with the switch did nothing, but then neither did the>keyboard event for TOGGLE_STRUCTURAL_DEICE. >Pitot heat restored the ASI fairly fast, but nothing I could>do would remove the airframe ice. I think it is broken in FS2K2. Herve' has released AFSD 2.0 for FS9. I just got another one; it is supposed to fix the 'IMEP' reading. People can check his web site to see what he has posted. Ron

Share this post


Link to post
Share on other sites

>Pitot heat restored the ASI fairly fast, but nothing I could do >would remove the airframe ice.Huh? Did you use the modified .air-file? Max realism? It works for me, and I've put it to use on many aircraft - default and downloaded for FS2002. It worked with FS2002 also, but since we didn't have access to station loads, the weight had to be calculated manually, so I didn't bother too much on "other" aircraft. The "trick" is that the C208 has working structural deice (anti-ice switch on panel). All that was needed was to include some "strange-looking" records from the default C208 airfile. That is, by the aired.ini they doesn't look relevant, but they are.Ron, where is this website - I'm lost :)

Share this post


Link to post
Share on other sites

Karl,It isn't possible to use the modified airfile from your zip directly in FS2002 as it lacks tables 506 and 507 for throttle profile and torque vs fuel/air mixture and without them the Baron will only sit on the runway with the engines at idle. There are other missing bits and pieces in the FS9 airfiles that render them useless in FS2002, including something that causes the "Overspeed" warning to be constantly displayed.Looking through the Baron airfile in your zip, I don't see any new data types, can you identify the "strange looking records" from the C208 airfile that you added to the Baron?If you can be specific then I will include them in the FS2002 Beech Baron airfile and retest.Boolean types 1518 & 1519 are present in the Baron airfile and are identified by the latest AirEd ini file as Prop Deice available and Wing Deice Available. They are set to True(1) by default and I assume that they enable the aircraft ice protection.The older ini file for AirEd identified these as Turboprop AC? and Prop/Turboprop AC?. I did use maximum realism when testing, clouds were set to stratus/overcast 8/8, very heavy rain, icing at severe, temperature at 29-33 degrees F.I tried to set weather conditions that I know would produce very heavy clear ice structural icing in real world flight. A nice thick stratified cloud layer full of large supercooled water drops. I found that FS2002 apparently models aerodynamic cooling and the effect it has on ice formation because I was able to produce the icing effect at 33 degrees F (above the freezing point). The prop heat on the Baron will work from the keyboard command, but not from the default panel switch. As Ron mentioned in an earlier reply to this topic the prop efficiency is only returned to about 95% of its original value. When using your XML switch however, it seems to return to 100% of its pre-icing thrust so if this were a real propellor ice protection system I imagine you would have a better shot at receiving a STC for it from the Feds. :DSince I don't have much experience with using the icing weather option in FS, I have to wonder why static port icing is not modeled (VSI and altimeter still function normally in severe icing conditions), and that induction system icing is not operating in FS2002 despite a keyboard event command ("H" for carb heat/engine anti-ice on/off) being assigned to it. Anyway Karl, I'm not saying that your gauges don't work nor am I trying to dispute your results in any way. Perhaps Ron is correct that the structural deice option is inop in FS2002, or it may be that I'm doing something wrong or that it's something peculiar to my computer setup. I sometimes think that the phrase "computer science" is not applicable to me, I believe "computer alchemy" is more descriptive and appropriate where I am concerned. Or perhaps this will have to wait until I can use FS9.Your ice warning light reminds me of the ice detection system on the old Shorts SD3-30's, they used a fuselage mounted mechanical detector and a cockpit warning light that illuminated when ice buildup increased the torque and current draw on the ice detectors motor. Crude but effective. That airplane could carry a load of ice, I've seen them land after flying through strong New England winter storms with so much mixed clear and rime ice that you would swear it had been parked in a Artic snowstorm for a week. The VHF Com antennas looked like icicles! This is Herve Sors website:http://perso.wanadoo.fr/hsors/FS_Soft/the new AFSD can be found there on this page:http://perso.wanadoo.fr/hsors/FS_Soft/afsd.htmlthis page has the latest AirEd ini file:http://perso.wanadoo.fr/hsors/FS_Soft/fsairfile.html

Share this post


Link to post
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
Sign in to follow this