# TrafficVehiclesSample This sample is used to illustrate how you can create one or more vehicles to be used for traffic within a region. In this case, we'll be replacing cars within the North American region with small grey vehicles. Care should be taken when creating traffic vehicles this way, as they are spawned on a per-region basis which means that **all** vehicles within a region will be overridden and replaced by whatever vehicles are in the package.     ### 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, you will need to do two things: **build** the project and then place the **package** into [The Community Folder](../../../introduction/sdk-overview/#community) folder.     #### Building The Package - 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 `TrafficVehiclesSampleProject.xml` from the `TrafficVehiclesSample` sample project. {{< image-center src="images/7_Samples_Tutorials/Samples/simobjects/TrafficVehicle/traffic_1_openproject.png" alt="Opening The Traffic Example Project" >}}   - The **Project Editor** should open automatically and show you the project `mycompany-modellib-traffic-vehicles` (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/simobjects/TrafficVehicle/traffic_2_projecteditor.png" alt="The Project Open 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 Package](images/7_Samples_Tutorials/Samples/simobjects/TrafficVehicle/traffic_3_build.png)   - This will build a package from the files specified in your project. This package will be named `mycompany-modellib-traffic-vehicles` and will be output in the **Packages** folder created in the same directory as `TrafficVehiclesSampleProject.xml`: {{< image-center src="images/7_Samples_Tutorials/Samples/simobjects/TrafficVehicle/traffic_4_package.png" alt="The Location Of The TrafficVehicles Package" >}}   - At this point you simply have to start a new **Free Flight** in Mexico (as the vehicles are set to spawn in the "Tropics (American)" `LivingWorldRegion`) then pause the simulation and use the [Developer Camera](../../../devmode/menus/camera/#dev_cam) to move around the world and inspect the roads to see that all the traffic is using the new model that we've defined. You should see that all the cars have been replaced with the small silver/grey car model from the package. {{< image-center src="images/7_Samples_Tutorials/Samples/simobjects/TrafficVehicle/traffic_5_car.png" alt="Example Of A Car From The Package In The World" >}}