PDA

View Full Version : How to have announcements in game?


nemix
09-17-2004, 05:01 PM
Can someone point me to directions to have anouncement msgs pop up in game every 2 mins? I want like 4 different msgs rotating? I know you can do it but i cant find documentation any where. Thanks in advance.

BoSBrian
09-17-2004, 05:19 PM
Punkbuster can do it

nemix
09-17-2004, 06:57 PM
Do you know where / how I would set that up? I'm running a windows dedicated server remotely...

BoSBrian
09-17-2004, 08:22 PM
Sure, in your CoD/PB directory edit your pbsv.cfg file

Add the following putting your info in.

//PB Tasks
PB_SV_TaskDel 1
pb_sv_task 10 330 "say ^3|BoS| PunkBuster Config Loaded and Active"
pb_sv_task 20 220 "say ^3This server is owned by www.bos-clan.com"
pb_sv_task 30 230 "say ^3|BoS| is recruiting @ www.bos-clan.com^7"

The first number is the number of seconds after a player connects that the message will be displayed.

The second is the repeated seconds.

nemix
09-17-2004, 08:52 PM
Thanks allot Brian.. appreciate the help

nemix
09-17-2004, 09:35 PM
crap, i dont have a .cfg file.. i have that same file .dat? Is that it or do I need to make a .cfg file, if so do i need to call it in my executable?

Ok i added those lines to the .dat file and it didnt do anything.. so i'm guessing I have gone down the wrong path....

BoSBrian
09-17-2004, 10:39 PM
Create a text file with notepad

Add those lines

Save the file

rename it to pbsv.cfg

add it to the pb directory

As long as pb is enabled it will run.

BoSBrian
09-17-2004, 10:41 PM
BTW...if you don't want to restart your server enter this into console

pb_sv_restart

nemix
09-18-2004, 05:53 PM
That works perfectly... thanks man! I appreciate you knowledge and help.

joshclub
09-19-2004, 09:43 AM
hey, that worked great, but how do i make make messages appear in the bottom left the screen as well?

BoSBrian
09-19-2004, 09:54 AM
You'll need a mod to do that, such as RudeDogg's message center. He had one for CoD, not sure if he's doing one for UO

LongRange_LARA
09-19-2004, 02:23 PM
For everyones information:
:dis:
I tried RudeDogs Message center for CoD hoping it would work in UO but no luck. I searched around for a version for UO but found nothing as of yet. The PB route is where I'm going for now.

Come on RudeDog, you don't need to sleep. Get on the UO version. :P

wingman
09-19-2004, 11:13 PM
You can always use Game Server Admin. This has an announcements option. You can get it at http://www.wizardsofwar.com/newsite/gsa.php

meta
09-26-2004, 12:55 AM
At first this didn't work for me, I had to force a server restart in order to get the pbsv.cfg file to take effect

Clanwarz
09-26-2004, 02:52 AM
\rcon pb_sv_restart

Cyberdoc
09-27-2004, 12:18 AM
Im still having problems getting these messages to repeat every thirty seconds. They seem to stack up and post 2-5 at a time, then maybe one, then all.......what am i doing wrong here. I want an even 30 second spread...it goes through the message list, then repeats.
I have tryed these combo's and all lead to same results.B_SV_TaskDel 1
pb_sv_task 15 105 "say ^3Test1"
pb_sv_task 30 105 "say ^3Test2"
pb_sv_task 45 105 "say ^3Test3"
pb_sv_task 60 105 "say ^3Test4"
pb_sv_task 75 105 "say ^3Test5"
pb_sv_task 90 105 "say ^3Test6"

*****************************************
PB_SV_TaskDel 1
pb_sv_task 90 300 "say ^3Test1"
pb_sv_task 120 300 "say ^3Test2"
pb_sv_task 150 300 "say ^3Test3"
pb_sv_task 180 300 "say ^3Test4"
pb_sv_task 210 300 "say ^3Test5"
pb_sv_task 240 300 "say ^3Test6"

I took it from these, but i still dont under stand how the second number works. Also how the second number on the second task is arrived at?
PB_SV_TaskDel 1
pb_sv_task 10 330 "say ^3Test1"
pb_sv_task 20 220 "say ^3Test2"
pb_sv_task 30 230 "say ^3Test3"

Oracleman
09-27-2004, 02:22 AM
I think this is buggy, mine stack up too (occasionally)

Busterking
09-27-2004, 02:23 PM
Is there a command that we can type in the server config file that will ignore those messages in punkbuster for when we are playing matches?

BoSBrian
09-27-2004, 03:43 PM
PB_SV_TaskEmpty will empty the tasks out of memory. As long as pb is not issued a restart command or the server rebooted they will not come back.