How to add a custom starter sound

Discussion in 'Programming' started by LeonCarsxD, Apr 30, 2023.

  1. LeonCarsxD

    LeonCarsxD
    Expand Collapse

    Joined:
    Apr 9, 2021
    Messages:
    17
    Ive searched the wiki and tried following tutorials but none of them seem to cover the topic starter sounds. Are they that hard to do? Any help will be appreciated.
     
  2. MrRadYT

    MrRadYT
    Expand Collapse

    Joined:
    Jan 18, 2023
    Messages:
    200
  3. Snooplion

    Snooplion
    Expand Collapse

    Joined:
    Mar 22, 2015
    Messages:
    5
    I have been trying to implement custom starter sounds to an engine that is based off the Barstow v8. I replaced the starter motor lines with the properties defined by the wiki page and assigned the loop duration and sample directory in the engines .jbeam. But after this and even and game restart, the engine will make the default vanilla starter sound.

    My sound files are located in: [mod]/art/sound/engine_starter/...

    "mainEngine":{
    "starterStartSample" : "file:>art>sound>engine_starter>jnk_start.ogg",
    "starterLoopSample": "file:>art>sound>engine_starter>jnk_start_loop.ogg",
    "starterStartVolume": 1,
    "starterLoopVolume": 1,
    "starterStartPitch": 0,
    "starterLoopPitch": 0,
    "starterLoopTime": 0.55,
    }
     
    #3 Snooplion, May 9, 2023
    Last edited: May 9, 2023
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice