Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Vsays


  • Please log in to reply
15 replies to this topic

#1
OFFLINE   makavelii

makavelii

    Member

  • Members
  • PipPip
  • 49 posts
35
Getting Better

Hey guys,

I have a question.
Is it possible to put in custom vsays like songs sounds etc on the silent mod? If yes how do you do that?
Thanks in advance.



#2
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3099 posts
216
On the road to fame
  • LocationPoland

Yes it's possible. It's done the same way like for other mods.

 

In order to do this you have to create a pk3 file with the following structure:

 

zzz_my_srv_souds.pk3

- scripts

  - wm_allies_chat.voice

  - wm_axis_chat.voice

- ui

  - wm_quickmessageAlt.menu

- sound

  - bye

  - greeting

  - misc

  - funny

 

The *.voice files define the sounds definitions.

Directories inside sound directory are just for your own convenience to group the files by kind, you might not have any of the as well.

Inside the sound categories direcotries place your .wav files and map them in the .voice files.

Then in the wm_quickmessageAlt.menu you define your vsay menu.

 

Example:

 

wm_allies_chat.voice

hello1
{
    sound/ksl/hi/hello1.wav "^4Hello!"
}

wm_quickmessageAlt.menu with hello1

QM_MENU_START( "wm_quickhibye_alt" )
    
    QM_MENU_ITEM( "^71. Dzien dobry",    exec "VoiceChat dziendobry";close wm_quickhibye_alt, "1", 0 )
    QM_MENU_ITEM( "^72. Hello 1!",        exec "VoiceChat hello1";     close wm_quickhibye_alt, "2", 1 )
    QM_MENU_ITEM( "^73. Hello 2!",        exec "VoiceChat hello2";     close wm_quickhibye_alt, "3", 2 )
    QM_MENU_ITEM( "^74. Hello 3!",        exec "VoiceChat hello3";     close wm_quickhibye_alt, "4", 3 )
    QM_MENU_ITEM( "^75. Hello 4!",        exec "VoiceChat hello4";     close wm_quickhibye_alt, "5", 4 )
    QM_MENU_ITEM( "^76. Hello 5!",        exec "VoiceChat hello5";     close wm_quickhibye_alt, "6", 5 )
    QM_MENU_ITEM( "^77. Hello 6!",        exec "VoiceChat hello6";     close wm_quickhibye_alt, "7", 6 )
    QM_MENU_ITEM( "^78. Hi!",            exec "VoiceChat kslhi";     close wm_quickhibye_alt, "8", 7 )
    QM_MENU_ITEM( "^D9. More...",        close wm_quickhibye_alt;    open wm_quickhibye2_alt, "9", 8 )
    
QM_MENU_END

If you don't know how to do it despite the example above, please check the pk3 files from some server and check how it is done there, you will quickly grasp the idea.



#3
OFFLINE   makavelii

makavelii

    Member

  • Members
  • PipPip
  • 49 posts
35
Getting Better

Okay thanks, ill try that.

Mam nadzieje że nie spieprze sprawy ;)
dzięki



#4
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3099 posts
216
On the road to fame
  • LocationPoland

You are welcome :)

 

Jakbyś miał‚ problemy to pisz na priv lub xfire: thesilencerpl



#5
OFFLINE   makavelii

makavelii

    Member

  • Members
  • PipPip
  • 49 posts
35
Getting Better

I've a problem... The menu works fine, but the sounds don't work at all from my new packs i"ve updated..
 

////////////////////////////////
//           cool        //
////////////////////////////////

whiteamerica
{
	sound/cool/WhiteAmerica.wav	"^oWhite Americaaaaaaa!"
}

scatman
{
	sound/cool/scatm.wav	"^oIm a Scatmaaaaaaaaaaan!"
}

batman
{	
	sound/cool/batman.wav "^3Batmaaaaaan! ^rNanananan!"
}

blur
{
	sound/cool/blur.wav	"^4Wooooooohooooo!"
}

pussy
{
	sound/cool/duke3.wav "^1WHAT A PUSSY!"
}

crybb
{
	sound/cool/crybb.wav "^7I want my mommy!"
}

fart
{
	sound/cool/farted.wav "^5Who the fuck farted!"
}

fyou
{
	sound/cool/fyou.wav "^3Fuck you! Fuck you!"
}

gbye
{
	sound/cool/gbye.wav "^3Gooodbyeeee My lover!"
}

ilesbian
{
	sound/cool/ilesbian.wav	"^3Im soo lesbian right now.."
}

lag
{
	sound/cool/lag.wav "^rLag lag lag lag.."
}

loveyou
{
	sound/cool/loveyou.wav "^1I love youuuuuuu"
}

nani
{
	sound/cool/nani.wav "^3Nothiiing at alll!"
}

orgasma
{
	sound/cool/orgasma.wav "^rUhhhhhhh!"
}

orgasmb
{
	sound/cool/orgasmb.wav "^1Ohhhh.."
}

qsera
{
	sound/cool/qsera.wav "^rQue Sera sera sera.."
}

thunder
{
	sound/cool/thunder.wav "^3Thu nder!"
}

whosaid
{
	sound/cool/whosaid.wav "^rWho the fuck said that!"
}

whoyou
{
	sound/cool/whoyou.wav "^3Cmon now! Who do you think you areee.."
}

And then the quickmessageall

 

QM_MENU_START( "wm_cool_alt" )

	QM_MENU_ITEM( "1. ^oWhite Americaaaaaaa!",			exec "voiceChat whiteamerica";	close wm_cool_alt,			"1", 0 )
	QM_MENU_ITEM( "2. ^rScatman!",		exec "voiceChat scatman";	close wm_cool_alt,			"2", 1 )
	QM_MENU_ITEM( "3. ^rBatman",			exec "voiceChat batman";	close wm_cool_alt,			"3", 2 )
	QM_MENU_ITEM( "4. ^3Blur",			exec "voiceChat blur";	close wm_cool_alt,			"4", 3 )
	QM_MENU_ITEM( "5. ^rWhat a pussy!",			exec "voiceChat pussy";	close wm_cool_alt,			"5", 4 )
	QM_MENU_ITEM( "6. ^3Crybb",			exec "voiceChat crybb";	close wm_cool_alt,			"6", 5 )
	QM_MENU_ITEM( "7. ^ofart",			exec "voiceChat fart";	close wm_cool_alt,			"7", 6 )
	QM_MENU_ITEM( "8. ^3Cool2",					close wm_cool_alt;		open wm_cool2_alt,		"8", 7 )
	
QM_MENU_END

QM_MENU_START( "wm_cool2_alt" )

	QM_MENU_ITEM( "1. ^oFuck You",			exec "voiceChat fyou";	close wm_cool2_alt,			"1", 0 )
	QM_MENU_ITEM( "2. ^rGoodBye",		exec "voiceChat gbye";	close wm_cool2_alt,			"2", 1 )
	QM_MENU_ITEM( "3. ^rLesbian",			exec "voiceChat ilesbian";	close wm_cool2_alt,			"3", 2 )
	QM_MENU_ITEM( "4. ^3Lag",			exec "voiceChat lag";	close wm_cool2_alt,			"4", 3 )
	QM_MENU_ITEM( "5. ^rLove",			exec "voiceChat loveyou";	close wm_cool2_alt,			"5", 4 )
	QM_MENU_ITEM( "6. ^3Orgasm1",			exec "voiceChat orgasma";	close wm_cool2_alt,			"6", 5 )
	QM_MENU_ITEM( "7. ^oOrgasm2",			exec "voiceChat orgasmb";	close wm_cool2_alt,			"7", 6 )
	QM_MENU_ITEM( "8. ^3Cool3",					close wm_cool2_alt;		open wm_cool3_alt,		"8", 7 )
	
QM_MENU_END

QM_MENU_START( "wm_cool3_alt" )

	QM_MENU_ITEM( "1. ^oQue Sera!",			exec "voiceChat qsera";	close wm_cool3_alt,			"1", 0 )
	QM_MENU_ITEM( "2. ^rThunder!",		exec "voiceChat thunder";	close wm_cool3_alt,			"2", 1 )
	QM_MENU_ITEM( "3. ^rWho said",			exec "voiceChat whosaid";	close wm_cool3_alt,			"3", 2 )
	QM_MENU_ITEM( "4. ^3Who You?",			exec "voiceChat who you";	close wm_cool3_alt,			"4", 3 )

QM_MENU_END	

QM_MENU_START( "wm_tweak_alt" )

	QM_MENU_ITEM( "1. ^3Voice Chat ^2On",			exec "cg_noVoiceChats 0"; 			close wm_tweak_alt, "1", 0 )
	QM_MENU_ITEM( "2. ^3Voice Chat ^1Off",			exec "cg_noVoiceChats 1"; 			close wm_tweak_alt, "2", 1 )
	QM_MENU_ITEM( "3. ^3Display FPS Counter",	exec "cg_drawFPS 1"; 			close wm_tweak_alt, "3", 2 )
	QM_MENU_ITEM( "4. ^3Hide FPS Counter",		exec "cg_drawFPS 0"; 			close wm_tweak_alt, "4", 3 )
	QM_MENU_ITEM( "5. ^3Display Lagometer",		exec "cg_lagometer 1"; 			close wm_tweak_alt, "5", 4 )
	QM_MENU_ITEM( "6. ^3Disable Lagometer",		exec "cg_lagometer 0";			close wm_tweak_alt, "6", 5 )
	QM_MENU_ITEM( "7. ^3Simple SKY ^2ON",		exec "r_fastsky 1"; 			close wm_tweak_alt, "7", 6 )
	
QM_MENU_END	
	

The tweaks work fine, but the sounds dont..


 



#6
OFFLINE   Petbark

Petbark

    Advanced Member

  • Members
  • PipPipPipPip
  • 185 posts
30
Getting Better

What format are the sound Files? 



#7
OFFLINE   makavelii

makavelii

    Member

  • Members
  • PipPip
  • 49 posts
35
Getting Better

What format are the sound Files? 

i've sorted it out with the help of SIlencer. There was too many sounds had to delete some and they work fine :)



#8
OFFLINE   Petbark

Petbark

    Advanced Member

  • Members
  • PipPipPipPip
  • 185 posts
30
Getting Better

Just for interest how many sounds were you trying to use?

 

On our servers we have 115 different sound files.



#9
OFFLINE   makavelii

makavelii

    Member

  • Members
  • PipPip
  • 49 posts
35
Getting Better
From what silencer told me i had around 170, where only 150 worked

#10
OFFLINE   cziki

cziki

    Member

  • Members
  • PipPip
  • 36 posts
7
A step in the right direction
  • LocationHolyCity [Poland]

I have a question about soundpack, are there any limits for files: wm_allies_chat.voice,  wm_axis_chat.voice or wm_quickmessageAlt.menu ? Because if I put too many links in wm_allies(axis)_chat.voice the others sound didn't work. When I delete few links everything working fine. Any solution for this issue? 



#11
OFFLINE   cziki

cziki

    Member

  • Members
  • PipPip
  • 36 posts
7
A step in the right direction
  • LocationHolyCity [Poland]

Sorry I misses some posts, are there any chance to change this 150 sound to approx 200?? Why more sounds making problem?


Edited by cziki, 03 August 2014 - 06:43 PM.


#12
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3099 posts
216
On the road to fame
  • LocationPoland

If I remember correctly, the limit is not dictated by some special reason, so the number could be increased probably. Today's computers don't have the memory limits as it used to be in the times of the game creation. The memory eaten by the sound definitions is eaten out of the hunkmegs, so the voice chat number increase would influence that. We will take a look into it. However, if the engine limits it somehow, there is nothing we can do in that matter.



#13
OFFLINE   Petbark

Petbark

    Advanced Member

  • Members
  • PipPipPipPip
  • 185 posts
30
Getting Better

The one thing that can cause a limit, if I remember right, is ET has a limit on quick chat menus and you can only have a maximum number of sub menus.

But saying that if they are not quick chat then I don't think there is a limit just how long people are prepared to wait for the initial custom pk3 file to download.



#14
OFFLINE   Periax

Periax

    Newbie

  • Members
  • Pip
  • 8 posts
0
Unknown

Hello,

 

Since I started out my own server recently, I ve been planning on adding my customized voice chat sounds. The tutorial above looks quite good, but one thing bothers me, i.e,

 

how do I initialize and get the server to send out and execute the pk3 file? 

do i need to do some modification to my server config?



#15
OFFLINE   Dragonji

Dragonji

    Advanced Member

  • Members
  • PipPipPipPip
  • 514 posts
142
On the road to fame
  • LocationPoland
Every pk3 you place in mod folder ("silent" in this case) will be automatically downloaded by connecting clients.

#16
OFFLINE   JohnDory

JohnDory

    Advanced Member

  • Subscriber
  • PipPipPipPip
  • 248 posts
54
Getting Better
  • LocationCornwall, UK

if you add a .pk3 file you should also put a copy of it on your redirect if you have one.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users