don’t know much about blueprints but in this video tutorial the guy shows what I want except it’s for a car, and not for a flying craft, but it’s in russian lol
+) Add an Audio component to your flying craft blueprint.
+) Add 3 audio cue variable to hold the file path to your sound option.
+) A variable to know which state your flying craft are in(idle, mid, max)
Then based on the state variable, you get the suitable audio cue variable and assign it to the audio component’s audio cue.
Thank you very much for your help, I was hoping for a picture example of how it would look in the blueprint or , I’ve added the audio component to my flying ship, i’ve added the wav files in unreal engine, I know how to attach single sound to the aircraft but that’s as far as i got without watching or seeing someone else do it,
Well, right now I can’t use unreal engine so I can’t give you a picture example. Either you have to wait for someone else to do it, or until I get home in 7 more hours =w=
Sorry for the delay. Anyway, first you need to set up 3 sound cue variable, and make sure you assign the correct sound cue to each variable default value, idle sound cue to idleSoundCue variable,… Then next you need to add 1 audio component your blueprint. Finally, set up a function that update your engine sound based on your speed, which can either be a float value or enum,…
When did you call Update engine audio function? That function need to be call whenever you update your speed. At the moment, you can tried to drag it out in Event graph and connect it to begin play node.
You need a cue with a “Crossfade by param” node. Add one input for each available sound.
Then in an actor with an AudioComponent: 1) set the audio component to use your cue, 2) On the tick event call “Set Float Parameter” to your component.
Well, I will look into it when I get back home. Until then, let us just leave it just like that, thankfully it is not gonna get in the way of your other work
like you said I just have to mess with the settings, but the engine power variable is set to 80,000 should I use that as a base for the values for crossfade in/out?