Bind with "voice"
Bind with "voice"
I don't know if I imagined it, but in an alien game I heard a bind "Incoming!" said with a particular voice (on the subject with aliens as sound). Is such a thing possible? Associate a bind with a sound?
Re: Bind with "voice"
Yes we have some vsay command, you may investigate the vsay command in the console. Maybe one day we will do a circle menu for them (don't hold your breath though )…Marietto wrote:I don't know if I imagined it, but in an alien game I heard a bind "Incoming!" said with a particular voice (on the subject with aliens as sound). Is such a thing possible? Associate a bind with a sound?
Note: I moved the thread in General. The Assets & Artwork forum is for tracking and reviewing work-in-progress asset production.
This comment is licensed under cc by 4 and antecedent. The Crunch tool is awesome!
- Gireen
- Graphic Designer
- Posts: 295
- Joined: Wed Mar 07, 2012 1:26 pm UTC
- Clan: [DoH]
- Location: Germany
- Contact:
Re: Bind with "voice"
As said on irc it doesn't require much programming skills to add this function. One need only some dedication.
What needs to be done is:
[*]create a lua table of all voice commands and what text should be displayed for them, maybe separated by neutral,aliens and humans
[*]copy the beaconmenu and modify it to use said table instead of beacons
format for the table would look like
What needs to be done is:
[*]create a lua table of all voice commands and what text should be displayed for them, maybe separated by neutral,aliens and humans
[*]copy the beaconmenu and modify it to use said table instead of beacons
format for the table would look like
Code: Select all
neutral = {
#{"command","displayname"},
{"yes","Yes"},
{"followme","Follow me"}
}
fear ma engrish
Re: Bind with "voice"
Also we reserved the v key for the voice menu, so one may want to edit the input presets there to uncomment the relevant lines:
github.com/UnvanquishedAssets/unvanquished_src.dpkdir/tree/master/presets/input
given the related action would be named `voiceMenu`.
github.com/UnvanquishedAssets/unvanquished_src.dpkdir/tree/master/presets/input
given the related action would be named `voiceMenu`.
This comment is licensed under cc by 4 and antecedent. The Crunch tool is awesome!