Odd Audio Question

Odd Audio Question

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Voidranaut
Posts: 47
Joined: 20 Dec 2009, 21:16

Odd Audio Question

Post by Voidranaut »

the probleam:

I made a unit that speaks a little when you select him

but his sound bits are a few seconds long

this means when I click on him and give him an order quickly he starts two audio frases without letting the first one finish

so it sounds like a bit of garbage as he talks over himself if I dont wait for the talking to end before giveing him the next command

so here is my question:

is there any way to make do a signal mask for audio to make him NOT speak tell his last spoken frase is finished? (I assume this is possible since Warcraft, starcraft, and just about every other rts out there works like that)

any info or segjested places to look for answers would be very appriciated

thanks for your time :)
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Odd Audio Question

Post by Argh »

Use Lua to intercept those events and handle playing the sounds in a smarter way.
Voidranaut
Posts: 47
Joined: 20 Dec 2009, 21:16

Re: Odd Audio Question

Post by Voidranaut »

aaa that makes seance

thank you :)

currently I am trying to find a list of lua audio commands

but so far my key word searches have been turning up nil

is there any good places to look for a complete audio commands list?

(sorry I dont know the file structure well enough to just look them up in the game folders yet)

again thanks for taking the time to read and respond :)
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Odd Audio Question

Post by CarRepairer »

http://trac.caspring.org/browser/trunk/ ... noises.lua

http://trac.caspring.org/browser/trunk/ ... voices.lua

Also, you should put these types of questions in the Games and Mods forum because you're asking for help in developing a game.
Voidranaut
Posts: 47
Joined: 20 Dec 2009, 21:16

Re: Odd Audio Question

Post by Voidranaut »

oh I see sorry I will put my quarry in the right area next time

and thanks for the info :)
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: Odd Audio Question

Post by Tribulex »

sounds awesome what kinds of things does he say?
Post Reply

Return to “Help & Bugs”