November 22, 201015 yr Has anyone got a structural deice switch to work?The FSX SDK calls the variable "STRUCTURAL DEICE SWITCH" and the mouse event "TOGGLE_STRUCTURAL_DEICE"This is what i tried <Value>(A:STRUCTURAL DEICE SWITCH,bool)</Value>and <Click Event="TOGGLE_STRUCTURAL_DEICE" /> and failed. Any help or do I fake it?...Don
November 22, 201015 yr Commercial Member The aircraft has to be physically set up with structural deice for it to work.It's buried somewhere within the .air file, if I recall correctly. Ed Wilson Mindstar AviationMy Playland - I69
November 23, 201015 yr Commercial Member Search for "Ice Gauge" in the AVSIM library. That contains a gauge that will measure structural icing and a write up that will tell you all you need to know about it and more, plus how to modify the .air files to enable structural icing. Most MS default aircraft do not have it enabled and you will not see it on them. I suspect the same for most add on planes too.Dutch Charles "Dutch" Owen - Developer at Military Visualizations - currently working on the C310R and SR-71A project for MSFS.
November 23, 201015 yr Hi,I can confirm that icing is modelled in fs9.Was able to crash a 767 in a test flight after collecting more than 7000 pounds of ice in severe icing conditions.Also the switches (>K:TOGGLE_STRUCTURAL_DEICE), (>K:ANTI_ICE_TOGGLE_ENG1) and (>K:ANTI_ICE_TOGGLE_ENG2) do their jobs, observing airspeed etc.Jan Jan "Beatus ille qui procul negotiis..."
November 23, 201015 yr Table 1519h in the .air file relates to structural de-icing but accord to ESP's arfiletokens.h file it's obsolete:OBSOLETE_AIR_70_STRUCTURAL_DEICE,EQU,000001519hThat sometimes means it's been transfered to the .cfg file but there doesn't seem to be a corresponding entry for it in that file. Gerry Howard
November 24, 201015 yr Author Thank You all!I've got Dutch's gauge and am reading and deciphering!!All of my (A:GENERAL ENG ANTI ICE POSITION:1,bool) indicators and switches work when I toggle them.I just haven't figured out the visible structural switch and indicator for an annunciator. Right now I'm faking it with an L:var.The engine anti-icing does work, as far as I could tell, at least when setting up the weather manually for testing anywho.I guess I'll have to dig in to the .air and see if some editing is viable. Thanks again...Don
November 25, 201015 yr Hi,fs9, just a test and it works.<String>%((A:STRUCTURAL DEICE SWITCH,bool))%{if}ON%{else}OFF%{end}</String>Toggle: (>K:TOGGLE_STRUCTURAL_DEICE)If you have collected ice, it will vanish immediatly after toggling.(Mind the airfiles!)Jan Jan "Beatus ille qui procul negotiis..."
November 26, 201015 yr Author Hi,fs9, just a test and it works.<String>%((A:STRUCTURAL DEICE SWITCH,bool))%{if}ON%{else}OFF%{end}</String>Toggle: (>K:TOGGLE_STRUCTURAL_DEICE)If you have collected ice, it will vanish immediatly after toggling.(Mind the airfiles!)JanThanks Jan, It just doesn't wanna work in FSX. I assume that mgh is right and (A:STRUCTURAL DEICE SWITCH,bool) is obsolete.I added Record: 1519 *!Deice Wing? Turbine? Inertial Separator?FIELD 0x1519 0x0 INT32 1 *!Deice Wing? Turbine? Inertial Separator? to the FS9/X air file with no joy.I know that the (>K:TOGGLE_STRUCTURAL_DEICE) event works because Doug's Event logger shows it as an entry when my gauge is toggled.I'm all done farting around with this one! My L:var input toggles the switch and the annunciator works with it. I'll leave (>K:TOGGLE_STRUCTURAL_DEICE) in the gauge and see if it de-ices the airframe later.Thank you all for the input...Don
November 26, 201015 yr Commercial Member You must have:xxxxxxxx.air:Section 1513 - both values = 1Section 1519 - value = 1Aircraft.cfg:[deice_system]structural_deice_type=1Possible values for the [deice_system] areType of deicer, of one:0 = None1 = Heated Leading Edge2 = Bleed Air Boots3 = Eng Pump Boots.While I don't use XML... I can assure that in C++ gauges it all works. Ed Wilson Mindstar AviationMy Playland - I69
November 27, 201015 yr According to ESP's airfiletokens.h: Sections 1513 & 1519 are obsolete:OBSOLETE_AIR_70_PNEUMATIC_SYSTEM EQU 000001513hOBSOLETE_AIR_70_STRUCTURAL_DEICE EQU 000001519has is Section 1518: OBSOLETE_AIR_70_PROP_DEICE EQU 000001518hEDITThe differences between FS9 and ESP in the .cfg fie seem to be:[propellor] prop_deice_available (F9 & ESP)[electrical] propellor-deice (FS9 & ESP)[deice_system] structural_deice_type (ESP only)Contrary to my earlier statement, it does seem that the structural deicing has been moved from the .air file to the .cfg for ESP/FSX. Propellor deicing was already in the .cfg file. Gerry Howard
November 27, 201015 yr Moderator According to ESP's airfiletokens.h: Sections 1513 & 1519 are obsolete:It might be important to keep in mind the very real difference between "obsolete" and "depecrated..." ...and quite possibly the SDK author's misuse of them... :( Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
November 27, 201015 yr Author You must have:xxxxxxxx.air:Section 1513 - both values = 1Section 1519 - value = 1Aircraft.cfg:[deice_system]structural_deice_type=1Possible values for the [deice_system] areType of deicer, of one:0 = None1 = Heated Leading Edge2 = Bleed Air Boots3 = Eng Pump Boots.While I don't use XML... I can assure that in C++ gauges it all works.Marvelous, Ed![deice_system]structural_deice_type=1In the aircraft.cfg did the trick!For FSX evidently neither Section 1513 or 1519 is necessary in the xxx.air fileI had resigned myself to faking it and now have ALL of my Anti-Ice systems working. Thank you all again!...DonBTW: Win 7 search would not find "deice" in any FSX aircraft.cfg files, but, found it in the xmls. Weird!
November 27, 201015 yr It might be important to keep in mind the very real difference between "obsolete" and "depecrated..." ...and quite possibly the SDK author's misuse of them... :(That may well be true, but why use deprecated methods when developing for FSX, specially as Sections 1513 or 1519 aren't necessary?. Gerry Howard
November 28, 201015 yr Commercial Member That may well be true, but why use deprecated methods when developing for FSX, specially as Sections 1513 or 1519 aren't necessary?.As I read the FSX SDK, I fail to locate anything that states this.I realize you're making the assumptions based on ESP's absurdly sketchy 'documentation'.... however, they are assumptions.There are a lot of variables that don't work as documented, others that aren't documented at all... the list of oddities goes on and on. Assumptions are a dangerous path in FS development. Ed Wilson Mindstar AviationMy Playland - I69
November 28, 201015 yr [deice_system]structural_deice_type=1In the aircraft.cfg did the trick!For FSX evidently neither Section 1513 or 1519 is necessary in the xxx.air file To confirm that, the default Boeing 747-400 has neither section 1513 nor 1519 in the .air file. It does have [deice_system]structural_deice_type=1 //0 = None, 1 = Heated Leading Edge, 2 = Bleed Air Boots, 3 = Eng Pump Bootsin the .cfg file. Gerry Howard
Create an account or sign in to comment