AI Horns | Train Sim Classic Scenario Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 17

  • @hamster_cheeks
    @hamster_cheeks ปีที่แล้ว +3

    Adam, you are 'The Lord of the Rails'

  • @Sami_xo
    @Sami_xo ปีที่แล้ว +2

    I've been wanting a video like this for ages!

  • @TheBeeMan1994
    @TheBeeMan1994 ปีที่แล้ว +2

    This is pretty cool, thanks for sharing!

    • @TheBeeMan1994
      @TheBeeMan1994 ปีที่แล้ว

      Also, Control List Dialog will work in fullscreen if you have multiple monitors

  • @ABiyela15
    @ABiyela15 ปีที่แล้ว +2

    Helped alot

  • @FD-ze1xg
    @FD-ze1xg ปีที่แล้ว +1

    Great tutorial! Can I have the Lua file already compiled? Thank you very much!

  • @DriverReg455864
    @DriverReg455864 ปีที่แล้ว

    Hi Adam, This is a really great video and one I have been after for a while. However, for some unknown reason, I still cannot get the trains in my scenarios to sound their horns even though I have followed this video to the letter!

    • @adamhaigh9947
      @adamhaigh9947  ปีที่แล้ว

      which train are you using?

    • @DriverReg455864
      @DriverReg455864 ปีที่แล้ว

      @@adamhaigh9947 I've tried several, the HST, the 411, 456 and even tried the 156

    • @adamhaigh9947
      @adamhaigh9947  ปีที่แล้ว +1

      Make sure in your SysCall() for the horn's control value, make sure you're using the leading vehicle's number.
      And make sure the name of the trigger and the string in your if() statement are exactly the same (i.e. they're case sensitive).
      Make sure to also save and recompile your Lua code too.

    • @DriverReg455864
      @DriverReg455864 ปีที่แล้ว

      @@adamhaigh9947 I always copy the lead vehicle and the trigger name into the lua file and I've always saved the lua, then reloaded it and compiled it in TS.
      I've managed to get it working on one route but then it doesn't always work on other routes, even though I used the same template. Is there a limit to the amount of trains you can add horns to in one scenario?

    • @adamhaigh9947
      @adamhaigh9947  ปีที่แล้ว

      I've only ever triggered horns on one AI train per scenario; not sure about any limits.

  • @FD-ze1xg
    @FD-ze1xg ปีที่แล้ว

    Not working for me! Can i have the lua file please?

    • @adamhaigh9947
      @adamhaigh9947  ปีที่แล้ว +1

      The source code is in the video. Did you save and recompile?

    • @FD-ze1xg
      @FD-ze1xg ปีที่แล้ว

      @@adamhaigh9947 I solved now! My code is different in my lua. Thks for idea!