Modding Help Door sound effect replacing

Discussion in 'Starbound Modding' started by IronX5000, Oct 14, 2022.

  1. IronX5000

    IronX5000 Scruffy Nerf-Herder

    Hello! I'm trying to replace the sound effect of the Fragments of the Ruin's ship door with something more fitting.

    This is the part that needs to be patched:
    Code:
    "animationCustom" : {
        "sounds" : {
          "open" : {
            "pool" : [ "/sfx/objects/apexcooldoor_open.ogg" ],
            "rangeMultiplier" : 0.5
          },
          "close" : {
            "pool" : [ "/sfx/objects/apexcooldoor_close.ogg" ],
            "rangeMultiplier" : 0.5
          }
        }
      }
    So I created a patch like this:
    Code:
    [
      {
        "op": "replace",
        "path": "/animationCustom/sounds/open",
        "value": {
          "pool": [
          "/sfx/objects/fleshdoor_open.ogg"
          ]
        }
      },
      {
        "op": "replace",
        "path": "/animationCustom/sounds/close",
        "value": {
          "pool": [
          "/sfx/objects/fleshdoor_close.ogg"
          ]
        }
      }
    ]
    
    But upon closing the door I still have the old sound and upon opening it The game froze and I got this error:
    [10:13:56.874] [Error] Exception caught in client main-loop
    (AssetException) Path 'sfx/objects/fleshdoor_open.ogg' must be absolute

    I tried doing it like this:
    Code:
    [
      {
        "op": "replace",
        "path": "/animationCustom/sounds/open/pool/0",
        "value": "/sfx/objects/fleshdoor_open.ogg"
      },
      {
        "op": "replace",
        "path": "/animationCustom/sounds/close/pool/0",
        "value": "/sfx/objects/fleshdoor_close.ogg"
      }
    ]
    
    To no avail.

    I'm not sure where the problem is. Any ideas?

    EDIT: OK, so the after noticing that the patch worked perfectly upon using the "vanilla ship" option I understood that the problem was with FU's BYOS. Adding a Blockkey.config.patch to FU BYOS patch mod solved the problem.
     
    Last edited: Oct 14, 2022

Share This Page