Raised This Month: $32 Target: $400
 8% 

Q3A Lead Announce


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Statistical        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, 7140 views)
File Type: zip q3a_lead.zip (13.0 KB, 3509 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
Mrshiftyswitchblade
Member
Join Date: Jun 2004
Location: Buffalo, NY
Old 01-14-2005 , 22:10  
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=8831

Credits.... Riped my idea....
__________________
Mrshiftyswitchblade is offline
Send a message via AIM to Mrshiftyswitchblade Send a message via MSN to Mrshiftyswitchblade
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 01-25-2005 , 06:05  
Reply With Quote #3

cool... so we had the same idea

why not use my plugin then?

I'm actually improving it at the moment, I've added a couple of cvars that save the actual leader's name, uid & frags for other scripts to use, and I've added another sound to be played when the leader sez /lead. Multilanguage support will soon follow.

I will upload the new script as soon as I've done the language stuff.
MistaGee is offline
Send a message via ICQ to MistaGee
-=STN=- MaGe
Veteran Member
Join Date: Apr 2004
Location: Asault World
Old 01-25-2005 , 17:38  
Reply With Quote #4

post the sma
__________________



-=STN=- MaGe is offline
Send a message via Yahoo to -=STN=- MaGe
The-56k-LaggA
Senior Member
Join Date: Apr 2004
Location: Germany, Hanover
Old 01-25-2005 , 17:40  
Reply With Quote #5

sma?

edit: lol, we had posted at the same time
The-56k-LaggA is offline
Send a message via ICQ to The-56k-LaggA
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 01-26-2005 , 15:10  
Reply With Quote #6

I've updated the above post, also with the sma in the zip
MistaGee is offline
Send a message via ICQ to MistaGee
-}NK{-Oj@eKiLLzZz
Senior Member
Join Date: Dec 2004
Location: NC
Old 01-26-2005 , 15:31  
Reply With Quote #7

really i must be blind lol never mind just showed up
-}NK{-Oj@eKiLLzZz is offline
Send a message via AIM to -}NK{-Oj@eKiLLzZz
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 03-08-2005 , 12:04  
Reply With Quote #8

--- UPDATE ---

I've implemented a function that takes bomb planting into account immediately and doesn't wait for the next kill ^^

You'll need all the sounds and stuff from the zip file in the above post, just replace the sma with this one. The rest hasn't changed.

By the way: Since CS is the only game where there is a bomb, CS is the only mod this version will run on (how come :p ). Since there hasn't anything been changed since V2.5 except this bomb thingy, just use the 2.5 sma on other mods!
Attached Files
File Type: sma Get Plugin or Get Source (q3a_lead.sma - 2187 views - 14.3 KB)
__________________
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
sub
Senior Member
Join Date: Nov 2004
Location: Morristown, New Jersey
Old 03-08-2005 , 13:12  
Reply With Quote #9

omg you rox!
sub is offline
Send a message via AIM to sub Send a message via MSN to sub
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 03-09-2005 , 04:25  
Reply With Quote #10

thx d00d
__________________
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
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode