2.1.1 Audio Greetings

Any questions regarding getting Jaymod running.
Help
Spawn Camper
Posts: 119
Joined: Wed Aug 30, 2006 4:29 pm

2.1.1 Audio Greetings

Post by Help » Wed Jan 24, 2007 3:16 pm

How can I get audio greetings to work?

User avatar
[FL]Blindman
Server Pro
Posts: 864
Joined: Thu Jun 02, 2005 3:07 pm
Location: Champlain Valley

Post by [FL]Blindman » Wed Jan 24, 2007 4:06 pm

Thank froob for this,
make a pk3 with the proper file structure, ie sound/chat/xxxx.wav , put it in the jaymod folder(important), and then put it in the same folder on your redirect site. Then manually edit level.db and/or user.db to reflect the greeting. This requires a !readconfig afterwards.
Image
Image

Help
Spawn Camper
Posts: 119
Joined: Wed Aug 30, 2006 4:29 pm

Post by Help » Wed Jan 24, 2007 4:45 pm

So whats the exact structure I should have? and What should my path be?

User avatar
[FL]Blindman
Server Pro
Posts: 864
Joined: Thu Jun 02, 2005 3:07 pm
Location: Champlain Valley

Post by [FL]Blindman » Wed Jan 24, 2007 7:08 pm

structure is whatever you make it, the easiest is sound/chat/
All soundbites should go there.
Image
Image

Beeman
Server Pro
Posts: 842
Joined: Thu Dec 08, 2005 7:36 pm
Location: Too close to #R|E#simple

Post by Beeman » Wed Jan 24, 2007 7:29 pm

Put the sound wav in a folder, lets name the folder greeting and the sound is welcome.wav, wrap it as a pk3, put it on your server and redirect then edit the level.db file like so:

level = 12
flags = *
name = ^1Admin
greetingtext =
greetingaudio = /greeting/welcome.wav

In layman terms ;), to test it out without having to make a special wav for it try this

level = 12
flags = *
name = ^1Admin
greetingtext =
greetingaudio = /sound/music/menu_server.wav

If you do the sound for yourself you will not hear it when you connect but everyone on the server will.

:D :D
Image

Image

Beeman
Server Pro
Posts: 842
Joined: Thu Dec 08, 2005 7:36 pm
Location: Too close to #R|E#simple

Post by Beeman » Sun Jan 28, 2007 8:00 pm

The exact structure goes off where you put the wav file.

make a folder called sounds

put a folder in the sounds folder, called greeting

in the folder greeting put a mono 16bit 22khz wav sound file and call it welcome.wav

Use pakscape to wrap the folder called 'sounds' (which has the folder named 'greeting' and in that the sound 'welcome.wav' inside) as a pk3 file called z_sound.pk3

in the level.db file which you open using notepad (NOT WORD) go to level 0 (zero) and put the following text where it says 'greetingaudio ='

/sounds/greeting/welcome.wav

so it will look like this:

greetingaudio = /sounds/greeting/welcome.wav

go to the top of the notepad and click 'file' scroll down and click 'save' then close it.

Put the z_sound.pk3 on your server in the jaymod folder and also in your redirect in the jaymod folder

Put the level.db file in your server in the jaymod file on your server

Do the command !readconfig on your server before the next map (or the server will over write it) or you could stop the server while you put the level.db and z_sound.pk3 on the server.

When ANYONE connects the sound will play, I cannot stress enough that YOU will not hear your own sound ONLY other peoples when they connect.

p.s I want this engraved in gold and mounted on a plinth at the top of Mount Everest because it is absolutely idiot proof :D

:D :D
Image

Image

Help
Spawn Camper
Posts: 119
Joined: Wed Aug 30, 2006 4:29 pm

Post by Help » Mon Jan 29, 2007 3:56 pm

it works an all but when people download it, it does it over and over. it will say awaiting gamestate then it will redirect the person to the file tthen after it downloads it will just repeat over and over... help?

User avatar
jaybird
Jaymod Developer
Posts: 2733
Joined: Thu Feb 24, 2005 12:27 pm
Location: San Antonio, TX
Contact:

Post by jaybird » Mon Jan 29, 2007 4:09 pm

The copy you have online doesn't match the one in the game's folder. Re-upload it.

MeatHead
General
Posts: 524
Joined: Thu Feb 02, 2006 12:34 am

Post by MeatHead » Wed Jan 31, 2007 9:35 pm

Beeman wrote:...........p.s I want this engraved in gold and mounted on a plinth at the top of Mount Everest because it is absolutely idiot proof :D:D :D
Ok idiot here! Iv never made any kind of .pk3 before and this is a 2 part question so here goes....
When making the greetingaudio pk3 I have the stucture like this:

sound >greeting>then three .wavfiles in it, but it does not work. The text shows on screen but no tunes.

Now from looking at several sound pk3 that iv downloaded off the net I see that they all have a script folder and a "ui" folder. So I take it that is why my greetingaudio does not work, is that correct? If so then should my structure look like this.......

ui >>>>wm_quickmessageAlt.menu

sound>>greeting>>.wav files
^^---->>extra>>>> .wav files (these I want to add for the admins to use as their own signatures to play whenever they want/binded to a key)
script>>>wm_axis_chat.voice
^^---->>wm_allies_chat.voice

Now the 2nd question is a lil weird but when doing the admin levels do they have to be in numeral order, 0-whatever? Can I do 0 1 2 3 3a 4 4a 5? or since there is actually 8, I have to do 0-8? So thanks guys in advance for your comments and advice.
Image

66.55.154.141

Beeman
Server Pro
Posts: 842
Joined: Thu Dec 08, 2005 7:36 pm
Location: Too close to #R|E#simple

Post by Beeman » Wed Jan 31, 2007 10:25 pm

You have to edit your level.db file which is where the only scripting comes into the greeting sounds:
in the level.db file which you open using notepad (NOT WORD) go to level 0 (zero) and put the following text where it says 'greetingaudio ='

/sounds/greeting/welcome.wav

so it will look like this:

greetingaudio = /sounds/greeting/welcome.wav
Only sounds need to be in the pk3 files because you are not making a sound pack as such ... you are just uploading sounds for Jaymod to trigger. Also if you do put them in the quick message files (chat) then everyone on the server could play the sounds.

If you want to assign certain sounds so that only players of a set level can use them globally by binding, you need etadmin.

Levels have to be 1 2 3 4 5 6 because 1a 1b etc will not work.

:D :D
Image

Image

(1944)KillRiddick
Server n00b
Posts: 31
Joined: Tue Oct 24, 2006 4:07 pm
Location: England
Contact:

Post by (1944)KillRiddick » Thu Feb 01, 2007 6:39 am

Dont close the book just yet :oops:

Does this work on older versions of Jaymod i.e. 2.0.3?

Reason being i tried a server greeting sometime ago and couldnt get it to work.

I Created the .pk3 using the directory structure sound/greeting/welcome.wav
(please note i also have axis_win.wav allies_win.wav in sound/music and that works perfectly fine)

I Updated Shrubbot.cfg with

level = 0
name = ^3I got a little Power
flags = Aahe
greeting = ^1Please ^7Welcome ^2[player] ^1to the ^7Server
greetingaudio = /sound/greeting/welcome.wav

Did !readconfig but recieved the below error

Image

This also errors if i use

greetingaudio = /sound/music/allies_win.wav

What am i doing wrong?

thanks in advance
Image

Beeman
Server Pro
Posts: 842
Joined: Thu Dec 08, 2005 7:36 pm
Location: Too close to #R|E#simple

Post by Beeman » Thu Feb 01, 2007 6:46 am

Audio Greetings are for 2.1.0 onwards only.

:D :D
Image

Image

(1944)KillRiddick
Server n00b
Posts: 31
Joined: Tue Oct 24, 2006 4:07 pm
Location: England
Contact:

Post by (1944)KillRiddick » Thu Feb 01, 2007 6:48 am

gives me an excuse to upgrade :twisted:

Thanks Beeman
Image

ratf!nk
Server n00b
Posts: 6
Joined: Wed Sep 27, 2006 5:37 pm

Post by ratf!nk » Thu Mar 15, 2007 6:09 pm

well ive followed everything to a t.
Thanks to the Beeman info.
But i dont c where the music u pick to play goes.
And ive been trying my best to figure it out on own, to no avail.
I have waves ready, but other than uploaded to the site and server i dont know exactly where to put them in order for the song to play.
I am doing like 3 diff songs for 3 diff ppl.
Anywhere else i can find some info on this?

Beeman
Server Pro
Posts: 842
Joined: Thu Dec 08, 2005 7:36 pm
Location: Too close to #R|E#simple

Post by Beeman » Fri Mar 16, 2007 2:47 am

Make a folder called greeting, put the wavs you have in the folder called greeting on your pc, wrap them up as a pk3 file, put them on your server and then your greeting should look like this:

greetingaudio = /greeting/whateveryoursoundfileiscalled.wav

So if your sound file is called level1.wav it would look like this:

greetingaudio = /greeting/level1.wav

:D :D
Image

Image

Post Reply