custom sounds


(fergie) #1

well ive had a look around and such but im still not exactly sure, how do i add my own custom sounds to the quick chat menu? :bash:


(nUllSkillZ) #2

What do you want to do?
Replace existing ones?
Or add new ones?


(P4nth3r) #3

add new ones.
That all combinations are used

v11 till v00 :wink:

Is that something you have to add in the source?? or can it be done easier??

Replacing is easy, but add new ones still got me troubled.
Where most i look?

Greetz Panther


(fergie) #4

yeh i want to add new ones

cheers


(SCDS_reyalP) #5

You need to make a new .pk3 which overrides the existing .menu files, and also includes the new sounds, and updated .voice files. Don’t for get to change both wm_quickmessage.menu and wm_quickmessageAlt.menu.

The terminal insanity server 216.240.132.107:27960 often runs these, so you might be able to pick up some examples there.

edit:
Of course this will only work if your .pk3 is on the server, and everyone has downloaded the .pk3


(P4nth3r) #6

k, that’s all i needed to know for now.
Thnx a lot.

Greetz Way2Evil aka Panther


(nUllSkillZ) #7

Always a good start is to look at existing mods.
I think there are some mods that add voice chats.


(P4nth3r) #8

Hi, i’m back, i checked an other working quickchat “mod” and I tried making my own.
I thought I did great but when i tested it did show 8 (secundairy commamds) but when i pressed 8 it just closed and did nothing.

QM_MENU_START( “wm_quickmessageAlt” )

QM_MENU_ITEM_TEAM( 	"1. Statements", 		close wm_quickmessageAlt; 	open wm_quickstatements_alt, 		"1", 0 )
QM_MENU_ITEM_TEAM( 	"2. Requests", 			close wm_quickmessageAlt; 	open wm_quickrequests_alt, 		"2", 1 )
QM_MENU_ITEM_TEAM( 	"3. Commands", 			close wm_quickmessageAlt; 	open wm_quickcommand_alt, 		"3", 2 )
QM_MENU_ITEM_TEAM( 	"4. Talk",		 	close wm_quickmessageAlt; 	open wm_quickmisc_alt, 			"4", 3 )
QM_MENU_ITEM( 		"5. Global",	 		close wm_quickmessageAlt; 	open wm_quickglobal_alt, 		"5", 4 )
QM_MENU_ITEM_TEAM( 	"6. Function", 			exec "wm_sayPlayerClass"; 	close wm_quickmessageAlt,		"6", 5 )
QM_MENU_ITEM_TEAM( 	"7. Objectives", 		close wm_quickmessageAlt; 	open wm_quickobjectives_alt, 		"7", 6 )
QM_MENU_ITEM_TEAM(	"8. Secondairy Commands",	close wm_quickmessageAlt;	open wm_quickcommands2_alt,		"8", 7 )

QM_MENU_END

and under the standard menu’s I scripted this

QM_MENU_START( “wm_quickcommmands2_alt” )

QM_MENU_ITEM_TEAM( "1. Attack",				exec "VoiceTeamChat FTattack";				close wm_quickcommands2_alt,	"1", 0 ) 
QM_MENU_ITEM_TEAM( "2. Fall Back",			exec "VoiceTeamChat FTfallback";			close wm_quickcommands2_alt,	"2", 1 ) 
QM_MENU_ITEM_TEAM( "3. Deploy Mortar",			exec "VoiceTeamChat FTMortar";				close wm_quickcommands2_alt,	"3", 2 ) 
QM_MENU_ITEM_TEAM( "4. Heal me",			exec "VoiceTeamChat FTHealMe";				close wm_quickcommands2_alt,	"4", 3 )
QM_MENU_ITEM_TEAM( "5. Revive me",			exec "VoiceTeamChat FTReviveMe";			close wm_quickcommands2_alt,	"5", 4 ) 
QM_MENU_ITEM_TEAM( "6. Heal The Squad",			exec "VoiceTeamChat FTHealSquad";			close wm_quickcommands2_alt,	"6", 5 )
QM_MENU_ITEM_TEAM( "7. Revive Team mate",		exec "VoiceTeamChat FTReviveTeamMate";			close wm_quickcommands2_alt,	"7", 6 ) 
QM_MENU_ITEM_TEAM( "8. Engineer Commands",		close wm_quickcommands2";				open wm_quickengi_alt,		"8", 7 ) 
QM_MENU_ITEM_TEAM( "9. Field Ops Commands",		close wm_quickcommands2";				open wm_quickfield_alt,		"9", 8 ) 
QM_MENU_ITEM_TEAM( "0. Covert Ops Commands",		close wm_quickcommands2";				open wm_quickcovert_alt,		"0", 9 ) 

QM_MENU_END

so this menu he should open when pressed 8 in the primairy quickchat menu.
But he only quits the menu (which is the command, but then he should open the next menu and he doesn’t.
What did I do wrong??

Thnx & Greetz Panther aka Way2Evil


(Calzonzin) #9

Another question: How do you make every client download these chats? Or is it always optional (ie, download by hand before connecting)?