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 :)
Odd Audio Question
Moderator: Moderators
Re: Odd Audio Question
Use Lua to intercept those events and handle playing the sounds in a smarter way.
-
- Posts: 47
- Joined: 20 Dec 2009, 21:16
Re: Odd Audio Question
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 :)
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 :)
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Odd Audio Question
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.
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.
-
- Posts: 47
- Joined: 20 Dec 2009, 21:16
Re: Odd Audio Question
oh I see sorry I will put my quarry in the right area next time
and thanks for the info :)
and thanks for the info :)
Re: Odd Audio Question
sounds awesome what kinds of things does he say?