AI Whistle blowing

General discussion about Train Simulator, your thoughts, questions, news and views!

Moderator: Moderators

Locked
User avatar
DaveDewhurst
Very Active Forum Member
Posts: 1994
Joined: Wed Nov 28, 2007 10:21 am
Location: Birkenhead
Contact:

AI Whistle blowing

Post by DaveDewhurst »

Ive finally figured out a way to get AI trains to do stuff they cant normally do,
like blow whistles at whistleboards or workmen.
The method can be expanded to make AI Pantograph/3rd Rail shoes work aswell.

http://www.youtube.com/watch?v=-egYUGhugyE

Dave
User avatar
220389
Very Active Forum Member
Posts: 3524
Joined: Mon Aug 25, 2003 12:28 pm
Location: Shropshire
Contact:

Re: AI Whistle blowing

Post by 220389 »

That is great news. Will add a lot to scenarios etc.

Chris
Rising Storm -Name is in the credits :D - To Do scenario, where you go along at 50mph in a Pendo? Who would play it?
Anyone want to help in Play Testing future Rising Storm/ Ro2 Maps? If so please PM me.
User avatar
trainsmit
Been on the forums for a while
Posts: 286
Joined: Sat Sep 26, 2009 12:24 pm

Re: AI Whistle blowing

Post by trainsmit »

I like the sound of it. How?
Smile when ...
MisterWho
Established Forum Member
Posts: 477
Joined: Fri Sep 10, 2010 4:02 am

Re: AI Whistle blowing

Post by MisterWho »

That is definitely worth a "yee hah" ... well done, that man !
User avatar
Wikkus
Very Active Forum Member
Posts: 3480
Joined: Tue Dec 04, 2001 12:00 am
Location: Malta

Re: AI Whistle blowing

Post by Wikkus »

DaveDewhurst wrote:Ive finally figured out a way to get AI trains to do stuff they cant normally do,
like blow whistles at whistleboards or workmen.
The method can be expanded to make AI Pantograph/3rd Rail shoes work aswell.
Blimey! :o Well done Dave! :D

Look forward to reading more soon!

Rik.
User avatar
AndiS
Very Active Forum Member
Posts: 6207
Joined: Fri Sep 23, 2005 4:43 pm
Location: Jester's cell in ivory tower
Contact:

Re: AI Whistle blowing

Post by AndiS »

That could be the first bud of intelligence in AI.
Looking forward to the details!
MaikG
Well Established Forum Member
Posts: 545
Joined: Sat Oct 08, 2011 5:04 pm

Re: AI Whistle blowing

Post by MaikG »

That was able by using the scenario scripting since a long time :) Place a TrackMark, add an event for that, handle that event in the script and call a controller on the specific train (you need a proper name for your AI train consist to call on).
User avatar
smarty2
Very Active Forum Member
Posts: 9976
Joined: Sun Aug 21, 2005 8:16 am
Location: 1963, at Snow Hill!
Contact:

Re: AI Whistle blowing

Post by smarty2 »

I'd love to see an "how to" vid for that! Great. :)
Best Regards
Martin (smarty2)
Non technically minded individual!

Is There A God?
Dudley Bible web page
User avatar
xguerra
Very Active Forum Member
Posts: 2894
Joined: Mon Jun 29, 2009 5:23 am
Location: Hertfordshire

Re: AI Whistle blowing

Post by xguerra »

A truly fantastic and innovative achievement.
Backdated Trainsim
My site with my content: http://backdatedtrainsim.weebly.com/
User avatar
eyore
Very Active Forum Member
Posts: 1226
Joined: Tue Jan 27, 2004 6:22 pm
Location: Cumbrian hills

Re: AI Whistle blowing

Post by eyore »

Well done Dave, a great innovation.
Phil

Image
User avatar
TOMMO79
Very Active Forum Member
Posts: 1598
Joined: Sun Nov 24, 2002 5:17 pm
Location: Cleveland

Re: AI Whistle blowing

Post by TOMMO79 »

Well done, I'd hoped interactive whistleboards might have been a feature in TS2015, You seem to have beaten them to it
User avatar
749006
Very Active Forum Member
Posts: 9862
Joined: Fri Mar 30, 2012 11:17 am
Location: England
Contact:

Re: AI Whistle blowing

Post by 749006 »

DaveDewhurst wrote:Ive finally figured out a way to get AI trains to do stuff they cant normally do,
like blow whistles at whistleboards or workmen.
The method can be expanded to make AI Pantograph/3rd Rail shoes work aswell.

Dave
Go along HS1 and all the 395's are running Pantograph Down - be good if that could be cured.

Peter
http://peter749.piwigo.com/
My Railway Pictures
RudolfJan
Well Established Forum Member
Posts: 523
Joined: Thu Oct 18, 2007 6:40 pm

Re: AI Whistle blowing

Post by RudolfJan »

MaikG wrote:That was able by using the scenario scripting since a long time :) Place a TrackMark, add an event for that, handle that event in the script and call a controller on the specific train (you need a proper name for your AI train consist to call on).
Would be nice to see some sample code ....
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 ...
Locked

Return to “[TS] General Discussion”