1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.32 Bug Reporting thread
    Solutions and more information may already be available.

Custom sound problem for engine (playing both soundGroup and default)

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by MasterFluffy, Jan 30, 2017.

  1. MasterFluffy

    MasterFluffy
    Expand Collapse

    Joined:
    Jan 27, 2017
    Messages:
    91
    So I got my custom sounds to play for my engine.... but its also playing the default sound as well so it sounds terrible. I commented out the "default" sound and it does work correctly so I know this is the issue that its for some reason playing both sounds... I do need the default sound for the other default engines...

    In my custom engine jbeam file.... I do have the soundGroup...
    _______________________
    "engine":{
    "soundGroup":"diesel",
    },
    _______________________


    And here is my sbeam file...
    _______________________
    {
    "modifiers":[
    ["name", "source", "factor", "offset", "min", "max"],
    ["engine_throttle", "engineThrottle", 1, 0, 0.65, 1],
    ["turbo_throttle", "throttle", 0.5, 0, 0.1, 0.4],
    ],
    "sounds":[
    ["group", "filename", "profile", "nodeName", "source", and so on... ]
    ["default", "V8_default.ogg", "AudioDefaultLoop3D", "ENGINE", "rpm", and so on... ]
    ["default", "turbo_03.ogg", "AudioDefaultLoop3D", "ENGINE", "turboRpmRatio", and so on... ]
    ["diesel", "diesel_engine_idle.ogg", "AudioDefaultLoop3D", "ENGINE", "rpm", and so on... ]
    ["diesel", "diesel_engine_high.ogg", "AudioDefaultLoop3D", "ENGINE", "rpm", and so on... ]
    ["diesel", "diesel_startup.ogg", "AudioDefaultLoop3D", "ENGINE", "rpm", and so on... ]
    }
    _______________________

    Please let me know if you have any ideas of what I could be doing wrong here... thank you
     
  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