
Nick Thissen wrote:
You do not need a script to make this work, just dynamic images should be enough.
All you need is to make your Label / SubWidget and go to Dynamic Background. There you can select a Data Binding that the dynamic background is going to bind to. For this, you select any property that somehow tells you which car it is. For example the car ID, or the car name, or more.
Next, you need to specify the Path which translates your property (e.g. car ID or car name) to a filepath, relative to your theme's Images folder. Put the {0} macro where the binding output should go.
For example, if you have cars with ID 1, 2 and 3 (no idea which those are but just an example), you would store the images for example in:
"(Your theme folder)/Content/Images/cars/1.png"
"(Your theme folder)/Content/Images/cars/2.png"
"(Your theme folder)/Content/Images/cars/3.png"
Then your Data Binding should be Car ID and your Path should be "cars/{0}.png"
To figure out which car IDs (or names) you have you can use the Data Explorer. Expand the followed/standing dataset and look for the car ID entry.


Nick Thissen wrote:
Try to put as Path something fixed like "cars/1.png". Does that work at least?
Simon Grossmann wrote:
A quick reminder: questions like this should go in the General Theme Editor Forum.
John Ambrose III wrote:You can find the IDs on the website of iracing itself:
Hey Laflèche - Do you mind telling me where you got the manufacturer logos and ID's from? Or was this something you took the time to do?
