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

INS: Death Notice


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bl4nk
SourceMod Developer
Join Date: Jul 2007
Plugin ID:
566
Plugin Version:
1.0.6
Plugin Category:
General Purpose
Plugin Game:
Insurgency (Mod)
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Send a message when one player kills another
    Old 10-05-2008 , 18:44   INS: Death Notice
    Reply With Quote #1

    Death Notice
    Send a message when one player kills another.

    CVars:
    sm_deathnotice_mode 1/2/3 - 1 = Message admins, 2 = Message victim, 3 = Message everyone

    Note:
    With the recent influx of INS players (due to it being one of the hosted mods on Steam), I've been asked for this plugin quite a bit, so I decided to post it so I didn't have to redirect everyone to where I initially posted it.

    The version posted here is the same thing as the one posted in the old thread, but I added a version cvar for tracking of the plugin. If you have the old 1.0.6, don't bother getting this one.

    Changelog:
    • 1.0.0 to 1.0.6
      • I can't remember, look here.
    Attached Files
    File Type: sp Get Plugin or Get Source (deathnotice.sp - 3122 views - 1.5 KB)

    Last edited by psychonic; 03-23-2010 at 12:34. Reason: Reason: changed "game" field to newly created Insurgency category
    bl4nk is offline
    Sgt-Mess
    Senior Member
    Join Date: Dec 2007
    Location: Sway Side,WA
    Old 10-05-2008 , 19:15   Re: INS: Death Notice
    Reply With Quote #2

    Would It be possible to have red & blue names to signifies which team killed who.

    Heres a quick photoshop example or what I mean.



    I only ask this because Insurgency has allot of that gray text and its quit hard to distinguish whats what.
    __________________
    Sgt-Mess is offline
    Send a message via AIM to Sgt-Mess
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 10-05-2008 , 19:27   Re: INS: Death Notice
    Reply With Quote #3

    Yeah, but I have no idea what the colors are for that game. Run the attached plugin for me, and use the command "sm_chatcolor". It will print stuff into your chat window. If you could, take a screenshot of that and post it here so I can see the colors the mod provides.
    Attached Files
    File Type: sp Get Plugin or Get Source (chatcolor.sp - 1736 views - 693 Bytes)
    bl4nk is offline
    Sgt-Mess
    Senior Member
    Join Date: Dec 2007
    Location: Sway Side,WA
    Old 10-05-2008 , 19:34   Re: INS: Death Notice
    Reply With Quote #4

    The only thing that comes up is.

    Code:
    L 10/05/2008 - 18:32:30: [SM] Native "PrintToChat" reported: Client index 0 is invalid
    L 10/05/2008 - 18:32:30: [SM] Displaying call stack trace for plugin "chatcolor.smx":
    L 10/05/2008 - 18:32:30: [SM]   [0]  Line 19, /home/groups/alliedmodders/forums/files/2/8/8/5/0/32233.attach::(null)()
    L 10/05/2008 - 18:32:30: rcon from "76.22.89.175:2683": command "sm_chatcolor"
    __________________
    Sgt-Mess is offline
    Send a message via AIM to Sgt-Mess
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 10-05-2008 , 20:15   Re: INS: Death Notice
    Reply With Quote #5

    You can't do it on a listen server (or via rcon/server console). You have to be a client on a dedicated server.
    bl4nk is offline
    Sgt-Mess
    Senior Member
    Join Date: Dec 2007
    Location: Sway Side,WA
    Old 10-05-2008 , 20:23   Re: INS: Death Notice
    Reply With Quote #6

    Quote:
    Originally Posted by bl4nk View Post
    You can't do it on a listen server (or via rcon/server console). You have to be a client on a dedicated server.
    Yeah I know I was in this server when I tried it.



    Nothing printed in chat just what I pasted in my last comment in console.
    __________________
    Sgt-Mess is offline
    Send a message via AIM to Sgt-Mess
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 10-05-2008 , 21:47   Re: INS: Death Notice
    Reply With Quote #7

    Looking at what you pasted, you used the command through rcon (the last line of your paste). Like I said, you can't do it through rcon or the server console. You have to do it as a client.
    bl4nk is offline
    Sgt-Mess
    Senior Member
    Join Date: Dec 2007
    Location: Sway Side,WA
    Old 10-05-2008 , 22:23   Re: INS: Death Notice
    Reply With Quote #8

    Id go with color 03...

    Im guessing the mod dev team hasn't assigned the colors yet. Becuase there are red & blue colors in the game.
    __________________
    Sgt-Mess is offline
    Send a message via AIM to Sgt-Mess
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 10-05-2008 , 22:51   Re: INS: Death Notice
    Reply With Quote #9

    Try this plugin out. Use sm_chatcolor2.
    Attached Files
    File Type: sp Get Plugin or Get Source (chatcolor.sp - 1563 views - 1.6 KB)
    bl4nk is offline
    Sgt-Mess
    Senior Member
    Join Date: Dec 2007
    Location: Sway Side,WA
    Old 10-05-2008 , 23:10   Re: INS: Death Notice
    Reply With Quote #10

    Nothing happens with sm_chatcolor2 the plugin was unloade reloaded and map changed.

    sm_chatcolor by it self displayed the same thing as before.

    I could go to the insurgency forums and ask them. I don't know what Id be asking for so you'd have to tell me.

    EDIT: Aslo If you'd like you can add me to steam ( MESs21 ).
    __________________

    Last edited by Sgt-Mess; 10-05-2008 at 23:14.
    Sgt-Mess is offline
    Send a message via AIM to Sgt-Mess
    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 23:12.


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