Melo965
Resource contributor
- Messages
- 118
- Country

Building an aircraft in Blender2FSX and everything else works fine, but I can't get a simple drag chute to appear when the aircraft is on the ground
and the spoiler key (/) is pressed. I have a visibility attach point coded to the part, but it never appears.
Here is what the simple drag chute (Chute_vis) looks like:
And yes, the object has a material and texture already applied.
And here is the modedef code I am using:
<PartInfo>
<Name>Chute_vis</Name>
<!-- show part only when Aircraft is on ground and spoilers are in use -->
<Visibility>
<Parameter>
<Code>
(A:SIM ON GROUND, bool) 1 ==
(A:SPOILERS Position,percent) 50 > ==
and if{ 1 } els{ 0 }
</Code>
</Parameter>
</Visibility>
</PartInfo>
Does this code look correct?
On the runway, and spoiler key on or off, the drag chute is never visible.
I also regenerated the MDL file with the chute_vis part and no visibility attach point, and it is always there, so the object is not the issue.
Even though the part does not move, do I need to animate it as well? This is the first time I have tried to use the visibility attach point for an object.
Please advise.
Best regards,
Melo965
and the spoiler key (/) is pressed. I have a visibility attach point coded to the part, but it never appears.
Here is what the simple drag chute (Chute_vis) looks like:
And yes, the object has a material and texture already applied.
And here is the modedef code I am using:
<PartInfo>
<Name>Chute_vis</Name>
<!-- show part only when Aircraft is on ground and spoilers are in use -->
<Visibility>
<Parameter>
<Code>
(A:SIM ON GROUND, bool) 1 ==
(A:SPOILERS Position,percent) 50 > ==
and if{ 1 } els{ 0 }
</Code>
</Parameter>
</Visibility>
</PartInfo>
Does this code look correct?
On the runway, and spoiler key on or off, the drag chute is never visible.
I also regenerated the MDL file with the chute_vis part and no visibility attach point, and it is always there, so the object is not the issue.
Even though the part does not move, do I need to animate it as well? This is the first time I have tried to use the visibility attach point for an object.
Please advise.
Best regards,
Melo965

