AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Kill Message w/ VOX v2.7 (https://forums.alliedmods.net/showthread.php?t=89384)

dorin2oo7 04-05-2009 17:57

Kill Message w/ VOX v2.7
 
2 Attachment(s)
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]

Starsailor 04-05-2009 18:49

Re: Kill Message w. VOX v2.0
 
Quote:

Originally Posted by tuty in your other post
already made a lot of this kind of plugins :|


dorin2oo7 04-05-2009 18:52

Re: Kill Message w. VOX v2.0
 
I didn't find any with vox sounds that's why I tried to make it !

Alucard^ 04-05-2009 19:01

Re: Kill Message w. VOX v2.0
 
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...

dorin2oo7 04-06-2009 02:58

Re: Kill Message w. VOX v2.0
 
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)

fysiks 04-06-2009 07:46

Re: Kill Message w/ VOX v2.0
 
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 :).

dorin2oo7 04-12-2009 00:17

Re: Kill Message w/ VOX v2.1
 
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.

crazyeffect 04-12-2009 04:00

Re: Kill Message w/ VOX v2.1
 
Plugins looks cool :D

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!

xPaw 04-12-2009 04:02

Re: Kill Message w/ VOX v2.1
 
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!


Nextra 04-12-2009 04:43

Re: Kill Message w/ VOX v2.1
 
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;

    
//...




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

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