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

Kill Message w/ VOX v2.7


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Exolent[jNr] (178)
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 04-05-2009 , 17:57   Kill Message w/ VOX v2.7
Reply With Quote #1

Kill Message w/ VOX v2.7
by Teascu Dorin


[IMG]http://img237.**************/img237/8720/descriptionz.png[/IMG]
  • Display death/kill message in chat with colors(can be changed in .txt language file).
  • Play remaining Health and Armour of Attacker in valve vox sounds (doesn't need any sound download


[IMG]http://img690.**************/img690/6929/settings.png[/IMG]

.:: Installing ::.

  1. Copy kill_chat_msg.amxx‎ into mod_dir/addons/amxmodx/plugins (mod_dir = cstrike, czero, dod etc)
  2. Copy kill_chat_message.txt into mod_dir/addons/amxmodx/data/lang
  3. Open plugins.ini from mod_dir/addons/amxmodx/configs
  4. Add at the end of the list on a new line like follows:
    Code:
    kill_chat_msg.amxx‎
  5. Save and close plugins.ini
  6. Restart Server or Change Map

.:: Available CVAR`s ::.
  • amx_chatmsg_killer "1"
    • Enable/Disable chat message for killer (Def: 1 - ON)
  • amx_chatmsg_victim "1"
    • Enable/Disable chat message for victim (Def: 1 - ON)
  • amx_play_sound "1"
    • Enable/Disable vox sound for victim (Def: 1 - ON)


[IMG]http://img694.**************/img694/5438/notes.png[/IMG]

You can change/modify chat message colors in the language *.txt file located in addons/amxmodx/data/lang named kill_chat_message.txt !
Message colors usage:
- !y - Yellow (Normal chat color)
- !t - Team Color (Red=T, Blue=CT, Grey=Spec)
- !g - Green


[IMG]http://img690.**************/img690/4107/snapshots.png[/IMG]

Killer message: [IMG]http://img140.**************/img140/4576/killerl.jpg[/IMG]
Victim message: N/A (lost)


[IMG]http://img694.**************/img694/4868/mlang.png[/IMG]

Code:
[en] English - Teascu Dorin
[ro] Romanian - Teascu Dorin
[nl] Dutch - crazyeffect
[ru] Russian - xPaw
[de] German - Nextra
[pl] Polish - Bagieta
[es] Spanish - alan_el_more
[fr] French - PsYChOPaTiQuE
[sv] Swedish - D-TOX
[lt] Lithuanian - mobididikas
[bg] Bulgarian - rapara13
[tr] Turkish - TowerTurk [ C * ]
[bp] Brazilian Portuguese - dark22
[ma] Marocan - Dr Zayd
Any translation will be useful !!!



[IMG]http://img691.**************/img691/5334/creditsk.png[/IMG]

Alka - color stock and inspiration form -> Kill Text Announce
v3x - for helping me to add vox sounds for Health and Armour (like statsme - for who know what it is)


[IMG]http://img694.**************/img694/1227/change.png[/IMG]

Code:
Legend: f - fixed | ! - added | c - changed | r - removed

v1.0
- First release

v2.2
- ! Multilingual
- ! cvars to disable sound and/or chat messages

v2.3
- f event_death function
to be more accurate 

v2.4
- f death message script because didn't work properly after added the cvars
- ! chatmsg_version to find who is using the plugin on game monitor site

v2.5
- f a small multilingual issue
- c some code for optimizations

v2.6
- r health and armor cached in sound playing area - THX arkshine

v2.7
- c to check if the killer is an actual player
.:: Game Monitor ::.

Server that using this plugin



[IMG]http://img690.**************/img690/3448/downloade.png[/IMG]
Attached Files
File Type: sma Get Plugin or Get Source (kill_chat_msg.sma - 14494 views - 3.1 KB)
File Type: txt kill_chat_message.txt (2.0 KB, 2235 views)
__________________

Last edited by dorin2oo7; 04-11-2015 at 02:31. Reason: Added Marocan Translation
dorin2oo7 is offline
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 04-05-2009 , 18:49   Re: Kill Message w. VOX v2.0
Reply With Quote #2

Quote:
Originally Posted by tuty in your other post
already made a lot of this kind of plugins
__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 04-05-2009 , 19:01   Re: Kill Message w. VOX v2.0
Reply With Quote #3

well, i dont think that... i didnt see a plugin that tell you the hp and ap of the player who kill you... and what kills have the player...

i think is good...
Alucard^ is offline
Send a message via Skype™ to Alucard^
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 04-05-2009 , 18:52   Re: Kill Message w. VOX v2.0
Reply With Quote #4

I didn't find any with vox sounds that's why I tried to make it !
__________________
dorin2oo7 is offline
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 04-06-2009 , 02:58   Re: Kill Message w. VOX v2.0
Reply With Quote #5

the number of kills is not played only showed in chat. the vox sounds plays
Code:
100 health and 90 armour
that's the words you will hear while being killed (of course the numbers that are showed in chat)
__________________
dorin2oo7 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-06-2009 , 07:46   Re: Kill Message w/ VOX v2.0
Reply With Quote #6

I've disabled all vox numbers and I would disable any others that you use in this plugin for myself (I can read ). Therefore this would be no different than just printing in chat.

Just my thoughts .
__________________
fysiks is offline
dorin2oo7
Senior Member
Join Date: Jun 2008
Location: Sibiu, Romania
Old 04-12-2009 , 00:17   Re: Kill Message w/ VOX v2.1
Reply With Quote #7

New Plugin Updates !
Mabie but this is if somebody wants to know how much damage he made to his KILLER also played in Hlaf-Life vox sound not needing to prechace any sounds... just a thought.
__________________
dorin2oo7 is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 04-12-2009 , 04:00   Re: Kill Message w/ VOX v2.1
Reply With Quote #8

Plugins looks cool

Dutch translation:

Quote:
[nl]
KILL_MSG_KILL = !yGedood door !g%s !y! Hij heeft nog altijd !t%d !yHP en !t%i !yAP ! (!g%d !y*Frags*)
KILL_MSG_VIC = !yYou killed: !t%s !y!
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-12-2009 , 04:02   Re: Kill Message w/ VOX v2.1
Reply With Quote #9

Russian translation ;)
Code:
[ru]
KILL_MSG_KILL = !yTebja ubil !g%s !y! U nego ostalos' !t%d !yZhiznej i !t%i !yBroni ! (!g%d !y*Fragov*)
KILL_MSG_VIC = !yTy ubil: !t%s !y!
__________________
xPaw is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 04-12-2009 , 04:43   Re: Kill Message w/ VOX v2.1
Reply With Quote #10

Code:
[de]
KILL_MSG_KILL = !yGetoetet von !g%s !y! Er hat noch !t%d !yHP und !t%i !yAP ! (!g%d !y*Kills*)
KILL_MSG_VIC = !yDu hast !t%s !y getoetet!
I'd suggest you to rearrange the event_death function as followed:

PHP Code:
public event_death()
{
    new 
killer read_data(1);
    new 
victim read_data(2);

    if(
killer == victim)
        return 
PLUGIN_CONTINUE;

    
//...

__________________
In Flames we trust!
Nextra is offline
Reply


Thread Tools
Display Modes

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 23:31.


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