• 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.

Help with Services.xml

Messages
31
Country
us-massachusetts
I'm on my last wits with this Services.xml file, and hoping someone could help!

I have several large (airline size) pushback tugs, catering trucks, extra fuel trucks, etc., that are spawning onto several of the small_GA parking spots in my small GA airport (pictures below).

I tried adding a nearly empty services.xml file to my project, as in this post, but it didn't change anything:
https://www.fsdeveloper.com/forum/threads/remove-asobo-vehicles.456277/post-909356


When that didn't work, I create a separate file (contents below), specifying each type of service, but setting the frequency to "0.0"
Am I misunderstanding that doing so (a frequency of zero) should, theoretically prevent that type of service from spawning at the parking spots?

It's almost as if the file isn't affecting my airport at all...
I placed the services.xml in the PackageSources\AirportServices\ICAO\services.xml, and when I compile the package it gets compiled out to Package\AirportServices\ICAO\Services.spb


Any suggestions as to what may be going on here, or what else I could try? 🤔
Thanks!

Current Services.xml Contents:
XML:
<SimBase.Document Type="ServiceFile">
          <Service.ParkingSpaceServices>
              <ParkingSpace  name ="RAMP GA SMALL" MinParkingSpaces="0">
                 <ParkingTypes>
                      <ParkingEntry ParkingType="RAMP_GA"/>
                      <ParkingEntry ParkingType="RAMP_GA_SMALL"/>
                      <ParkingEntry ParkingType="RAMP_GA_MEDIUM"/>
                      <ParkingEntry ParkingType="RAMP_GA_LARGE"/>
                      <ParkingEntry ParkingType="RAMP_CARGO"/>
                      <ParkingEntry ParkingType="GATE_SMALL"/>
                      <ParkingEntry ParkingType="GATE_MEDIUM"/>
                      <ParkingEntry ParkingType="GATE_HEAVY"/>
                      <ParkingEntry ParkingType="VEHICLE"/>
                  </ParkingTypes>
                  <IdleWorkers>
                      <Spot Frequency="0.0" SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="2.0" SpawnAngleFromParking="-100" HeadingFromParkingHeading="90" >
                      <IdleWorker Filename="Shared\Asobo_IdleWorkers\Large\V1" EntryWeight="1"/>
                      </Spot>
                      <Spot Frequency="0.0" SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="2.0" SpawnAngleFromParking="-100" HeadingFromParkingHeading="90" >
                      <IdleWorker Filename="Shared\Asobo_IdleWorkers\Large\V1a" EntryWeight="1"/>
                      </Spot>
                      <Spot Frequency="0.0" SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="2.0" SpawnAngleFromParking="-100" HeadingFromParkingHeading="90" >
                      <IdleWorker Filename="Shared\Asobo_IdleWorkers\Large\V1a_edition" EntryWeight="1"/>
                      </Spot>
                      <Spot Frequency="0.0" SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="12.0" SpawnAngleFromParking="110" HeadingFromParkingHeading="-80" >
                          <IdleWorker Filename="Shared\Asobo_IdleWorkers\Large\V2" EntryWeight="1"/>
                      </Spot>
                      <Spot Frequency="0.0" SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="12.0" SpawnAngleFromParking="110" HeadingFromParkingHeading="-80" >
                          <IdleWorker Filename="Shared\Asobo_IdleWorkers\Large\V2a" EntryWeight="1"/>
                      </Spot>
                      <Spot Frequency="0.0" SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="12.0" SpawnAngleFromParking="110" HeadingFromParkingHeading="-80" >
                          <IdleWorker Filename="Shared\Asobo_IdleWorkers\Large\V2a_edition" EntryWeight="1"/>
                      </Spot>
                      <Spot Frequency="0.0" SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="12.0" SpawnAngleFromParking="110" HeadingFromParkingHeading="-80" >
                          <IdleWorker Filename="Shared\Asobo_IdleWorkers\Large\V2b" EntryWeight="1"/>
                      </Spot>
                      <Spot Frequency="0.0" SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="12.0" SpawnAngleFromParking="110" HeadingFromParkingHeading="-80" >
                          <IdleWorker Filename="Shared\Asobo_IdleWorkers\Large\V2b_edition" EntryWeight="1"/>
                      </Spot>
                      <Spot Frequency="0.0" SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="12.0" SpawnAngleFromParking="110" HeadingFromParkingHeading="-80" >
                          <IdleWorker Filename="Shared\Asobo_IdleWorkers\Large\V3b" EntryWeight="1"/>
                      </Spot>
                      <Spot Frequency="0.0" SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="12.0" SpawnAngleFromParking="110" HeadingFromParkingHeading="-80" >
                          <IdleWorker Filename="Shared\Asobo_IdleWorkers\Large\V3b_edition" EntryWeight="1"/>
                      </Spot>
                      <Spot Frequency="0.0" SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="12.0" SpawnAngleFromParking="110" HeadingFromParkingHeading="-80" >
                          <IdleWorker Filename="Shared\Asobo_IdleWorkers\Large\Worker" EntryWeight="1"/>
                      </Spot>
                      <Spot Frequency="0.0" SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="12.0" SpawnAngleFromParking="110" HeadingFromParkingHeading="-80" >
                          <IdleWorker Filename="Shared\Asobo_IdleWorkers\Medium\Worker" EntryWeight="1"/>
                      </Spot>
                  </IdleWorkers>
                  <Services>
                      <Service name ="Marshaller" Filename="Shared\Asobo_Marshaller\Marshaller" AIType="Marshaller" Frequency="0.0"
                          SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="4.0" SpawnAngleFromParking="20" HeadingFromParkingHeading="50"/>
                      <Service name ="SmallPushback" Filename="Shared\Asobo_Pushback\SmallPushback" AIType="SmallPushback" Frequency="0.0"
                          SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="2.0" SpawnAngleFromParking="-10" HeadingFromParkingHeading="150"/>
                      <Service name ="Pushback" Filename="Shared\Asobo_Pushback\Pushback" AIType="Pushback" Frequency="0.0"
                          SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="2.0" SpawnAngleFromParking="-10" HeadingFromParkingHeading="150"/>
                      <Service name ="CateringTruck" Filename="Shared\Asobo_CateringTruck\CateringTruck" AIType="CateringTruck" Frequency="0.0"
                          SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="2.0" SpawnAngleFromParking="-10" HeadingFromParkingHeading="150"/>
                      <Service name ="BaggageLoader" Filename="Shared\Asobo_BaggageLoader\BaggageLoader" AIType="BaggageLoader" Frequency="0.0"
                          SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="2.0" SpawnAngleFromParking="-10" HeadingFromParkingHeading="150"/>
                      <Service name ="BoardingRamp" Filename="Shared\Asobo_BoardingRamp\BoardingRamp" AIType="BoardingRamp" Frequency="0.0"
                          SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="2.0" SpawnAngleFromParking="-10" HeadingFromParkingHeading="150"/>
                      <Service name ="GroundPowerUnit" Filename="Shared\Asobo_GroundPowerUnit\GroundPowerUnit" AIType="GroundPowerUnit" Frequency="0.0"
                          SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="2.0" SpawnAngleFromParking="-10" HeadingFromParkingHeading="150"/>
                      <Service name ="WingRunner" Filename="Shared\Asobo_WingRunner\WingRunner" AIType="WingRunner" Frequency="0.0"
                          SpawnDistanceParkingRadiusFactor="1.0" SpawnDistanceAdditionalOffset="2.0" SpawnAngleFromParking="-10" HeadingFromParkingHeading="150"/>
                  </Services>
                  <SleepingActivities>
                      <SleepingAirlinerServices Probability="0.1" Timer="600"/>
                      <SleepingSmallPlaneRefueling Probability="0.1" Timer="600"/>
                  </SleepingActivities>
              </ParkingSpace>
          </Service.ParkingSpaceServices>
              <Service.AirportServices>
              <Services>
                  <Service name ="Fuel" Filename="Shared\Asobo_Fuel\Fuel" ParkingType="VEHICLE" Frequency="1"/>
              </Services>
          </Service.AirportServices>
     
      </SimBase.Document>
 

Attachments

  • Screenshot (64).jpg
    Screenshot (64).jpg
    596.3 KB · Views: 210
  • Screenshot (63).jpg
    Screenshot (63).jpg
    607.6 KB · Views: 197
  • Screenshot (65).png
    Screenshot (65).png
    1.2 MB · Views: 206
Last edited:
Those vehicles are invoked by the livingworld config file, if you want to remove them you need change it (and the changes will propagate to all airport in the region-several countries)

Or

Change your parking type to "DOCK_GA" or military,
And those trucks will go away
 
Those vehicles are invoked by the livingworld config file, if you want to remove them you need change it (and the changes will propagate to all airport in the region-several countries)

Or

Change your parking type to "DOCK_GA" or military,
And those trucks will go away
Got it, thank you!
I had assumed that they were spawning into the spots, but that makes sense....hopefully Asobo will resolve the airport specific living world issue, it's such an immersion killer!

Are there any repercussions with coding the spots as DOCK_GA or military? Will AI GA Traffic not populate into these spots, and/or will normal services such as fuel truck or marshaller be unavailable at these spots?? 🤔
 
I suppose you substituted "ICAO' in the path with the ICAO code of your airport? Just checking, as I do not have that problem on my airports... I wonder if I have some modified livingworld file somewhere - have to check it out tomorrow... Are you spawned on the airport in an airliner or in some smaller GA? Does that affect what is spawning?

I placed the services.xml in the PackageSources\AirportServices\ICAO\services.xml, and when I compile the package it gets compiled out to Package\AirportServices\ICAO\Services.spb
 
I suppose you substituted "ICAO' in the path with the ICAO code of your airport? Just checking, as I do not have that problem on my airports... I wonder if I have some modified livingworld file somewhere - have to check it out tomorrow... Are you spawned on the airport in an airliner or in some smaller GA? Does that affect what is spawning?
Yes, that is correct, see attached pictures...
I assume the path is all correct since when the package gets built the compiled services.spb file is also being generated...

That's a great question, I've only tried loading in a small single prop aircraft so far...
 

Attachments

  • PS-filepath.PNG
    PS-filepath.PNG
    48.6 KB · Views: 200
  • compiled-path.PNG
    compiled-path.PNG
    53 KB · Views: 229
Are there any repercussions with coding the spots as DOCK_GA or military? Will AI GA Traffic not populate into these spots, and/or will normal services such as fuel truck or marshaller be unavailable at these spots?? 🤔

Military AI aircraft will spawn at military parking, nothing else will. Vehicles that spawn at vehicle or ga parking, will drive to and park, or do their idle sit there and drive away thing, at military parking. Setting the size of your airport in the Scenery Editor controls not only the height and complexity of the TIN buildings within the airport boundary, it also regulates the AI vehicles, for example a GA airport will still get fire engines and fuel trucks, however there will be no catering trucks, no cab driven pushbacks and generally, although not exclusively, few baggage loaders and few airport busses.
Pushback and other services are available at military parking, if they are available at the airport, if it is a small airport, the pushback is the stand-up plane tug.

maxresdefault.jpg
 
Ok, that would explain why I don't have trucks and buses on my small airports, as I have set them to small in the airport settings!
 
Duh! I didn't even think of this, let me check now, I don't ever recall looking at those settings at all.....perhaps it's set to something larger than small airport by default? 🤔
 
Military AI aircraft will spawn at military parking, nothing else will. Vehicles that spawn at vehicle or ga parking, will drive to and park, or do their idle sit there and drive away thing, at military parking. Setting the size of your airport in the Scenery Editor controls not only the height and complexity of the TIN buildings within the airport boundary, it also regulates the AI vehicles, for example a GA airport will still get fire engines and fuel trucks, however there will be no catering trucks, no cab driven pushbacks and generally, although not exclusively, few baggage loaders and few airport busses.
Pushback and other services are available at military parking, if they are available at the airport, if it is a small airport, the pushback is the stand-up plane tug.

I don't see anywhere that you can set the size of the airport?? 🤔
 

Attachments

  • airport-properties.PNG
    airport-properties.PNG
    45.3 KB · Views: 198
Ok, so the attribute is controlled by the underlying polygon:

airport size.png


For reference, in an airport this size, there are 9 parking spots activated, one vehicle and one military.

8 parking.png


The vehicle parking is right next to the fuel station and there is almost always a fuel truck parked there. The military spot is inside a hangar with an opening door. All polygons are set to "unknown," there are no taxi paths crossing the runway and AI traffic, both vehicle and plane, is light, which is typical for this airport, except for the occasional 737. I'd say the best control is to limit the number of available parking, to the approximate traffic density.

KTTD AI vehicles.png

737 visits kttd.jpg
 
Thanks for that suggestion!
I did look and I was actually missing an underlying polygon...

I created one, just large enough to cover the ramp areas, ticked off airport area, and for size, I tried UNKNOWN, XS, and SMALL....
After rebuilding and reloading the package, each of these had zero affect it seems, and there are still many catering trucks and cab driven pushbacks driving around the airport.....

I suppose the only other option (if I don't want to set parking spots to military to avoid military AI aircraft spawning where they would otherwise not be), is to set them to DOCK_GA, or simply try reducing the total activated parking spots down to something lower than what I have now (approximately 45....) 🤔
 
Well I did cut it down to about 10 activated parking spots, and that mostly did the trick.....zero cab driven pushbacks driving around, and only 1 catering truck.....
I wonder if keeping all original parking spots (45-sh), setting all but about 10 of them to DOCK_GA would have the same effect, or if it would still see 45 activated parkings and draw as many vehicles as before....
 
That seems to have worked, kept all 45 parking spots, changed all but 10 to MIL_CARGO, and since they are small GA size too small for AI to generate it seems....All catering trucks and cab pushbacks are gone as well!
Only thing I noticed now is I can't request a fuel truck from any spot, including small_GA spots...... 🤔
 
I'm having the same problem & losing my mind trying to fix it.

My realworld Airfield is relatively small (2 dedicated Parking_FUEL, 20 RAMP_GA_SMALL & 1 MEDIUM spot) & doesn't need pushback tugs, catering trucks, fuel trucks, etc. (I want to avoid modifying livingworld config).

Could you share your Services.xml & what you did to fix it in the end?
 
I'm having the same problem & losing my mind trying to fix it.

My realworld Airfield is relatively small (2 dedicated Parking_FUEL, 20 RAMP_GA_SMALL & 1 MEDIUM spot) & doesn't need pushback tugs, catering trucks, fuel trucks, etc. (I want to avoid modifying livingworld config).

Could you share your Services.xml & what you did to fix it in the end?
Certainly!

My real world field has approximately 45 GA_SMALL spots, and 4 medium ones....small pushbacks only.
I played around with the number of small spots, and somewhere around 10 seemed to be the magic number....anything more than that, and it started added in large (airliner size) pushback tugs, 5-6 catering vehicles, and 8 or 9 large fire trucks (obviously not realistic in any sense)....

What I did to fix it was I left about 10 spots as GA_SMALL, and coded all the others as MIL_CARGO spots. This did the trick and got rid of all large tugs, all but one pesky fire truck, and all the catering vehicles.

My services code is below, I initially had it without the fuel line at the bottom (which may work for you), but that prevented me from even calling a fuel truck from the ATC menu, so I added that back in and that solved that problem.


XML:
<SimBase.Document Type="ServiceFile">
          <Service.ParkingSpaceServices>
              <ParkingSpace  name ="RAMP GA SMALL" MinParkingSpaces="0">
                 <ParkingTypes>
                      <ParkingEntry ParkingType="RAMP_GA"/>
                      <ParkingEntry ParkingType="RAMP_GA_SMALL"/>
                      <ParkingEntry ParkingType="RAMP_GA_MEDIUM"/>
                      <ParkingEntry ParkingType="RAMP_GA_LARGE"/>
                      <ParkingEntry ParkingType="RAMP_CARGO"/>
                      <ParkingEntry ParkingType="GATE_SMALL"/>
                      <ParkingEntry ParkingType="GATE_MEDIUM"/>
                      <ParkingEntry ParkingType="GATE_HEAVY"/>
                      <ParkingEntry ParkingType="RAMP_MIL_CARGO"/>
                  </ParkingTypes>
                  <IdleWorkers />
                  <Services />
                  <SleepingActivities>
                      <SleepingAirlinerServices Probability="0.1" Timer="600"/>
                      <SleepingSmallPlaneRefueling Probability="0.1" Timer="600"/>
                  </SleepingActivities>
              </ParkingSpace>
          </Service.ParkingSpaceServices>
              <Service.AirportServices>
              <Services>
                  <Service name ="Fuel" Filename="Shared\Asobo_Fuel\Fuel" ParkingType="VEHICLE" Frequency="1"/>
              </Services>
          </Service.AirportServices>
      
      </SimBase.Document>
 
Back
Top