Elvas Tower: AI horn blow on timetable acts? - Elvas Tower

Jump to content

  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

AI horn blow on timetable acts? AI horn blow on timetable acts? Rate Topic: -----

#1 User is offline   Niknak 

  • Conductor
  • Group: Status: First Class
  • Posts: 280
  • Joined: 19-July 20
  • Gender:Male
  • Location:Kent UK
  • Simulator:OR NewYear MG
  • Country:

Posted 11 June 2023 - 04:49 AM

Hi guys,

I'm wondering if it's possible to add the 2 lines to an activity file that make the AI traffic blow it's horn at crossings when it's a TIMETABLE activity? The format on timetable acts is completely different and there's no obvious place to add these 2 files. ORTSAIHornAtCrossings ( 2 )
ORTSAICrossingHornPattern ( US )

#2 User is offline   roeter 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,426
  • Joined: 25-October 11
  • Gender:Male
  • Country:

Posted 12 June 2023 - 12:47 AM

No, that's not possible. Timetable mode does not have a definition file, equivalent to the activity file, so there is just nowhere to put these lines.
Apart from that, the logic through which these whistles are activated (auxiliary actions) is not implemented in timetable mode.

Regards,
Rob Roeterdink

#3 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,039
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 12 June 2023 - 01:08 AM

Also, special waypoints, used in ORTS activities, are out of timetable mode functionality.
As it was stated in Manual: (at least for now) timetable mode in not a substitution of activity mode.
Both have own benefits, and, maybe one day, timetable mode could accept "scripts" for particular trains, but not in this era.

#4 User is offline   Niknak 

  • Conductor
  • Group: Status: First Class
  • Posts: 280
  • Joined: 19-July 20
  • Gender:Male
  • Location:Kent UK
  • Simulator:OR NewYear MG
  • Country:

Posted 12 June 2023 - 01:12 AM

Thanks guys. Sadly the answer was what I suspected.

#5 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,039
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 12 June 2023 - 01:14 AM

Let's hope, and think, what cAn we do personally for improving that.
That could help Robert. Quantity to quality.

#6 User is offline   Aldarion 

  • Engineer
  • PipPipPipPipPip
  • Group: ET Owner
  • Posts: 630
  • Joined: 11-February 13
  • Gender:Male
  • Location:Lisbon, Portugal
  • Simulator:Open Rails
  • Country:

Posted 12 June 2023 - 05:47 AM

i might add recently, actually, last week, I was able to add Ai train horn when trains meet, in timetable mode. This was possible following a thread by Carlo Santucci where this was discussed along the train horn sounding at train departure. sadly it appears that the later does not work in timetable mode.

#7 User is offline   Niknak 

  • Conductor
  • Group: Status: First Class
  • Posts: 280
  • Joined: 19-July 20
  • Gender:Male
  • Location:Kent UK
  • Simulator:OR NewYear MG
  • Country:

Posted 12 June 2023 - 08:52 AM

View PostAldarion, on 12 June 2023 - 05:47 AM, said:

i might add recently, actually, last week, I was able to add Ai train horn when trains meet, in timetable mode. This was possible following a thread by Carlo Santucci where this was discussed along the train horn sounding at train departure. sadly it appears that the later does not work in timetable mode.



That sounds very interesting. I missed that thread. I would ask if it's a complicated procedure as my expertise is somewhat limited! :)

#8 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 7,039
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 12 June 2023 - 02:04 PM

Not too complex.
Some new triggers for producing sounds, when train is not-player's.
Will search a link for You...
http://www.elvastowe...post__p__216060
From that post and downwards.

#9 User is offline   Niknak 

  • Conductor
  • Group: Status: First Class
  • Posts: 280
  • Joined: 19-July 20
  • Gender:Male
  • Location:Kent UK
  • Simulator:OR NewYear MG
  • Country:

Posted 12 June 2023 - 11:54 PM

Many thanks Weter.

#10 User is offline   Aldarion 

  • Engineer
  • PipPipPipPipPip
  • Group: ET Owner
  • Posts: 630
  • Joined: 11-February 13
  • Gender:Male
  • Location:Lisbon, Portugal
  • Simulator:Open Rails
  • Country:

Posted 13 June 2023 - 04:35 AM

Weter, thanks for locating the thread.

Right now my oown solution totally based on Carlo's is this:

                        Stream (
                                Skip (**** ORTS AI: horn at train meet ***************************************)
                                Priority ( 7 )
                                Triggers ( 4
                                        Initial_Trigger ( DisableTrigger ( 3 ) )
                                        Discrete_Trigger ( 320 EnableTrigger ( 3 ) )
                                        Variable_Trigger ( Distance_Dec_Past 100.0 PlayOneShot ( 6 File ( "x_2600buzina3.wav" -1 ) File ( "x_2600buzina4.wav" -1 ) File ( "x_2600buzina5.wav" -1 ) File ( "x_2600buzina6.wav" -1 ) File ( "x_2600buzina7.wav" -1 ) File ( "2600buzina8.wav" -1 )  SelectionMethod ( RandomSelection ) ) )
                                        Variable_Trigger ( Distance_Dec_Past 35.0 DisableTrigger ( 3 ))
                                )
                                VolumeCurve(
                                        SpeedControlled
                                        CurvePoints ( 5
                                                -100.0 1.0
                                                -2.0 1.0
                                                0 0.0
                                                2.0 1.0
                                                100.0 1.0
                                        )
                                        Granularity ( 0.1 )
                                )
                        )


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users