.
Results 1 to 13 of 13

Thread: Is there a non global whistle command/script ?

  1. #1
    Join Date
    Nov 2006
    Location
    Australia, NSW, Katoomba
    Posts
    845
     

    Default Is there a non global whistle command/script ?

    I am trying to add whistle commands to Driver Setup. I found and downloaded the command "Guards whistle" kuid:165221:1092. Unfortunately the resulting whistle sound is global, ie. a guards whistle from a train at one end of the route can be heard all over the route.

    Can someone point me to a guards whistle that can be issued as a driver command, and which is heard only locally?
    Phil
    WeddinNSW V4 for TRS2019 now on the DLS.

  2. #2
    Join Date
    Nov 2006
    Location
    Australia, NSW, Katoomba
    Posts
    845
     

    Default

    Not to worry. I think I have fixed the script, and the original author allows modification and redistribution so I will upload to the DLS after some more testing.
    Last edited by FootplatePhil; September 27th, 2019 at 04:29 PM.
    Phil
    WeddinNSW V4 for TRS2019 now on the DLS.

  3. #3

    Default https://forums.auran.com/trainz/member.php?412211-shebashetan7

    FootplatePhil


    Sir you might also check with

    https://forums.auran.com/trainz/memb...1-shebashetan7

    He does a lot of Asset work with Whistles and stuff and very knowledgeable too........

  4. #4
    Join Date
    Nov 2006
    Location
    Australia, NSW, Katoomba
    Posts
    845
     

    Default

    Thanks Blue, I think I've got it working, with whistle fading away at about 1km distance.
    Phil
    WeddinNSW V4 for TRS2019 now on the DLS.

  5. #5

    Thumbs up

    Welcome my Friend, good to hear that........Nothing like a good sounding Whistle...........

  6. #6
    Join Date
    Nov 2006
    Location
    United States of America, California, Port Hueneme
    Posts
    1,784
     

    Default

    Quote Originally Posted by FootplatePhil View Post
    Not to worry. I think I have fixed the script, and the original author allows modification and redistribution so I will upload to the DLS after some more testing.
    Has it been uploaded yet? I may have missed it, if so, what date? Thank you.

  7. #7
    Join Date
    Nov 2006
    Location
    Australia, NSW, Katoomba
    Posts
    845
     

    Default

    Quote Originally Posted by llebrez View Post
    Has it been uploaded yet? I may have missed it, if so, what date? Thank you.
    Sorry, no. I was planning to upload it along with some other stuff I am working on, and the session I wanted it for.

    I will upload it now.
    Phil
    WeddinNSW V4 for TRS2019 now on the DLS.

  8. #8
    Join Date
    Nov 2006
    Location
    Australia, NSW, Katoomba
    Posts
    845
     

    Default

    The "Guards Whistle Near" driver command is now available on the DLS.
    Phil
    WeddinNSW V4 for TRS2019 now on the DLS.

  9. #9
    Join Date
    Nov 2006
    Location
    United States of America, California, Port Hueneme
    Posts
    1,784
     

    Default

    Quote Originally Posted by FootplatePhil View Post
    The "Guards Whistle Near" driver command is now available on the DLS.
    Downloaded the command. It shows "Faulty", and the error is: The tag properties-behavior is not permitted on driver command. I deleted that line and it shows no fault. But the whistle still can be heard in the distance. Just in case you ask, I deleted the "old one" completely to try this one.

  10. #10
    Join Date
    Nov 2006
    Location
    Australia, NSW, Katoomba
    Posts
    845
     

    Default

    Quote Originally Posted by llebrez View Post
    Downloaded the command. It shows "Faulty", and the error is: The tag properties-behavior is not permitted on driver command. I deleted that line and it shows no fault. But the whistle still can be heard in the distance. Just in case you ask, I deleted the "old one" completely to try this one.
    I have no explanation. It works fine for me on two different computers, and displays no errors in TRS2019 (build 1002400) Content Manager. However, if I take the 'properties-behavior' tag out and 'Submit' the updated asset it subsequently displays a warning saying the tag is missing. According to the Trainz wikki 'properties-behavior' is supported for kind 'drivercommand'. http://online.ts2009.com/mediaWiki/i..._Drivercommand

    EDIT 1: I have just downloaded it to TANE build 94829, and in TANE it shows the tag error you are experiencing. I will set up a session in TANE and see if it works.

    EDIT 2: After correcting the TANE tag issue I have tested in a session. With my PC volume set to a lowish/medium level the whistle is audible near the train, but only barely audible 1.5 kms away. If I go far enough from the train so that its horn becomes inaudible, then the whistle is also inaudible. But it looks like I may need upload a revision with trainz-build set to 4.6 (TRS2019).



    Is there anyone out there (besides me) who has got it to work ?
    Last edited by FootplatePhil; October 6th, 2019 at 05:39 AM.
    Phil
    WeddinNSW V4 for TRS2019 now on the DLS.

  11. #11
    Join Date
    Nov 2006
    Location
    Australia, NSW, Katoomba
    Posts
    845
     

    Default

    I have uploaded a modified version of "Guards Whistle Near". I removed the 'properties-behavior' tag, so the asset will now install without error in both TANE and TRS2019, although in TRS2019 it now has a warning message if you 'View Errors and Warnings' in Content Manager. The warning does not appear to affect operation, and for me it functions correctly in both versions. Judging from the lack of feedback to the contrary, it may be that I am the only one for which that is the case .

    The updated version should be available within 24 hrs.
    Last edited by FootplatePhil; October 6th, 2019 at 07:14 PM.
    Phil
    WeddinNSW V4 for TRS2019 now on the DLS.

  12. #12
    Join Date
    Nov 2006
    Location
    United Kingdom
    Posts
    564
     

    Default

    Hi Phil

    Finally got it to work.

    I had two other instances of Guards Whistle installed, one status installed which I deleted and one status Built in Payware which I had to disable before yours would work.

    But got there in the end. And works perfectly, thank you.

    Peter

  13. #13
    Join Date
    Nov 2006
    Location
    Australia, NSW, Katoomba
    Posts
    845
     

    Default

    Thanks for letting me know. I was feeling a little discouraged.
    Last edited by FootplatePhil; October 7th, 2019 at 02:56 AM.
    Phil
    WeddinNSW V4 for TRS2019 now on the DLS.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •