Hidden Voicechats


(Il_Maestro) #1

I ran through the pak0.pk3 file and found a wav file in this folder:

sound/vo/general/axis/hq_needfos_a.wav

This sound shouts: “We need a Fieldops, schnell!!”

Is there a way to call this ingame…or is it possible that, cause there are more sounds in the pak0.pk3 file that you never hear in ET, these sounds were added by activision but never made it to the game itself???

Can someone shine a light on this subject, or otherwise tell me how I can use this voicechats? :???:


(Ragnar_40k) #2

At this point this .wav is only associated to a commando inside the .sounds files. There are all commands listed which the announcer can say, e.g. the commando axis_hq_compost_construct is associated to the hq_cpcon_a.wav resp. hq_cpcon_b.wav files, which say “Construct the command post!”. So I guess mappers can already use this .wav files for their maps.

Voice chats on the other hand are defined in the .voice files. So when you add a new command there, like this:

axis_need_fieldops
{
	sound sound/vo/general/axis/hq_needfos_a.wav
	sound sound/vo/general/axis/hq_needfos_b.wav
}

then you should be able to use it, BUT ONLY IF the server you playing on has the same modifications (even on an unpure server nobody would hear you, when you the only one with modified .voice files).

So, alter the .voice files, create a .pk3 out of them and find a server who will host this .pk3. Then you can use this .wav as voice chat (hey, this would be some kind of mini-mod, like “Skull Mine Flag(s)” or “TimeBonus”). This way you could also add custom voice chats.

Anyone can then bind this new command to a key (like the “old” ones):

bind x vsay_team axis_need_fieldops

I also remember shrub for RtCW had a command where you could play any sound, even from single player, when you had rcon access (I loved to play the zombie scream, scaring the hell out of the enemy).


(Il_Maestro) #3

Ok, cewl! You sure shined a light on the subject… :clap: The only thing I’m confused about is where to put the code you mentioned. Do I need the source code of Enemy Territory for this and add the lines there?

About the rest…that’s pretty obvious and should not be the hardest thing… :drink:

Thnx in advance!


(Ragnar_40k) #4

Nope, this you can do w/o changing the source. You just need to unzip the .pk3 files from your ETMain subdirectory (e.g. with WinZip, usually you only need to unzip pak0.pk3). All files are stored in there. Alter the files you need and then create a .pk3 file with the changed files only (zip these files with WinZip and then rename the file extension to .pk3). After you put the .pk3 file into your ETMain subfolder, the included files will overload the stock files included inside the pak0.pk3 file. You should try to obtain the directory structure from the original pak0.pk3 file or ET may not find your changes. Testing the changes can be done by creating a local Host.
As examples you can take “Skull Mine Flag(s)” (changes 2 texture images) or “TimeBonus” (changes several map scripts, including .sounds and .arena files; adds some new sounds), you can download them from RTCWfiles.com.


(Il_Maestro) #5

Ok, I understand. But in this case you just overwrite files, right? For example I take the Saving Private Ryan soundpack. This .pk3 file overwrites the older sound files. I know how to do that, but in this case I only want to add some new voicecommands.
I can overwrite the 21a.wav file (I need a medic) with the needfos.wav file (need fieldops!), that’ll work fine I guess, but I only want to add the needfos.wav file.
I understand that I can put em in the sounds/chat folder, the folder where all the other voicechats are. But how do I bind it then? I understand your code, but where should I put those lines? (except for the bind x vsay_blabla, cause that’s in your etconfig file)

:smiley:


(nUllSkillZ) #6

All mentioned above:

Voice chats on the other hand are defined in the .voice files. So when you add a new command there, like this:

 
axis_need_fieldops 
{ 
   sound sound/vo/general/axis/hq_needfos_a.wav 
   sound sound/vo/general/axis/hq_needfos_b.wav 
} 

then you should be able to use it, BUT ONLY IF the server you playing on has the same modifications (even on an unpure server nobody would hear you, when you the only one with modified .voice files). 

Just unzip the “.voice” files of the original “pak0.pk3” to the appropriate direction.
Edit the files as described. And test them by creating a game (Host Game->Start Server) and bind a key to the sound.

EDIT:

 
bind x vsay_team axis_need_fieldops 

So you don’t need to pack the “.voice” files into a new “.pk3” file.
But you can do this of course.


(Il_Maestro) #7

K, sorry m8…couldn’t find those .voice files…lol
Got em now…will try it immediately…
Just ignore my last post… :cool:


(DG) #8

ATTACK!

bind key “vsay_team ft_attack”
(iirc)


(Il_Maestro) #9

Ok, got it now…:smiley:
I changed the voicechats menu also, so that when u press v u can see a menu where you can say these extra commands. It’s pretty cool actually…:smiley:

Thnx all for the replies! :drink: