- Cars: viewtopic.php?t=2346
- Car Chains viewtopic.php?t=5248
- The ACTUAL tutorial on flags: viewtopic.php?t=7441
- Transportation System Extension: viewtopic.php?t=28157
To make our transport, whether bus or train (any one that falls within the TSE (Transport System Extension)) change color according to the color of the line, we are going to need to make our base graph.
This will need to be white where it's going to be colored and black where it's not (whether it's windows, doors, or another design), In another graph we will have our fixed colors (in this case it will be a white layer) where we will color with the colors that we want to be fixed, such as windows, doors, tires and other decorations.
This 2nd chart will be like a blanket for the first one. Now with the json we're going to do this. For everything to work we must put the next line inside the convoy (bus or train), in this case it will be a train.
Code: Select all
"auto colorize":trueCode: Select all
{
"id":"$DML0AM",
"type":"animation",
"frames":[
{"bmp":"FacLM.png","count": 4,"w":29}
],
"rotation aware":true
}Code: Select all
{
"id":"$TLL0AM",
"type":"car",
"frames":[
{"bmp":"TLL0AM.png","count":4,"x":0,"w":29,"h":21,"length":25}
],
"animation":[
{
"id":"$DML0AM",
"x":0,
"y":0
}
],
"v2":[ -5, 1, -6, 0],
"auto colorize":true,
"flag train":true,
"flag normal":false
},
