View Single Post
Plugin Info:     Modification:          Category:          Approver:   devicenull (200)
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 01-14-2005 , 09:54   Q3A Lead Announce
Reply With Quote #1

I've coded a plugin to insert a leader announcement into the mod it is run on. I've only tested it on CS1.6, but I don't see any reason why it shouldn't work on other mods, too.

You will find the following sound files in the zip:
misc/takenlead.wav
misc/tiedlead.wav
misc/lostlead.wav
misc/theone.wav

The first three are extracted from Quake3 Arena and they will be played the way Q3A does, and the plugin will show a HUD message who's leader at the moment.

There are the following commands and CVars:
amx_lead_minkills
this is the minimum amount of kills needed before the plugin does anything. prevents players from becoming spammed at round start.
Default value is 3.

say /lead
This shows a HUD message to the player who said it, who's leading in the moment and how many kills he has.

amx_lead_countbomb
If someone planted / defused the bomb, their three kills will be automatically counted if this cvar is set to 1. if you use my script to prevent the bomb score being counted, disable this cvar to not mess things up.

amx_lead_leadername, amx_lead_leaderkills, amx_lead_leaderuid
these save the latest leader status for other scripts to use. changing them will not make any difference to the script at all.

People who have dled the older Version (with only three sounds in the package) should update to this one, I'm not planning further updates (atm...)

NEWEST VERSION: 3.1

After quite a long discussion with mrshiftyswitchblade, I decided to add credits to readme.txt, the version as such hasn't changed since my last upload this morning...

plz have a look at my updates below!
Attached Files
File Type: zip q3a_lead.zip (296.8 KB, 7142 views)
File Type: zip q3a_lead.zip (13.0 KB, 3511 views)
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee