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

[TF2] The Hidden Mod Redux (24.12.2022)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Plugin ID:
5259
Plugin Version:
1.37
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    The Hidden:Source-like mod for TF2
    Old 06-23-2016 , 10:06   [TF2] The Hidden Mod Redux (24.12.2022)
    Reply With Quote #1

    The Hidden Mod Redux

    Originally created by Matheus28 - link
    Then modified and improved by atomic-penguin(Eric G. Wolfe) and Daniel Murray - link

    Now redux by me, luki1412. I didn't want the mod to die, but the last version had a lot of problems. The main one being - crash when giving player a knife. EquipPlayerWeapon is the cause. I didn't want to use TF2Items just so I can replace 1 weapon for 1 person. I couldnt find a way to fix this but I did at last. TF2 Items is not required. I used to love this mod so Im bringing it back.



    Description:
    Never heard of this mod before? Its based on The Hidden:Source mod - https://www.hidden-source.com/. Basically a variant of One person vs Everyone else(like vs saxton hale). On the red team you have players(called team IRIS) with no special abilities but you have the quantity. On the blue team you have The Hidden. Its a permanently cloaked spy, only revealed when attacking or using his abilities. The objective is pretty simple - kill the hidden before he kills you.

    What's different from the version by atomic-penguin and Daniel Murray?


    Cvars:
    This plugin autocreates a config file, you can use to change cvars(in cfg/sourcemod). If I add new cvars, you have to remove this file so it gets recreated with the new cvars, or add them in yourself.
    PHP Code:
    //version cvar - do not edit
    sm_thehidden_version

    // Enables/disables the hidden mod redux
    sm_thehidden_enabled "1"

    // enables disables taunts- players cant taunt
    sm_thehidden_allowtaunts "1"

    //if taunts are enabled, blocks damage from them
    sm_thehidden_allowtauntdamage "0" 

    // Allow/disallow upgrading dispensers.
    sm_thehidden_allowdispenserupgrade "1"

    // Allow/disallow sentries
    sm_thehidden_allowsentries "0"

    // Set whether heavies have their primary weapons replaced with Brass Beast that does 5 times less damage
    sm_thehidden_replaceheavyprimaries "1"

    // Set whether pyros have their primary weapons replaced with Dragon's fury
    sm_thehidden_replacepyroprimaries "1"

    // Allow/disallow razorbacks for snipers
    sm_thehidden_allowrazorback "0"

    // Allow/disallow upgrading teleporters.
    sm_thehidden_allowteleporterupgrade "1"

    // Delay of the cluster bomb detonation.
    sm_thehidden_bombdetonationdelay "1.8"

    // Amount of bomb clusters(bomblets) inside a cluster bomb.
    sm_thehidden_bombletcount "6"

    // Magnitude of a bomblet.
    sm_thehidden_bombletmagnitude "50"

    // Maximum spread velocity for a randomized direction, bomblets are going to use.
    sm_thehidden_bombletspreadvel "50.0"

    // Cluster bomb throw speed.
    sm_thehidden_bombthrowspeed "1800"

    // Cluster bomb cooldown.
    sm_thehidden_bombtime "20.0"

    // Amount of hp used for calculating the Hidden's starting/max hp.
    sm_thehidden_hpbase "300"

    // This amount of hp, multiplied by the number of players, plus the base hp, equals The Hidden's hp.
    sm_thehidden_hpincreaseperplayer "70"

    // The Hidden's stamina.
    sm_thehidden_stamina "20.0"

    // Time til the Hidden dies without killing.
    sm_thehidden_starvationtime "100.0"

    // How much time the Hidden is visible for, after throwing the cluster bomb.
    sm_thehidden_visiblebomb "1.5"

    // How much time the Hidden is visible for, after taking weapon damage.
    sm_thehidden_visibledamage "0.5"

    // How much time the Hidden is visible for, when splashed with jarate, mad milk, or bonked.
    sm_thehidden_visiblejarate "1.0"

    // How much time the Hidden is visible for, when dashing.
    sm_thehidden_visiblepounce "0.25"

    // Forces bots to be snipers
    sm_thehidden_forcebotsclass "1" 
    Some of the cvars(mainly cooldown cvars) above wont take effect until the next round starts, because it would break the functionality of the mod. If it is a time period cvar, its not in seconds but in server ticks (0.01 is one tick). Default values should be fine for most servers.

    Commands:
    PHP Code:
    sm_nexthidden <player//console command that forces the player specified to be the next hidden, regardless of who wins the round. Cant select a player that isnt on RED/BLU
    sm_hiddennext <player//same as sm_nexthidden
    sm_hiddenhelp //console command, the help menu
    sm_hiddenpref //console command, the pref menu
    sm_hiddenpreference //same as sm_hiddenpref

    //each command above can be triggered from chat by replacing sm_ with / for silent execution or ! for public execution 
    Installation:
    It was tested and made for sourcemod 1.11 so I recommend to compile it yourself or use the attached compiled version.
    This mod only works on arena maps, so you might want to set your server's starting map to an arena map.
    SteamWorks is needed only for changing the game in server browser. This plugin autogenerates a config file on load, in tf/cfg/sourcemod.

    Installing the plugin without SteamWorks:


    Installing the plugin with SteamWorks(thread link):


    How to compile the plugin yourself:


    Credits:
    - Matheus28 - for creating the original mod
    - atomic-penguin(Eric G. Wolfe) and Daniel Murray - for updating the mod
    - the person who created the cluster bomb code - sorry I forgot who that was, its been a while
    - creators of SMLIB - I borrowed a couple of functions
    - everyone who helped me test it or provided help with the code
    - KyleSanderson for SteamWorks
    - Dr. McKay for morecolors
    - Blueberryy - Russian translation(now outdated)

    Changelog:


    Github - link

    Gamedata - download
    Attached Files
    File Type: zip translations.zip (1.9 KB, 135 views)
    File Type: sp Get Plugin or Get Source (TheHiddenModRedux.sp - 95 views - 68.4 KB)
    File Type: smx TheHiddenModRedux.smx (41.3 KB, 117 views)
    __________________

    Last edited by luki1412; 12-26-2022 at 08:30. Reason: fixed links
    luki1412 is offline
     



    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 06:08.


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