hey all hope u are well this might be some tiny thing i am just not getting i wanted to make a new door in this case its a fence with a hole in it and i wanted to add a sound for the player climbing through but even though i have the new fence/door and i assigned the sounds it still plays the generic door sound can you please direct me where i need to go or what i need to change in order for this to play the sound i assigned
thank you regards
chris
hey all hope u are well this might be some tiny thing i am just not getting i wanted to make a new door in this case its a fence with a hole in it and i wanted to add a sound for the player climbing through but even though i have the new fence/door and i assigned the sounds it still plays the generic door sound can you please direct me where i need to go or what i need to change in order for this to play the sound i assigned
thank you regards
chris
Hey Chris, If you want the door to use a cutscene, we have a data table for that. Open DT_Platforms and you'll find the sound settings there.
We also explain how to create and set up cutscenes in both the documentation and the tutorial series, so it may be worth reviewing those sections as well.
If you don't want the door to use a cutscene, you can change the sounds directly in AC_Interact, as shown in the screenshot I provided. At the moment, there is a general sound file in there. For this situation, if you'd like each door to have its own unique sound, you could add an enum or another variable and use a selector to determine which sound should play for each door.
If there's anything else you need help with, let me know. I would be happy to help.
@farshad ahh i thank you couldnt wrap my head around it lol i thought there must be a sound added somewhere just couldnt find it i did check the data table but im not using the cutscene i would like to use them but my pc as far as i can see need to render the cutscene i might be wrong...or can i just make a cutscene sequence like any other using sequencer...but it doesnt matter to much i am just trying to change the sound the door without cutscene works well enough thank you for advice appreciate it....actually i had a look there i dont actually know how to add variables with a selector is ist possible to show me how to do this
@chris A simple way to do this is to go into the BP_Platform class and create a variable of type Sound Base, then make it Instance Editable (Expose to the Editor).
After that, go to the same place I showed you in AC_Interact, get that variable, and connect it to the Play Sound 2D node.
Finally, select the door in your level and assign any sound you want to that variable. This way, each door can have its own custom sound. 👍