I know how to do a 'wagon override', ie. the engine controls the livery of one or more wagon types, but how do I do it the other way around?
To me, it feels much more logical to have the varaction2 chain for a wagon test if the engine is X (or Y or Z...) and select a special livery from that, especially if there are more than one engine type involved. But I can't find anything for it in the Wiki.
Am I blind? Stupid? Or is the answer only that "it isn't done that way"?
Varaction2 to test which loco is pulling the consist?
Moderator: Graphics Moderators
Re: Varaction2 to test which loco is pulling the consist?
You can check variable C6 for the vehicle ID you want. You have to use varaction type 82 to get the info from the "related object" which is the loco.
Re: Varaction2 to test which loco is pulling the consist?
Thanks! So, it was blindness - how could I miss that one? Seems to work exactly as I want (Yes, there's a very low percent chance that the Green Cargo trains have other containers loaded too):
- Attachments
-
- Example63.png (2.5 KiB) Viewed 1217 times
Re: Varaction2 to test which loco is pulling the consist?
Great looking sprites. I also like what you're planning here with Green Cargo. Very cool idea.
*** Ce French Train Set ***
*** Visit my transport related pictures on Flickr ***





Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
"A committee is a group of men who individually can do nothing but as a group decide that nothing can be done" (Fred Allen 1894-1956 US radio comic).
*** Visit my transport related pictures on Flickr ***
Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch
"A committee is a group of men who individually can do nothing but as a group decide that nothing can be done" (Fred Allen 1894-1956 US radio comic).
Who is online
Users browsing this forum: Amazon [Bot], Baidu [Spider], Bing [Bot], Google [Bot] and 3 guests