• 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 How do I replace "ASO_Boarding_Stairs" with a custom object?

Messages
2
Country
russia
Please help me with a solution to this. I have modified "ASO_Boarding_Stairs" model and want to use it at the airport.

1) In SDK, I opened my airport scenery project and created "Asset Group" for "SimObject" with settings (pic. 1).
2) In the scene editor, I place:
- Gate_Heavy - and add my "BoardingStairs" object from "SimObject" directory (pic. 2,3);
- Ramp_GA_Large - in the ramp settings you can see that the "BoardingStairs" is present in the list of objects (pic. 4).
3) After starting "MSFS", I select "Rump_GA" to use. You can see that the "Ramp_GA" is using the default "ASO_Boarding_Stairs" object. But the "Gate_Heavy" has my object (pic. 5).
4) It seems to me that this is because I set my "BoardingStairs" object to "Gate_Heavy" forcibly. But "Ramp_GA" uses the default object.
5) I'm not sure if it's correct, but.. To fix this I am creating an "AssetGroup" for "AirportServices" with settings (pic. 6).
6) I run "MSFS" again to check, but nothing has changed.

!!! - "AirportServices" folder structure (pic. 7)
- also in the "MSFS SDK\Samples\AirportServices\PackageSources\AirportServices\Shared" documentation there is no folder for "BoardingRamp". I don't know if this affects the result.

Appreciate any help, thank you!
 

Attachments

  • 1.JPG
    1.JPG
    72.9 KB · Views: 137
  • 2.JPG
    2.JPG
    201.5 KB · Views: 131
  • 3.JPG
    3.JPG
    188.7 KB · Views: 121
  • 4.JPG
    4.JPG
    214.3 KB · Views: 119
  • 5.JPG
    5.JPG
    177.9 KB · Views: 127
  • 6.JPG
    6.JPG
    72.1 KB · Views: 134
  • 7.JPG
    7.JPG
    14.3 KB · Views: 125
Messages
104
Country
pakistan
Currently, it's not possible to replace Services on an airport basis. It works by modifying the LivingWorld.xml but it will replace them all over the entire region which is not desirable in most cases. ASOBO has plans to implement this for single airports as well, however no timeframe for that.
 
Messages
2
Country
russia
Currently, it's not possible to replace Services on an airport basis. It works by modifying the LivingWorld.xml but it will replace them all over the entire region which is not desirable in most cases. ASOBO has plans to implement this for single airports as well, however no timeframe for that.
I am sad to hear this. I understand that more important issues are being decide now, so I think this will not be done soon.
 
Messages
6
Country
norway
For the service vehicles, it is actually possible to make a custom simobject vehicle included with the airport, include a custom service script for that specific vehicle and point the services.xml to that specific script. I've replaced the fuel truck at two of my airports, ENBR and ENBO. This only works for service vehicles and not the ambient vehicles at the airport.

The sample files for this is located in MSFS SDK\Samples\AirportServices\PackageSources\AirportServices\Shared, but unfortunately sample scripts are only available for BaggageLoader and Fuel last time I checked, so getting a working stairs script might be a lot of work.

edit: To clarify what I did:
1: Made a simobject fuel truck and included as an asset group.
2: Included an asset group for AirportServices based on the sample and documentation.
3: Used the sample fuel truck script and modified it to load my specific fuel truck instead of loading one from default livingworld config by changing this section:
Code:
Old:
<SimContain.Container InstanceId="{857701B9-C9DA-45F9-82B5-BF62DB755A6A}">
            <Descr>Fuel Truck</Descr>
            <UseRegionContainerType>True</UseRegionContainerType>
            <IsOnGround>True</IsOnGround>
            <AIType>FuelTruck</AIType>           
        </SimContain.Container>

New:
<SimContain.Container InstanceId="{857701B9-C9DA-45F9-82B5-BF62DB755A6A}">
            <Descr>Fuel Truck</Descr>
            <UseRegionContainerType>False</UseRegionContainerType>
            <ContainerTitle>wENxx_SO_fueltruck_long_A</ContainerTitle>
            <IsOnGround>True</IsOnGround>
            <AIType>FuelTruck</AIType>
</SimContain.Container>

4: Changed the service xml to include:
<Service name ="Fuel" Filename="Shared\wENxx_script_fueltruck_long_A\Fuel" ParkingType="VEHICLE" Frequency="0.2"/>

(This fuel truck and compiled script is available in my "ENxx asset pack" on flightsim .to as an example. If you try that you can skip part 1 and 3 for testing.)
 
Last edited:
Top