• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS Desperately trying to attach an effect to a simple object

Messages
162
Country
italy
This xml applied to a simple model should run ok and show a fire effect:
Code:
<?xml version="1.0" encoding="utf-8"?>
<ModelInfo guid="{0b6e06ac-9d9d-42ee-b616-221c6827a519}" version="1.1">
<LODS>
        <!-- Highest LOD -->
        <!-- minimum display size in % (should be bounding sphere vertical screen size, sphere will often be slightly larger than you expect) -->
        <!-- default minSize is 0 -->
    <LOD minSize="0" ModelFile="blast83.gltf"/>
</LODS>
<!--
0b6e06ac-9d9d-42ee-b616-221c6827a519
4face1ff-2d29-4c05-87c3-9758fb29151e
-->
<!-- -->
<Behaviors>
    <Include ModelBehaviorFile="Asobo\Generic\FX.xml"/>
    <Component ID="Fire"  Node="FX_ASOBO_ENGINEFIRE_SMALL">
        <UseTemplate Name="ASOBO_GT_FX">
            <FX_GUID>{4face1ff-2d29-4c05-87c3-9758fb29151e}</FX_GUID>
            <FX_CODE>101 100 &gt;</FX_CODE>
            <FX_OFFSET_X>0</FX_OFFSET_X>
            <FX_OFFSET_Y>0</FX_OFFSET_Y>
            <FX_OFFSET_Z>0</FX_OFFSET_Z>
            <FX_ROTATION_OFFSET_P>0</FX_ROTATION_OFFSET_P>
            <FX_ROTATION_OFFSET_B>0</FX_ROTATION_OFFSET_B>
            <FX_ROTATION_OFFSET_H>0</FX_ROTATION_OFFSET_H>
        </UseTemplate>
    </Component>
</Behaviors>
</ModelInfo>
Model is made of a simple polygon with a texture that should show a bomb crater at his creation..
<Behaviours> part of xml accordying with examples in SDK and browsing in default files should call a stock effect.
But it does not.
Any ideas ?
Attached here the whole package.
Thanks in advance
 

Attachments

  • SSW-objects.zip
    68.6 KB · Views: 109
Messages
123
Country
italy

SDK UPDATE - 21st January

  • DevMode:
    • Visual Effects Editor is in an UX/UI refinement phase. The first available effects will be contrails and landing smoke effects. They will be customizable through the editor.
 
Messages
162
Country
italy

SDK UPDATE - 21st January

  • DevMode:
    • Visual Effects Editor is in an UX/UI refinement phase. The first available effects will be contrails and landing smoke effects. They will be customizable through the editor.
Thanks a lot,
indeed there are some examples to effects attached to a static object, like SmokeVolcano in:
Official\OneStore\asobo-simobjects-landmarks\SimObjects\Landmarks\Volcano_Smoke
where i got the above code.
Volcano smoke seems to work.
BTW
which version of SDK are you using ? 0.9.0 i guess or something newer ?
/Mario
 
Messages
123
Country
italy
currently the same, v. 0.9.0
it should be there with the next update, hopefully ;)
 
Top