Page 1 of 2

help with sounds.

Posted: Sat Oct 25, 2014 6:51 am
by Alvin Risk
Hey!
Editor have a new layer , this Sounds..
And how to use it? :)

Re: help with sounds.

Posted: Sat Oct 25, 2014 10:16 am
by Gridwyn
Ставишь слой добавляешь звук и всё :O Ладно я тоже не понял

Re: help with sounds.

Posted: Sat Oct 25, 2014 10:38 am
by Alvin Risk
Было бы всё так просто :)

Re: help with sounds.

Posted: Sat Oct 25, 2014 10:53 am
by Gridwyn
У меня получились какие-то звуки:)

Re: help with sounds.

Posted: Sat Oct 25, 2014 12:05 pm
by deen
I hope someone can make a tutorial. The basic idea is:
  • It works the same as Images, except with wavpack (.wv) files.
  • To createa a wavpack file, first convert it to wave (.wav). Then use the wavpack frontend and choose hybrid compression: http://members.home.nl/w.speek/wavpack.htm
  • You probably need WavPack Win32 as well: http://www.wavpack.com/downloads.html
    If you prefer commandline, use this: wavpack -b25 file.wav
  • Copy the .wv file to data/mapres.
  • Add it in the editor.
  • Create layers with it.
I think the wavpack files are still too big, so the plan right now is to add a smaller codec (opus).

Re: help with sounds.

Posted: Sat Oct 25, 2014 2:18 pm
by timakro
what about a mapping tutorial site deen? my automapper tuto is done.

Re: help with sounds.

Posted: Sun Oct 26, 2014 8:23 pm
by unsigned char*
What is this feature?? any video for see in action?

-------------

Ok! i see in the editor... nice feature ;) keep up the good work! but be nice if include default songs for not embebbed it

Re: help with sounds.

Posted: Sun Oct 26, 2014 9:38 pm
by deen
unsigned char* wrote:What is this feature?? any video for see in action?

-------------

Ok! i see in the editor... nice feature ;) keep up the good work! but be nice if include default songs for not embebbed it
Yes, someone has to create a list of sounds that we can distribute with ddnet client.

http://www.hitbox.tv/video/298624

Re: help with sounds.

Posted: Sun Oct 26, 2014 11:03 pm
by imp
If you are going to implement some sound feature, can you also implement timers with which you can control animations?
Reach trigger -> animation starts

Re: help with sounds.

Posted: Sun Oct 26, 2014 11:30 pm
by deen
imp wrote:If you are going to implement some sound feature, can you also implement timers with which you can control animations?
Reach trigger -> animation starts
Not easily. Switches are server-only features, client doesn't know about them. Animations/images/sounds are client-only, the server doesn't know about them.