If you have trouble registering or do not receive a verification e-mail, please ask for help in chat.

Bind with "voice"

Talk about anything related to Unvanquished.
Marietto
Posts: 18
Joined: Fri Apr 09, 2021 4:10 pm UTC

Bind with "voice"

Postby Marietto » Thu Jul 08, 2021 5:18 pm UTC

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?
User avatar
illwieckz
Project Head
Posts: 567
Joined: Sat Aug 11, 2012 7:22 pm UTC
Location: France
Contact:

Re: Bind with "voice"

Postby illwieckz » Fri Jul 09, 2021 12:55 pm UTC

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?


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 :grin:)…

Note: I moved the thread in General. The Assets & Artwork forum is for tracking and reviewing work-in-progress asset production. :wink:
This comment is licensed under cc ​​by 4 and antecedent.
User avatar
freem
Marauder
Posts: 163
Joined: Mon Feb 11, 2013 1:02 pm UTC

Re: Bind with "voice"

Postby freem » Fri Jul 09, 2021 7:26 pm UTC

Interestingly, there's already several voice stuff done. Here is a list of the aliens voices:

Code: Select all

attacking.ogg
attack.ogg
backup.ogg
basestatus.ogg
builders.ogg
building.ogg
clearthepath.ogg
defending.ogg
defend.ogg
eggs.ogg
enemyisnear.ogg
enemynodesdown.ogg
enemyspawnsdown.ogg
enemyterritory.ogg
fallback.ogg
fixbase.ogg
flank.ogg
following.ogg
followme.ogg
gogogo.ogg
grangers.ogg
grenade.ogg
holdback.ogg
holdposition.ogg
incoming.ogg
moveup.ogg
needbasi.ogg
needhealth.ogg
no.ogg
rebuildbase.ogg
regroup.ogg
repairbase.ogg
reportingin.ogg
silence.ogg
sorry.ogg
spawns.ogg
stayalert.ogg
stayalive.ogg
stayfocused.ogg
sticktogether.ogg
thanks.ogg
yes.ogg


I think a circle menu to play some of those would be really nice actually, and it seems most of the resources are already there :)
User avatar
Gireen
Graphic Designer
Posts: 254
Joined: Wed Mar 07, 2012 1:26 pm UTC
Location: Germany
Contact:

Re: Bind with "voice"

Postby Gireen » Sat Jul 10, 2021 9:04 am UTC

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

Code: Select all

neutral = {
#{"command","displayname"},
{"yes","Yes"},
{"followme","Follow me"}
}
fear ma engrish :granger:
User avatar
illwieckz
Project Head
Posts: 567
Joined: Sat Aug 11, 2012 7:22 pm UTC
Location: France
Contact:

Re: Bind with "voice"

Postby illwieckz » Sat Jul 10, 2021 10:24 am UTC

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`.
This comment is licensed under cc ​​by 4 and antecedent.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests