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

FSXA Solution to Change Default Ground Vehicles

Messages
454
Country
senegal
Hi everyone. After a day of search I've finally found a way to change the FSX default ground vehicles with my own model.
So I wanted to share it with you guys. First of all you need to find the file named LWcfg.spb. It should be in:
C:\Users\Username\AppData\Roaming\Microsoft\FSX

Then you will need to convert that file to an xml format by using the spb to xml tool (search it on the net). After you have converted it to xml open it with notepad++ (best choice for me). There you will find many settings you can change including changing the speed of the vehicles, boats etc. But what is important is to know that all the ground vehicles are defined in that file.
I've notice that some are defined by their guids others by their names.

For example if you want to change the default pushback tugs you will have to change the model (mdl) that you'll find in fsx simobjects\groundvehicles and the guid in the file LWcfg.spb.
If you want to change the default fuel truck which is what I tested. I have created a file in 3ds max with a simple box representing the fuel truck. I then created a guid and a friendly name. Export the x file. Then used xtomdl to convert it to an fsx aircraft mdl. I didn't create any animation either.

I then change the name of the mdl to match the fuel truck mdl name which is "VEH_air_fueltruck01_sm". After that I opened the original VEH_air_fueltruck01_sm.mdl with modelconverter of Arno to lookup the guid that I copied. I Opened the model I made with modelconverter and pasted the original fuel truck model's guid.
So basically what you need to do is create a model in gmax/3ds max export the x file (xanime) as you would do for aircrafts and replace the original's model you want to change. But you'll need to make sure your mdl name and guid correspond to the originals.

It worked for me. I guess that you'll be able to do it in an easier way, by maybe changing the guid directly in the LWcfg.sbp file but I didn't find any guid to change for the fuel truck just their name was there.
Anyway I hope you'll try this if you haven't yet and and improve it.

Also to convert the LWcfg.xml back to LWcfg.spb you have to copy the xml file in:
C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Core Utilities Kit\SimProp

Open a command prompt and type in the following in respects of your own "paths":
C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Core Utilities Kit\SimProp>simpropcompiler 2spb -symbols "A:\Microsoft Games\Microsoft Flight Simulator X\propdefs\*.xml" LWcfg.xml LWcfg.spb

Do not forget the "quotes"

After just copy the LWcfg.spb file to its original place as said on the top.



As you can see the blue boxes are the custom fuel trucks.
Also have a look at the SDK "Configuring Surface Vehicle Traffic" article.
Happy modeling
 
Last edited:
Great, have been many question about this issue, this will help a lot, but the only problem is this will change truck in many ariports, that you would not like change, but it's a progress, one can't be more acurated, for exemple, I'd like to change the fuel truck for ground power trucks but only in a bunch of arports, this is dificult I guess. Now I thougt of one question, could I add this vehicle to the list in the LWcfg file as a new vehicle,and then add to the airport traffic?, maybe could be done, anyway thanks a lot.
 
Last edited:
Great, have been many question about this issue, this will help a lot, but the only problem is this will change truck in many ariports, that you would not like change, but it's a progress, one can't be more acurated, for exemple, I'd like to change the fuel truck for ground power trucks but only in a bunch of arports, this is dificult I guess. Now I thougt of one question, could I add this vehicle to the list in the LWcfg file as a new vehicle,and then add to the airport traffic?, maybe could be done, anyway thanks a lot.

Yes it will change them all. But maybe as you said it can be possible to add more fuel trucks and use the one you created for a particular region. I'm still trying to understand if that would be possible and how. Maybe someone have a better understanding of the LWcfg file?
 
I would point out that it is absolutely NOT NECESSARY to recompile the .xml to an .spb format.

Simply leave it uncompiled as an .xml file for easier access for modifications...
 
I would point out that it is absolutely NOT NECESSARY to recompile the .xml to an .spb format.

Simply leave it uncompiled as an .xml file for easier access for modifications...

Thanks I didn't know about that. So it works as xml, that's much easier that way.
 
Back
Top