Assist request with AI Horn Blowing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • csantucci
    Senior Member
    • Nov 1999
    • 856
    • Torino, Italy.

    #16
    The same here: horn is blown and train passes signal. By the way it probably couldn't be otherwise, because looking at the sigscr.dat and sigcfg.dat files there is no signal having a STOP state. Neil, maybe you have different sigscr.dat and sigcfg.dat files? Could you attach them?
    sigpic

    Comment

    • csantucci
      Senior Member
      • Nov 1999
      • 856
      • Torino, Italy.

      #17
      The just appeared OR NewYear MG rev. 86 adds a new feature for AI train horn blows: the horn blow sequence (long honk - long honk - short honk - very long honk) as usual in the USA.
      To get this horn blow sequence there are two different possibilities, like now for the single blow:

      - inserting line
      Code:
      		ORTSAIHornAtCrossings ( 2 )
      in .act files after line
      Code:
      		NextActivityObjectUID ( 32768 )
      will cause the AI trains to generate a sequence of horn blows before railroad crossings;
      - inserting a WP with value of 60021 in a path will cause the AI train to generate a sequence of horn blows after that WP.
      sigpic

      Comment

      • niknak
        1000 Post Veteran


        • Nov 1999
        • 1254
        • UK.
        • MSOR

        #18
        Hmm wonder if that works on the latest testing version too..
        Regards,

        Nick

        ( ' boffin0_reprised ' on TikTok )




        Cyberpower Desktop with AMD Ryzen 5 CPU /. 16GB RAM /. ATI AMD Radeon RX6700 12GB graphics /. Windows 11 Home 64bit /. RailDriver /. Partridge in a pear tree....​

        Comment

        • niknak
          1000 Post Veteran


          • Nov 1999
          • 1254
          • UK.
          • MSOR

          #19
          To answer my own question - No, just the same single blow. Must get around to installing MG soon...
          Regards,

          Nick

          ( ' boffin0_reprised ' on TikTok )




          Cyberpower Desktop with AMD Ryzen 5 CPU /. 16GB RAM /. ATI AMD Radeon RX6700 12GB graphics /. Windows 11 Home 64bit /. RailDriver /. Partridge in a pear tree....​

          Comment

          • qballbandit
            6500 Post Veteran

            • Jan 2006
            • 6522
            • Elgin Il., USA.
            • MSOR

            #20
            Thanks all, just getting back to seeing the replies.
            First, yes - there is one difference between my route and the one released to the public - mine is signaled, so there would be different scripts. That said, is it worth me looking at the above attachments, or would you like to see my scripts?
            And Carlo - I need to go get that latest version of MG, as the long/long/short/long sounds fantastic!
            Hope you all had a pleasant New Year.
            Neil

            Chicago Railroading Fan

            Comment

            • csantucci
              Senior Member
              • Nov 1999
              • 856
              • Torino, Italy.

              #21
              IMPORTANT NOTICE: Due to an error, I didn't upload the right version of OR NewYear MG. People having downloaded OR NewYear MG rev. 86 up to the time of this post are kindly requested to download again.
              sigpic

              Comment

              • csantucci
                Senior Member
                • Nov 1999
                • 856
                • Torino, Italy.

                #22
                Neil,
                if your route is signalled, not only sigscr.dat will be different; I assume that also sigcfg.dat, the .tdb and the .rdb files, the .w files will be different, and there would probably be additional signal shapes and textures. Or have you only modified the script?
                sigpic

                Comment

                • qballbandit
                  6500 Post Veteran

                  • Jan 2006
                  • 6522
                  • Elgin Il., USA.
                  • MSOR

                  #23
                  It would all be different - a good buddy signaled the route for me, as that stuff is way beyond my capability.
                  That said, do you think that adding a wait point would flag a absolute stop even though it's simply for the horn blow value?
                  I don't want to waste more of your time looking into it, I know you have better things to do, just curious if you have any further thoughts.
                  Neil

                  Chicago Railroading Fan

                  Comment

                  • csantucci
                    Senior Member
                    • Nov 1999
                    • 856
                    • Torino, Italy.

                    #24
                    Hi Neil,
                    of course the first thing that comes into mind is that such special WP influences the signal aspect, as standard WPs do. However this should not occur for this specific type of WP, and this is the first time I read of such a case, and in my test activity this does not occur. So I think this will remain an unresolved problem. Sorry for that.
                    sigpic

                    Comment

                    • qballbandit
                      6500 Post Veteran

                      • Jan 2006
                      • 6522
                      • Elgin Il., USA.
                      • MSOR

                      #25
                      No worries, and I appreciate your help. I'll continue to mess with it on my version, and if I resolve it - I'll post it here.
                      Neil

                      Chicago Railroading Fan

                      Comment

                      Working...