Notifications
Clear all

[Solved] doors and doors sounds

5 Posts
2 Users
1 Reactions
13 Views
Af6c07ad0787c54c92133d82b80d45e01e555335c339622b7ae9ef014f9c796d?s=80&d=mm&r=g
(@chris)
Eminent Member
Joined: 2 months ago
Posts: 16
Topic starter   [#55]

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 



   
Quote
Farshad
(@farshad)
DEVELOPER Admin
Joined: 4 months ago
Posts: 262
 

Posted by: @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.

 


This post was modified 1 day ago 3 times by Farshad

   
ReplyQuote
Af6c07ad0787c54c92133d82b80d45e01e555335c339622b7ae9ef014f9c796d?s=80&d=mm&r=g
(@chris)
Eminent Member
Joined: 2 months ago
Posts: 16
Topic starter  

@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


This post was modified 23 hours ago by Chris

   
ReplyQuote
Farshad
(@farshad)
DEVELOPER Admin
Joined: 4 months ago
Posts: 262
 

@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. 👍



   
ReplyQuote
Af6c07ad0787c54c92133d82b80d45e01e555335c339622b7ae9ef014f9c796d?s=80&d=mm&r=g
(@chris)
Eminent Member
Joined: 2 months ago
Posts: 16
Topic starter  

@farshad thank you so much appreciate it also i am very excited about the project i am working on i am keeping it a secret for now but if not for this framework the idea i had would not have been possible so thank you



   
Farshad reacted
ReplyQuote
Share: