# WindsockSample This sample project shows you how to create and add a simple [SimObject](../../../devmode/editors/scenery-editor/objects/simobj-objects/) into a scene, and how to use the [Model Definitions](../../../content-configuration/models/model-xml-properties/) XML to have that model interact with the simulation. In this case it's to make the SimObject change direction and animation based on the wind direction and strength. The main "core" of this sample is the included 3D model (which can be found prepared for both Blender and 3DS Max in the "Source" folder): {{< image-center src="images/7_Samples_Tutorials/Samples/Scenery/WindsockSample/windsock_3dsmax.png" alt="The Windsock Model In 3DS Max" >}}   The other important file is the `Windsock.xml` file - found in the `model` folder of `PackageSources` - which is where the basic [Model Behaviors](../../../content-configuration/models/modelbehaviors/model-behaviors/) are defined to have the object interact with the simulation: {{< image-center src="images/7_Samples_Tutorials/Samples/Scenery/WindsockSample/windsock_modelxml.png" alt="The Windsock.xml File Location" >}}     ### Loading And Building The Project In order to load and build the project in Microsoft Flight Simulator 2024, you must have previously enabled Developer Mode ([see here](../../../introduction/sdk-overview/) for more information). Once enabled, simply follow these steps:   - Use the **Open project...** command from the **File** menu. {{< image-center src="images/7_Samples_Tutorials/general_openproject.png" alt="Developer Mode Open Project" >}}   - Select the file `WindsockSampleProject.xml` from the `WindsockSample` project folder: {{< image-center src="images/7_Samples_Tutorials/Samples/Scenery/WindsockSample/windsock_open.png" alt="Open The Windsock Sample Project" >}}   - The **Project Editor** should open automatically and show you the project `mycompany-simobjects-windsock` (if the Project Editor doesn't open, then you can open it from the Developer Mode **Tools** menu): {{< image-center src="images/7_Samples_Tutorials/Samples/Scenery/WindsockSample/windsock_project.png" alt="The Windsock Package In The Project Editor" >}}   - Selecting the project and then **right-clicking** will open a menu where you can select the **Build and Mount** option to build the project and mount the created package in the [VFS](../sceneries/airportkalo/#):![Building The Windsock Package](images/7_Samples_Tutorials/Samples/Scenery/WindsockSample/windsock_build.png)   - This will build a package from the files specified in your project. This package will be named `mycompany-simobjects-windsock` and will be output in the **Packages** folder created in the same directory as `WindsockSampleProject.xml`: {{< image-center src="images/7_Samples_Tutorials/Samples/Scenery/WindsockSample/windsock_package.png" alt="The Windsock Package Folder" >}}   - Now that the package has been built you need to open [The Scenery Editor](../../../devmode/editors/scenery-editor/the-scenery-editor/), so we can spawn the windsock object from this sample in the simulation to see how they look. So, in the [Objects](../../../devmode/editors/scenery-editor/menus/the-view-menu/#objects) window you should select **SimObject** as the **Object Type**, and then select the `mycompany-simobjects-windsock` package from the list to filter to the new object: {{< image-center src="images/7_Samples_Tutorials/Samples/Scenery/WindsockSample/windsock_object.png" alt="Finding The Windsock SimObject In The Objects Window" >}}   - You can then go ahead and click on the {{< button "Add" />}} button to add a copy of the Windsock object into the scene: {{< image-center src="images/7_Samples_Tutorials/Samples/Scenery/WindsockSample/windsock_add.png" alt="The Windsock Object In The Scene" >}}