Setting the destination blind for AI Traffic

Trains and Routes only entertain so far, what you need are engaging and entertaining scenarios. Here's where you can learn how to make bigger, better scenarios and really bring your virtual train world alive.

Moderator: Moderators

Locked
User avatar
MattH2580
Been on the forums for a while
Posts: 287
Joined: Mon Nov 25, 2013 10:53 am
Location: United Kingdom

Setting the destination blind for AI Traffic

Post by MattH2580 »

So I was wondering how I would go about setting the destination blind for AI traffic for both the Class 153 and Class 156. I've never done destination displays before, but I know it involves the string a numbers to be put in somewhere in the scenario editor. I have not found any reference to this in the Class 156 Manual, and I can't seem to find the Class 153 manual :)

Any help would be appreciated,

Regards,

- Matt
Matt - 2580 Interactive

i7 3770k, GTX660 2GB, 16GB 1600MHz HyperX Blu, GA-Z77MX-D3H, 1TB HDD 7200RPM, 750W PSU.
DavidVI
Well Established Forum Member
Posts: 897
Joined: Fri Oct 29, 2010 10:30 pm

Re: Setting the destination blind for AI Traffic

Post by DavidVI »

Sadly you can't set those in the editor, they have to be set in game by the player so AI driven services will have blank destination blinds.
User avatar
MattH2580
Been on the forums for a while
Posts: 287
Joined: Mon Nov 25, 2013 10:53 am
Location: United Kingdom

Re: Setting the destination blind for AI Traffic

Post by MattH2580 »

Thanks for the reply David :)

So my other question would be for the Class 153, and specifically, your own GA reskin for it: How do you set the default destination blind? I noticed that the GA skin for the 153 has a destination on it when you drive it, instead of starting on a blank destination. How would I go about changing the default to Felixstowe? Is there a file that determines the default destination, or would I have to switch the default destination with Felixstowe in the destination file?

Regards,

- Matt
Matt - 2580 Interactive

i7 3770k, GTX660 2GB, 16GB 1600MHz HyperX Blu, GA-Z77MX-D3H, 1TB HDD 7200RPM, 750W PSU.
RudolfJan
Well Established Forum Member
Posts: 523
Joined: Thu Oct 18, 2007 6:40 pm

Re: Setting the destination blind for AI Traffic

Post by RudolfJan »

DavidVI wrote:Sadly you can't set those in the editor, they have to be set in game by the player so AI driven services will have blank destination blinds.
It might be possible using some lua scripting. I got it working for the playertrain for the Christrains Dutch models. But, I'm still struggling to get it working on AI. Did not try for the class 156 yet. Maybe you can do something like

Code: Select all

SysCallRJH ( "PlayerEngine:SetControlValue", "DestinationBoards", 0, destination_nr);
You may need another command name in stead of DestinationBoards. I found by looking at the custom input mapper.
Rudolf

http://www.hollandhiking.nl/trainsimulator
Here you will find the latest version of the Senario Authors Guide, TSW starters Guide, LuaCreator and TSWTools and more ...
DavidVI
Well Established Forum Member
Posts: 897
Joined: Fri Oct 29, 2010 10:30 pm

Re: Setting the destination blind for AI Traffic

Post by DavidVI »

The thing is with the 153 at least, the destination blind is just a big texture with lines of destinations on it so there's no way for anything to know which destination is where. It is an old product so I think i'm just greatful it even has working destinations.

I've never paid attention but when you place it, it already has a destination showing? Would that be the first on the blind? So really you could have an alternate texture for the blinds that had the destination you want as the first destination but that would only work for you and would apply to every instance of that 153 in any activity. I can't really think of a solution to get what you're after sadly, unless JustTrains changed and updated the 153 so the destinations were selectable in the unit number.

David
Locked

Return to “[TS] Scenario Creation”