Author Topic: entity sounds  (Read 156 times)

ponderitus

  • Newbie
  • *
  • Posts: 25
    • View Profile
entity sounds
« on: May 13, 2017, 07:31:09 pm »
Does anyone know where the code is which selects the sounds entities make? I want to change the noise the chest makes when opening, I know how to change it for a chest on a map (as below), but i wanted to change all the sounds from the Alttp ones, like I also want to change the noise a block makes when pushed and so on.

function chest:on_opened()
  sol.audio.play_sound("chest_small")
end

MetalZelda

  • Sr. Member
  • ****
  • Posts: 499
    • View Profile
Re: entity sounds
« Reply #1 on: May 13, 2017, 10:23:09 pm »
Just replace the sounds in /sounds, else if you want to have more sounds, you have to go through custom entities

ponderitus

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: entity sounds
« Reply #2 on: May 13, 2017, 11:16:44 pm »
cheers man, that was my quick fix, just rename my files to be named the same and delete the old ones