Raised This Month: $51 Target: $400
 12% 

[TF2] The Quickening


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ratchetx
Member
Join Date: Aug 2008
Location: Lithuania
Plugin ID:
2566
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    There can be only one
    Old 09-17-2011 , 12:52   [TF2] The Quickening
    Reply With Quote #1

    I was surprised no one has made a highlander themed gamemode, so i had to do it myself.

    The game continues until only one player is left alive. Suports only Arena Maps.

    Only playable class is demoman and only weapons aviable are decapitating melee. If player is not equipped with one he will get Claidhead Mor without any abilities.

    Players are also allowed to use Chargin' Targe, The Splendid Shield and Ali Baba's Wee Booties.

    Requires TF2Items and SteamTools and SDK Hooks

    Everytime you kill someone you must taunt him in 5 seconds after his death to start the quickening or else he will ressurect. You are invincible while quickening. Every kill grants you longer invulnerability and extra damage, furthermore every kill grants extra 25hp.

    Made a server where you can test and give feedback, but just so you know it won't be 24/7

    To allow KOTH maps Stripper:Source is needed
    Code:
    Add this to global_filters.cfg
    add:
    {
    "origin" "0 0 0"
    "classname" "tf_logic_arena"
    }
    Requires quickening_kill_doors to be set to 1
    Updates:
    Code:
    V1.3
    +Added Potential resurrection system
     Resurrects players that are not killed by sword kills, when only 1 player is left. If theres 1v1 fight, it will not take effect, to avoid griefing.
     Resurrected player will be weaker. (quickening_hpmult_pres)
    +Added hierarchic absorb
     Allows you to absorb your victims decapitation kills. If your victim just got a decapitating kill, you will absorb him, and your victims victim.
    +Added bot support
     Bots now absorb other bots with same chance as a real player. (tf_bot_taunt_victim_chance)    Def: 80%
     func_regenerate is killed, to prevent bots going back to resupply closets and staying there, because closets are automaticly disabled in arena.
     
    +Resurrected player is now weaker
     Max Health * quickening_hpmult_res
    +Health kits will be killed to give reason for Persian Persuader usage.
     
    +ConVars
     &quickening_kill_doors  - Kill doors? For KOTH map support       
     &quickening_respawn_time - Time it takes before fallen highlander respawns if not absorbed. (1 - 30 seconds) Def: 10
     &quickening_hpmult_pres  - Potential resurrection health multiplier 0.1 - 0.75 (10%-75%)    Def: 0.4
     &quickening_hpmult_res  - Normal resurrection health multiplier 0.75 - 0.9 (75%-90%)    Def: 0.8 
    +Support for KOTH maps
    +Debug ConVars (Cheat protected and should remain zero)
     &quickening_debug_nbot  - Debug cvar: Nerf bots to 1 HP        Def: 0
     &quickening_debug_pres  - Debug cvar: Display potential resurrections status     Def: 0
     &quickening_debug_fixup  - Debug cvar: Display fixup info       Def: 0
     &quickening_debug_kwep  - Debug cvar: Killing weapon        Def: 0
    *Fixed quickening_enabled
    *Lightning ceiling has been lowered to 700 instead of 1000
    *When last highlander is left he will be forced to taunt, and "THERE CAN BE ONLY ONE" line will be globally played.
     It's demoman line, so no extra download
    *It will now allow to see the weapon when pressing inspect equipment (def. F) on players that do not equip decapitating melee weapon.
     It will show ClaidHeadMor, with green text and no effects.
     This was added, because valve removed attachment support in Hatless update from everything, but bots.
    *Players no longer resurrect after round is finished
    *Fixed case, where when player teams are scrambled before round is started enemy team players could end up in spawn
    *Probably other changes i forgot
     
    V1.2
    !!!Now requires SteamTools
    +The last Highlander now gets a buff on round start
    *Only decapitation kills (including taunts) allow you to absorb your victims powers
    *Fixed the taunt not working after Manniversiry update
    *Fixed the timer being created for every user, leaking memory (one global timer)
    *Fixed console spam when resurrecting (Thanks to FlaminSarge)
    *Heads are now preserved for 'The Eyelander', when player is team switched
    *Cleaned up the code
    *Probably other changes i forgot
    -No longer needs SDKHooks
     
    V1.1
    + Added plugin version convar 'quickening_version'
    + Added toggle theme music 'qcsound'
    + Added help 'qchelp'
    * Fixed 'tf2_quickening_enabled'
    * Fixed some other functionality issues
    * Changed so that every time you kill someone it doesn't spam hints in chat, instead you see a temporary message informing you
    * Changed so that overheal stays as long as crits, instead of invul
    - Removed deprecated functions
    Attached Files
    File Type: zip sound.zip (1.59 MB, 246 views)
    File Type: sp Get Plugin or Get Source (tf2_quickening.sp - 238 views - 27.6 KB)
    File Type: smx tf2_quickening.smx (20.5 KB, 298 views)

    Last edited by ratchetx; 02-07-2012 at 14:49.
    ratchetx is offline
    Send a message via Skype™ to ratchetx
    Leonardo
    Veteran Member
    Join Date: Feb 2010
    Location: 90's
    Old 09-17-2011 , 13:21   Re: [TF2] The Quickening
    Reply With Quote #2

    convar to disable plugin?
    plugin version convar?
    convar to disable/change music?
    using IsFakeClient()?
    not using each game frame?
    not getting itemDefIndex while checking for wearable items?

    where's all this stuff?
    Leonardo is offline
    ratchetx
    Member
    Join Date: Aug 2008
    Location: Lithuania
    Old 09-17-2011 , 15:49   Re: [TF2] The Quickening
    Reply With Quote #3

    Quote:
    Originally Posted by Leonardo View Post
    convar to disable plugin?
    plugin version convar?
    convar to disable/change music?
    using IsFakeClient()?
    not using each game frame?
    not getting itemDefIndex while checking for wearable items?

    where's all this stuff?
    It's there, but no longer working after i changed some functionality, already have it fixed, but working on other stuff.

    Don't really need it for initial release, it's comming when it's getting update.

    It was planned but i eventually forgot.

    Deprecated function, no longer needed, it's removed completely.

    Doesn't impact performance, so not gonna bother with multiple variables and timers to work with conditions such as uber, kritzierg until it does.

    If you meant 1st and 2nd slot looking for index but not using it, it's deprecated as i didn't know it doesn't return value for shields/boots and it's removed.

    Last edited by ratchetx; 09-17-2011 at 15:53. Reason: typos
    ratchetx is offline
    Send a message via Skype™ to ratchetx
    Spunkie
    Junior Member
    Join Date: Aug 2011
    Old 09-17-2011 , 17:01   Re: [TF2] The Quickening
    Reply With Quote #4

    Is there any graphical representation of the quickening in this mod, like lightning effects?
    Spunkie is offline
    ratchetx
    Member
    Join Date: Aug 2008
    Location: Lithuania
    Old 09-18-2011 , 04:57   Re: [TF2] The Quickening
    Reply With Quote #5

    Quote:
    Originally Posted by Spunkie View Post
    Is there any graphical representation of the quickening in this mod, like lightning effects?
    Indeed there are. It creates black cloud above the player and if player is outside he gets struck by multiple lightnings, kinda looked awkard when it was striking inside so i only made it when theres enough room above him.
    ratchetx is offline
    Send a message via Skype™ to ratchetx
    moxie2020
    Veteran Member
    Join Date: Aug 2011
    Old 11-15-2011 , 14:50   Re: [TF2] The Quickening
    Reply With Quote #6

    Is there a way to make this a bonus round\waiting for players plugin?
    moxie2020 is offline
    dbmiller5
    Senior Member
    Join Date: Jun 2011
    Old 11-17-2011 , 00:19   Re: [TF2] The Quickening
    Reply With Quote #7

    This looks very interesting!! I am considering making a dedicated server for just this, but I would like to talk to you about a small customization.
    dbmiller5 is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 11-17-2011 , 00:43   Re: [TF2] The Quickening
    Reply With Quote #8

    You might want to change up your timer code for the gas cloud a bit.
    Code:
        new Handle:entitypack = CreateDataPack();
        CreateTimer(7.0, RemoveCloud, entitypack);
        
        WritePackCell(entitypack, gascloud);
    to
    Code:
        CreateTimer(7.0, RemoveCloud, EntIndexToEntRef(gascloud));
    then
    Code:
    public Action:RemoveCloud(Handle:timer, any:ref)
    {
        new gascloud = EntRefToEntIndex(ref);
    
        if (IsValidEntity(gascloud))
        { ...
    Same for other timers involving entities.
    __________________
    Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc.
    Post in plugin threads with questions.
    Steam is for playing games.
    You will be fed to javalia otherwise.
    Psyduck likes replays.
    FlaminSarge is offline
    dbmiller5
    Senior Member
    Join Date: Jun 2011
    Old 11-17-2011 , 15:16   Re: [TF2] The Quickening
    Reply With Quote #9

    I could not get this to work. Since there is no .smx, I used the source mod compiler and compiled the standard source given. TF2_Items and Hooks are running.

    cvars used:
    tf2_quickening_enabled 1
    quickening_version 1.1

    No part of this works on my server. Am I missing something or is it just broken? Also, there are no error associated with this.
    dbmiller5 is offline
    FlaminSarge
    Veteran Member
    Join Date: Jul 2010
    Old 11-19-2011 , 04:48   Re: [TF2] The Quickening
    Reply With Quote #10

    This plugin does not work properly in its current state. It cannot detect bots taunting and does not normally detect players taunting (as the taunt command was changed to default to +taunt with the Manniversary update).
    __________________
    Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc.
    Post in plugin threads with questions.
    Steam is for playing games.
    You will be fed to javalia otherwise.
    Psyduck likes replays.

    Last edited by FlaminSarge; 11-21-2011 at 17:26.
    FlaminSarge is offline
    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 15:22.


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