Zum Inhalt springen
AppgineeringAppgineering
Shop
Schreibgeschützt4 Beiträge · 3,060 Aufrufe · Erstellt 19 Jul 2021, 03:23

Custom Car Manufactures with dynamic background

Archiviert: Diskussion auf Discord verlagertDiscord
Joseph M.Ursprünglicher Verfasser
#1

I am trying to have my starting grid widget display a Subwidget with a label having a dynamic background of the car manufacturer. I have a folder named Cars in the content images folder. The path I used was Car/{0} and this wasnt working. How do I fix this issue.

#2

I use this method to load the appropriate track map in my race info overlay, so it's working fine. Some things for you to check:

  • The path might be case-sensitive. Are you sure the folder starts with a capital C?
  • Are you sure the Data Binding is to carid?
  • What format are your images? You didn't provide that in your example. So, for example, if in your "Cars/" folder, you have an image for the Mazda cup, it could be 67.png, in which case, your path definition needs to be "Car/{0}.png"
  • If all of that is set up correctly, it could be your sub widget is not visible. Lots of possible reasons for this. One trick i like to do is force the background of the subwidget to a bright colour so that i can see it's fully visible within the bounds of parent widget.

I hope one or more of those suggestions is helpful.

-Jeremy

#3

If you typed both correctly, your folder is named "Cars" but you typed "Car" in ATVO, meaning ATVO is looking for a "Car" folder and not "Cars". Everything else Jeremy typed is great troubleshooting.

#4

Thanks guys ill throw some screen shots in here shortly. working on some other stuff as well building for 2 new leagues

Dieser Thread ist archiviert.

Neue Antworten finden auf Discord statt.

Auf Discord weiterlesen