How do I add sound to an animation?
Moderator: Moderators
-
SkinnyODST
- Lieutenant Colonel

- Posts: 545
- Joined: Mon Jul 04, 2016 10:56 pm
- Location: My other account
- Contact:
How do I add sound to an animation?
I made a take off animation for the rep LAAT Gunship and I am really happy with it, but it`s kind of boring as there`s no sound. I want it to have 2 sounds, one for when it takes off and one for when it fly's away. If you could help me out with it that would be AWESOME.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: How do I add sound to an animation?
take a look at the odf file. i'm sure there will be something like takeoffsound
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: How do I add sound to an animation?
Flyer-related sound parameters aren't going to work with ZE-animated props. The best way to go about doing this is to play the sound via lua using the function ScriptCB_SndPlaySound. You might want to synchronize a timer with your animation so that the sound plays at the right moment.
-
SkinnyODST
- Lieutenant Colonel

- Posts: 545
- Joined: Mon Jul 04, 2016 10:56 pm
- Location: My other account
- Contact:
Re: How do I add sound to an animation?
Ok, I hope i`m not being annoying but how would I go about doing that? I`ve never dealt with this kind of stuffAQT wrote:Flyer-related sound parameters aren't going to work with ZE-animated props. The best way to go about doing this is to play the sound via lua using the function ScriptCB_SndPlaySound. You might want to synchronize a timer with your animation so that the sound plays at the right moment.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: How do I add sound to an animation?
You learn new things by starting out with the basics and gradually combining the different concepts so that they achieve the effect you want. In this case, you want to create a timer that, once elapses, plays a custom takeoff sound at the same exact moment your ship prop takes off in your custom animation.
When looking over the FAQ topic (which I recommend you bookmark or something), use the Ctrl + F key combination to search for the key words to the topics with which you need help.[b][color=#FF8000]The FAQ / Everything You Need Thread Version 3.0[/color][/b] wrote:...
LUA
... ...
Sound ...
