Generic Score Announcer

Share source code that can be compiled/de-compiled here.
Post Reply
User avatar
Kelly
Posts: 82
Joined: Fri Sep 29, 2017 1:54 pm
Location: Coos Bay Oregon

Generic Score Announcer

Post by Kelly » Fri Feb 09, 2018 5:10 am

This is another pretty simple mod.

Readme:
SpoilerShow
This mod allows you to use whatever sounds you want for the score announcing. Want to have a lion roar for taking the lead? Want to use a baby crying for losing the lead? It's totally up to you now.

To configure the mod open the ini file and you'll see this at the top:

[GenericScoreAnnounce.GenericScoreAnnounce]
OneFragLeft=GenericScoreAnnounceSounds.OneFragLeft
<ETC.>

The way this works is you select a package and sound and assign it to what you want it to be. For instance if I wanted to assign the "Flag Taken" sound from CTF to the "You have lost the lead" sound then I would edit that line to look like this:

LostTheLead=BotPack.flagtaken

...where "BotPack" is the package and "flagtaken" is the sound in that package.

Once you have edited all the lines to your satisfaction just upload the ini to the server and everyone will enjoy your work. It's a very simple matter of importing sounds into a UAX file via the editor if you want to make completely new stuff. See me if you want to learn how, it's not hard to do and it will let you create the perfect atmosphere. Your server can be full of kitten noises or screaming orgasms, it's up to you.

Add this to the server ini:
ServerPackage=GenericScoreAnnounce
Mutator name is "GenericScoreAnnounce.GenericScoreAnnounce"

Remember! If you use custom sound packages you need to add a "ServerPackages=" line to the server for all the sound files you reference in your ini. If you don't then the client on the server may not hear the sound.

Lastly, this mod was done by request and as always you have full permissions to do whatever floats your boat with it. Source code was included and lightly annotated if you are new to scripting. Yell at me if you need some help.

Kelly
(gopostal, JackGriffin)
agutgopostal@hotmail.com
Download:
GenericScoreAnnounce.zip
(668.22 KiB) Downloaded 41 times
Source code is included. If you are a learning coder this mod provides a good framework for how to build a dynamic ini file that can inject mod changes without having to recompile every time you want to make changes.
I don’t wanna give the end away
but we’re gonna die one day

User avatar
SC]-[WARTZ_{HoF}
Site Admin
Posts: 167
Joined: Wed May 10, 2017 7:08 am

Re: Generic Score Announcer

Post by SC]-[WARTZ_{HoF} » Fri Feb 09, 2018 6:21 am

Great mod. Thanks for sharing as usual. :)

User avatar
Diego_{HoF}
Posts: 187
Joined: Thu Sep 21, 2017 11:23 pm
Location: Costa Rica
Contact:

Re: Generic Score Announcer

Post by Diego_{HoF} » Fri Feb 09, 2018 9:42 pm

hehehe, it reminds me of the mod that makes a sound clip to be use when input a word in the chat in the old ZARK Servers
FEAR ME.
I AM THE REAPER, I AM EVIL.
I AM DIEGO!

ALL HAIL MY EVIL BALL OF DOOM!

Diego_{HoF}

User avatar
Kelly
Posts: 82
Joined: Fri Sep 29, 2017 1:54 pm
Location: Coos Bay Oregon

Re: Generic Score Announcer

Post by Kelly » Sat Feb 10, 2018 2:57 am

I have one of those somewhere also. I'll look it up and post it.
I don’t wanna give the end away
but we’re gonna die one day

medor
Posts: 43
Joined: Sat Sep 30, 2017 4:14 pm

Re: Generic Score Announcer

Post by medor » Sat Feb 10, 2018 7:52 am

Diego_{HoF} wrote:
Fri Feb 09, 2018 9:42 pm
hehehe, it reminds me of the mod that makes a sound clip to be use when input a word in the chat in the old ZARK Servers
Locochat http://unrealtournament.99.free.fr/foru ... =51&t=1374

User avatar
Diego_{HoF}
Posts: 187
Joined: Thu Sep 21, 2017 11:23 pm
Location: Costa Rica
Contact:

Re: Generic Score Announcer

Post by Diego_{HoF} » Mon Feb 12, 2018 4:01 am

medor wrote:
Sat Feb 10, 2018 7:52 am
Diego_{HoF} wrote:
Fri Feb 09, 2018 9:42 pm
hehehe, it reminds me of the mod that makes a sound clip to be use when input a word in the chat in the old ZARK Servers
Locochat http://unrealtournament.99.free.fr/foru ... =51&t=1374
Oh :oops:
FEAR ME.
I AM THE REAPER, I AM EVIL.
I AM DIEGO!

ALL HAIL MY EVIL BALL OF DOOM!

Diego_{HoF}

Post Reply