plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


Idea

virtuali avatar image
virtuali suggested virtuali edited

Random Attached objects

Would be possible to add a randomization feature to the attached models ? An attach that changes each time the main simboject is instanced.

This could be very useful, and might save us from adding lots of complex RPN code to behaviors to simulate this.

The syntax might be something like this:


<RandomModelAttachment id="MY_ID1" Weight="1">
  <AttachToNode>ATTACH_RANDOM_POINT</AttachToNode>
    <Model>..\..\model.1\Model_Variant1.xml</Model>
</RandomModelAttachment>

<RandomModelAttachment id="MY_ID2" Weight="0.5">
  <AttachToNode>ATTACH_RANDOM_POINT</AttachToNode>
    <Model>..\..\model.2\Model_Variant2.xml</Model>
</RandomModelAttachment>

<RandomModelAttachment id="MY_ID3" Weight="0.2">
  <AttachToNode>ATTACH_RANDOM_POINT</AttachToNode>
    <Model>..\..\model.3\Model_Variant3.xml</Model>
</RandomModelAttachment>
devmodemodelinganimation
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

No Comments

·

Write a Comment

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.