Raised This Month: $89 Target: $400
 22% 

[Hidden:Source] Radio Taunts


Post New Thread Reply   
 
Thread Tools Display Modes
Author
paegus
Senior Member
Join Date: Nov 2004
Location: Extreme low earth orbit
Plugin ID:
679
Plugin Version:
1.0.2
Plugin Category:
Gameplay
Plugin Game:
The Hidden: Source
Plugin Dependencies:
    Servers with this Plugin:
    5 
    Plugin Description:
    Detects Hidden's radio-friendly taunts and plays them over the IRIS comms if the hidden is close enough to a non-gibbed corpse.
    Old 12-16-2008 , 18:47   [Hidden:Source] Radio Taunts
    Reply With Quote #1

    Written specifically for Hidden:Source Beta 4b.

    Code:
    /*
     * Hidden:SourceMod - Radio Proximity Taunts
     *
     * Description:
     *  Plays radiotaunts#.mp3 over the IRIS's radio if a corpse_ragdoll is close enough when a hidden taunts.
     *
     * Console Variables:
     *  hsm_rpt_chat [0/1] : Successfully radioed taunts appear in global chat? 0: No, 1:Yes. Default: 1
     *  hsm_rpt_auto [0~1] : Chance for Hidden to automatically taunt when he kills. 0: Never. 1: Always. Default: 0
     *  hsm_rpt_last [0~1] : Alternate chance for Hidden to automatically taunt on the 2nd to last possible kill. 0: No alternate. 1: Always. Default: 0.333333
     *
     * Commands:
     *
     * Change-log:
     *  v1.0.2
     *   Set last-kill auto-taunt to be only "You're Next" (or "I'm coming for you" if you've altered the server's sound file. Manual taunts remain.
     *   Fixed error on World damage.
     *   Resolved inability to compile online due to missing MaxClients dynamic var.
     *  v1.0.1
     *   Added chances to automatically taunt on each kill and 2nd to last possible kill.
     *   Removed dependency on hidden & toteam includes.
     *  v1.0.0
     *   Initial release.
     *
     * Known Issues:
     *
     * To-Do:
     *
     * Contact:
     *  Paegus: [email protected]
     *  SourceMod: http://www.sourcemod.net
     *  Hidden:Source: http://www.hidden-source.com
     */
    Attached Files
    File Type: sp Get Plugin or Get Source (hsm_radiotaunts.sp - 669 views - 10.5 KB)
    File Type: sp Get Plugin or Get Source (hsm_radiotaunts_sm12.sp - 1000 views - 10.4 KB)
    __________________
    Live and learn or die and teach by example.
    Plugins Mine | Hidden:SourceMod

    Last edited by psychonic; 03-23-2010 at 12:18. Reason: Reason: changed "game" field to newly created category "The Hidden"
    paegus is offline
    Liam
    SourceMod Developer
    Join Date: Jan 2008
    Location: Atlanta, GA
    Old 12-18-2008 , 08:28   Re: [Hidden:Source] Radio Taunts
    Reply With Quote #2

    May want to check your code. It doesn't compile.
    __________________
    Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

    Weapon Restrictions w/ Warmup
    High Ping Kicker - Lite Edition
    AFK Manager
    Liam is offline
    paegus
    Senior Member
    Join Date: Nov 2004
    Location: Extreme low earth orbit
    Old 12-18-2008 , 08:32   Re: [Hidden:Source] Radio Taunts
    Reply With Quote #3

    what error does it throw up?
    it compiles fine on my box :S

    e: hmm though it may be because i'm using a more recent build... for in-line floating point math and the like?
    __________________
    Live and learn or die and teach by example.
    Plugins Mine | Hidden:SourceMod

    Last edited by paegus; 12-18-2008 at 08:36.
    paegus is offline
    Liam
    SourceMod Developer
    Join Date: Jan 2008
    Location: Atlanta, GA
    Old 12-18-2008 , 08:36   Re: [Hidden:Source] Radio Taunts
    Reply With Quote #4

    I dunno, I tried it with the web compiler and it failed.
    __________________
    Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

    Weapon Restrictions w/ Warmup
    High Ping Kicker - Lite Edition
    AFK Manager
    Liam is offline
    paegus
    Senior Member
    Join Date: Nov 2004
    Location: Extreme low earth orbit
    Old 12-18-2008 , 09:43   Re: [Hidden:Source] Radio Taunts
    Reply With Quote #5

    well frankly, a compiler that doesn't give you any errors message should be taken out back and shot.


    in other news it was missing the dynamically defined MaxClients variable.
    __________________
    Live and learn or die and teach by example.
    Plugins Mine | Hidden:SourceMod
    paegus is offline
    Grifza
    Junior Member
    Join Date: Jun 2009
    Location: South Africa
    Old 06-03-2009 , 10:41   Re: [Hidden:Source] Radio Taunts
    Reply With Quote #6

    I wanted to change the hsm_rpt_last variable, and it wouldn't compile. It seems it's getting the same error as what you said you fixed. Maybe you didn't update the source?

    Error below:


    Your plugin failed to compile! Read the errors below:
    SourcePawn Compiler 1.2.1
    Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

    /home/groups/sourcemod/upload_tmp/phpsDI2Jw.sp(6 : error 021: symbol already defined: "MaxClients"
    /home/groups/sourcemod/upload_tmp/phpsDI2Jw.sp(117) : error 022: must be lvalue (non-constant)

    2 Errors.
    Grifza is offline
    paegus
    Senior Member
    Join Date: Nov 2004
    Location: Extreme low earth orbit
    Old 06-05-2009 , 02:57   Re: [Hidden:Source] Radio Taunts
    Reply With Quote #7

    you can just delete those 2 line. they were for backward compatibility and are no longer required.
    __________________
    Live and learn or die and teach by example.
    Plugins Mine | Hidden:SourceMod
    paegus is offline
    Grifza
    Junior Member
    Join Date: Jun 2009
    Location: South Africa
    Old 06-05-2009 , 18:46   Re: [Hidden:Source] Radio Taunts
    Reply With Quote #8

    Quote:
    Originally Posted by paegus View Post
    you can just delete those 2 line. they were for backward compatibility and are no longer required.
    I tried finding the lines, but, to no success. I don't write plugins, so I have no idea what to look for.

    Is it at all possible to fix the source, and re-up it?

    Would be great if you could.

    Thanks.
    Grifza is offline
    paegus
    Senior Member
    Join Date: Nov 2004
    Location: Extreme low earth orbit
    Old 06-06-2009 , 06:29   Re: [Hidden:Source] Radio Taunts
    Reply With Quote #9

    download the _sm12 version i've added to the to the 1st post.
    __________________
    Live and learn or die and teach by example.
    Plugins Mine | Hidden:SourceMod
    paegus is offline
    Grifza
    Junior Member
    Join Date: Jun 2009
    Location: South Africa
    Old 06-06-2009 , 16:53   Re: [Hidden:Source] Radio Taunts
    Reply With Quote #10

    Quote:
    Originally Posted by paegus View Post
    download the _sm12 version i've added to the to the 1st post.
    Thanks!
    Grifza 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 15:32.


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