I'm curious about Drag Chute XML.
The code I know operates shortly after landing almost at the last stage.
Is there a code that works as soon as it lands?
Please answer and thank you.


Code: Select all
<PartInfo>
<Name>custom_vis_AI_Chute_Reverser</Name>
<Visibility>
<Parameter>
<Code>(A:TURB ENG REVERSE NOZZLE PERCENT:1, percent) 0.10 ></Code>
</Parameter>
</Visibility>
</PartInfo>
Code: Select all
<PartInfo>
<Name>custom_vis_AI_Chute_Alt_Above_Grnd</Name>
<Visibility>
<Parameter>
<Code>(A:SPOILERS LEFT POSITION,percent) 2 < if{ 0 } els{ (A:PLANE ALT ABOVE GROUND, feet) 7.5 > if{ 0 } els{ 1 } }</Code>
</Parameter>
</Visibility>
</PartInfo>
Hello Henk.hschuit wrote: 08 Mar 2021, 14:16 Mins, I assume you need a visibility tag to show/hide the chute? Depending on when I want to chute to appear I use:
1. Chute appears when thrust reverser engages (requires thrust reverser enabled in aircraft.cfg). This happens quickly after touchdown.2. If you want it even quicker than with the reversers: Chute appears when aircraft is just above the ground (using feet above ground from main gear contact points). The chute disappears at the end of the roll out when the spoilers retract.Code: Select all
<PartInfo> <Name>custom_vis_AI_Chute_Reverser</Name> <Visibility> <Parameter> <Code>(A:TURB ENG REVERSE NOZZLE PERCENT:1, percent) 0.10 ></Code> </Parameter> </Visibility> </PartInfo>
I also tried to trigger the chute by the main or nose wheels touching ground but the problem is when the aircraft bounces, the chute pops on and off which is not nice.Code: Select all
<PartInfo> <Name>custom_vis_AI_Chute_Alt_Above_Grnd</Name> <Visibility> <Parameter> <Code>(A:SPOILERS LEFT POSITION,percent) 2 < if{ 0 } els{ (A:PLANE ALT ABOVE GROUND, feet) 7.5 > if{ 0 } els{ 1 } }</Code> </Parameter> </Visibility> </PartInfo>
Henk.
As expected, John. ^^bJohn Young wrote: 09 Mar 2021, 08:50 Mins, this is the FS9 code that I use for a drag chute:
<part>
<name>drag_chute</name>
<visible_in_range>
<parameter>
<code>
(A:CENTER WHEEL RPM, grads) 10 > (A:FLAPS HANDLE PERCENT, percent) 99 > 80 * *
</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
</part>
The chute will not deploy until the nose wheel is on the ground, which is not a bad thing because a nose-up attitude tends to bury the chute until the aircraft levels on the runway.
I sometimes use radio altitude for spoilers or air brakes, eg for an F-15 air brake that deploys just before touchdown. It's triggered by radio height and it's set at 50ft in this case:
<part>
<name>anim_spoiler</name>
<animation>
<parameter>
<code>
(A:RADIO HEIGHT, feet) 50 < (A:FLAPS HANDLE PERCENT, percent) 99 > 100 * *
</code>
<lag>20</lag>
</parameter>
</animation>
</part>
It may not be sensitive enough closer to the ground for a brake chute, but try it by all means.
John