.
Help make Trainz: A New Era a Reality - Visit Kickstarter Now to find out more.
Results 1 to 5 of 5

Thread: Making The Doors Open and Close... each with their own sounds

  1. #1

    Default Making The Doors Open and Close... each with their own sounds

    Hi there,

    I recently tried to establish two different sounds for a train's doors in CCP.
    After trying to make a new sound compartment, and commit the changes, both opening and closing the doors were animated, anyhow... but NO SOUND on both when I gave it a test run/stop on Surveyor/QuickDriveF2.
    What I mean is, is that I met the doors, with door_open.wav for both opening and closing a passenger train's door. (it was repeated-delayed to 1.00000 unit).
    What i'm trying to establish now is that door_open.wav will be the sound for OPENING the doors upon arrival at a station... then establishing a new sound (doors_closing.wav) for when the doors close.
    Both .wav's are in the appropriate folder in order to make things easier

    To help you, help me...

    In each train editing folder is
    ...(name)/door_opening.wav
    ...(name)/door_closing.wav

    The door_closing.wav features the default door_open.wav but i'm so old skool with my Windows Sound Recorder, I recorded door chimes, saved it as itself, then created a new wav. file, where the sequence goes as this....

    Chimes.... then mixed in with door_open.wav (25% slower than the original), to create the new door_closing.wav sound file.

    Is there anyway I can get two sounds for each animation of opening and closing the doors?

    Cheers

    P.S. I went through the cloning and EDIT via CCP during the process.
    Last edited by TDE; September 14th, 2007 at 03:07 AM.

  2. #2
    Join Date
    Nov 2006
    Location
    Australia, Qld, Brisbane
    Posts
    275

    Default

    Hi TDE,

    Did you save the wave files as 16bit MONO files? Stereo files will not work at all.

    Cheers
    Sel

  3. #3

    Default

    Yea Motorman1066,

    I even fixed that issue as well and well.. it still goes on quietly opening and closing. I strongly believe it's a script and proceedure issue. I'm still rather new to all those behind the scenes stuff of CCP and such...

    Is there any other possibilities out there?

    If you need some screenshots, let me know, i'll email them. Somehow i can't post up photos here.

  4. #4
    Join Date
    Nov 2006
    Location
    Australia, Qld, Brisbane
    Posts
    275

    Default

    Could some kind moderator please move this thread to the Content Creation Support Forum with appropriate notification to the originator, of course? Thanks.


    Hi again TDE,

    Step 2. Have you created an appropriate event file and linked the file to the animation in gmax?

    Your

    config.txt
    dooropen.wav
    doorclose.wav
    doors.evt

    files should all co-exist in the root directory of the traincar asset in the trains sub-directory of your main custom directory.

    For a 30 frame animation, your evt file should look something like:

    1 Sound_Event /door_open
    2 Sound_Event door_open
    28 Sound_Event door_close
    29 Sound_Event /door_close

    In your config.txt file, the tag and values for the door animation should look something like:

    left-passenger-door
    {
    mesh TB01 body/doors/left_door.im
    anim TB01 body/doors/left_door.kin
    auto-create 1
    att a.doors
    att-parent default
    }

    and the same for any right hand doors.

    I hope this helps.

    Cheers
    Sel
    Last edited by motorman1066; September 14th, 2007 at 09:05 PM.

  5. #5

    Default

    Nah man.

    I haven't even tried such a program, I haven't gone that far yet, lol.

    I shall find it and use it and see what I can do.

    As for the config,txt. I'll look into it.


    P.S. I agree, my thread needs to go to a CCP-based site. Because just trying to find discussions in general mnuchless this one was a mission enough.
    Thanks
    Last edited by TDE; September 15th, 2007 at 03:56 PM.

Posting Permissions

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