The number "1"means that the vehicle cannot be coupled, and the "0" means it can be coupled.
How to change the tracks for trams. In this case I show you how to change the tracks for every possibility. From tram-track to normal/narrow gauge and from normal/narrow gauge to tram-track.
First you need to find a vehicle that drives on tracks. In the bottom screenshot you can see that I have used 4 types of vehicles. Three of those vehicles come from the Dutch RET-Metro-pack made by Illegal Alien (wich I cannot include because I have no rights for that), and the last one comes from the game itself.
2. Drag the file over the LocoTool.exe and drop, you will see an .XML file with the same name as the .dat file you just dragged and dropped.
3. Open up the XML-file.
5. After you have changed the codes you save the XML-file.
6. Delete (or make a backup) the original dat.file.
8. Your new file is created.
9. Place this .dat in your Locomotion objdata folder.