custom voice chat and mounting messages...

4 replies [Last post]
flaki
Offline
Joined: Jan 2013
Posts:

hello guys!
My clan is setting up an AW Freeze server with excessive + mod, so far very nice! But i have some quastions so i hope you could help me.
1. We would like to set custom made wav files for voice chat and mount them to own massages, is it possible to create them additionally?
2. Is it possible to execute wav files by rcon?
Basically we want to add a script for map voting. At the end of a game a voice is saying "vote now", similar to quake live.Thx,flaki

epsiplayer
THE ONE AND ONLY
intact-epsilon's picture
Offline
Joined: Dec 2006
Posts:
Re: custom voice chat and mounting messages...

From what i know/remember the voice chat commands in e+ are played from the client's PC.
The server can have different wav files but then the clients must have the same files too.

You can see on this likn the The wav files and how to use them
https://www.excessiveplus.net/documentation/client/communication

I'm not sure if this is possible.. if i remember correctly you can:
add a pk3 file with all new wav files you want to use.
The clients must download the pk3 file when they connect to your server. By having
sv_allowDownload 1 in your server config the pk3 will be auto-downloaded when the client connects to the server.

if the e+ doesn't use a specific list of wav files:
You could add any wav file in the pk3 and play it like say "&<wavfilename.wav>"
Otherwise it means you are limited to use only the existent filenames (see the communication link above)
This means you can add the waves you want but use the same filenames. The new wav files will overwrite the old ones if the pk3 file is read after the original one. You can control this by having the pk3 file named like "zzzz_last_file_ever.pk3'

From the communication page i understand that it might not work with other files:

Quote:
These are the more complex type to set up. Basically, you can bind
certain sounds
with whatever message you want, being it normal, team or
even private messages.

E+ doesn't have open source code so i don't know how is this implemented. But with trial and error i think you can achieve a way to do it.
You can try rcon "say &gen_movepls.wav" but since "say" is a client command it will be executed on client side and read the wav file from the client's pc not the server's.
If the server has the file but the client doesn't it won't play anything.

In the same way it works on quake live probably. The wav files (in a pk3 file) must've been downloaded on server connection. The client plays the wav file from his wave pk3.

Other way to do it is by using the "play command"

play
(command)

syntax: play [path/.wav]

Plays a .WAV file in the current game directory one time.

But this command is executed on the client too => the client must have the wav file.

If i said smth wrong please correct me.. anyone!
__________
epsislow


superbad!
Forum moderator
Divx's picture
Offline
Joined: Aug 2008
Posts:
GB United Kingdom
Re: custom voice chat and mounting messages...

Hello, yes i know at least some of this is possible like said above, each client must have the pk3 file to hear them. a player shared a few files and some of us used to use them.

this is what is mentions in the readme:
'These extra voice sounds are from Team Arena. You can use them on excessiveplus just like the regular voice wavs.

Example: bind X "say &luckyshot_1.wav LUCKY SHOT!!"
If the server is PURE 0 and does NOT have these sounds, they will work no problem, but only those who have this PK3 will hear them. '

I can upload the them so you can see how to structure your own pk3. just open with 7zip or something.

Deathadder | Goliathus Speed | Filco Majestouch | i7 3770 | 16GB | GTX 1080 | Xonar Essence ST | Sennheiser HD598

flaki
Offline
Joined: Jan 2013
Posts:
Re: custom voice chat and mounting messages...

Yeah we went already through this trying, you can easly replace a sound which is already mounted to a command and pack it to pk3...But pitty its not a good way...At the end of a played match theres a short sound so one possible way could be replacing that by a sound with "vote now", on the other hand people would hear that sound besides our vote script aswell...I hoped that theres any way to make own mountings but what we were woring about, its all client side and rcon cant force client to play sounds. Maybe if this mod is still in development, this feature could be a nice enhancement...thx so far!

superbad! wrote:


I can upload the them so you can see how to structure your own pk3. just open with 7zip or something.

Thanks for the files!

Nether
Nether's picture
Offline
Joined: May 2010
Posts:
FR France
Re: custom voice chat and mounting messages...
flaki wrote:

Yeah we went already through this trying, you can easly replace a sound which is already mounted to a command and pack it to pk3...But pitty its not a good way...At the end of a played match theres a short sound so one possible way could be replacing that by a sound with "vote now", on the other hand people would hear that sound besides our vote script aswell...I hoped that theres any way to make own mountings but what we were woring about, its all client side and rcon cant force client to play sounds. Maybe if this mod is still in development, this feature could be a nice enhancement...thx so far!

superbad! wrote:


I can upload the them so you can see how to structure your own pk3. just open with 7zip or something.

Thanks for the files!

Well let's put it as it is, every guy connecting to your server would need to have two quake clients and pk3 lib. So yeah, pity it's not a good way Sigh