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

[TF2] All-Class Dead Ringer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Plugin ID:
6940
Plugin Version:
1.2.8d
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A functional all-class dead ringer for almost every player.
    Old 02-11-2020 , 02:36   [TF2] All-Class Dead Ringer
    Reply With Quote #1

    This plugin was made using Mentlegen's simple plugin as a base.

    -= Credits =-

    = Mentlegen, for his original plugin that was used as a base. Even though he disappeared from Alliedmodders. =
    = codename-G-, for their Fake Death plugin, created before the Dead Ringer was a thing, in which I took parts of the corpse creation code. =
    = nosoop, for solving the death notice crisis before version 1.2.0 whilst I stood by the sidelines, not being much help. Thanks, and sorry for not crediting you sooner, I completely forgot about your aid. =


    -= Description =-

    An All-Class Dead Ringer for TF2. This was mainly an experiment, so expect bugs.
    Upon activation, a fake corpse + ammo pack + weapon is dropped, and the scoreboard and top-of-screen reporter's status for it's user will report them as 'dead' for as long as the cloak is active.


    -= Features =-

    - Fake corpse + fake ammo pack + weapon drop as well as fake death sounds.
    - 3 seconds speed boost + afterburn immunity. (toggleable and controllable)
    - Fake 'final hit' hitsounds.
    - Recharge and cloak timers.
    - Right-mouse click to drop cloak.

    -= To-do =-

    - Actual energy system that can be replenished by ammo.
    - Proper fix for sideways corpse spawn that occurs while disguised. For now, the spy may appear with Uber for a split second.
    - [TODO BUG-FIX] Proper fix for Heavies to stop revving/shooting their minigun and Snipers to unscope from their sniper, once cloaked.
    - [TODO BUG-FIX] Fix healing condition still staying on a healed patient that uses AC-DR. Will essentially give them regen and %150 of hp.

    -= ConVars =-

    sm_ac_dr_recharge_timelimit [0.0/ANY] = Set the time limit until the AC-DR fully recharges.
    sm_ac_dr_cloak_timelimit [0.0/ANY] = Set the time limit the AC-DR cloaks the user for.
    sm_ac_dr_speedboost [0.0/ANY] = Time of speed-boost upon AC-DR usage. 0.0 = disable.
    sm_ac_dr_weapon_time [0.0/ANY] = Time until weapons can be used again upon AC-DR uncloaking. 0.0 = disable.
    sm_ac_dr_afterburn_immune [0/ANY] = Time of afterburn-immunity upon AC-DR usage. 0.0 = disable.
    sm_ac_dr_friendlydis [0/1] = Makes Spies drop the corpse of the friendly disguise instead of themselves.
    sm_ac_dr_classrestrict_spy [0/1] = Restrict Spies from using the AC-DR.
    sm_ac_dr_extra_effects [0/7] = Recreate other effects that the normal DR couldn't. (BITFLAGS) 1 = Attacker benefits. | 2 = Ammopack gives ammo. | 4 = Engineer buildings fake explode and killfeed.
    sm_ac_dr_bots [0/3] = Toggle bot behavior with AC-DR. (BITFLAGS) 1 = Enable on spawn. | 2 = Enable when available after recharging.
    sm_ac_dr_damage_res_max [0/ANY] = Damage is multiplied by this value for cloaked AC-DR users with HIGH charge. Do <0.9 for lesser damage.
    sm_ac_dr_damage_res_min [0/ANY] = Damage is multiplied by this value for cloaked AC-DR users with LOW charge. Do <0.9 for lesser damage.
    sm_ac_dr_teams [0/15] = Choose AC-DR availability for teams. Mainly for MVM. (BITFLAGS) 1 = Team RED can use. | 2 = Team BLUE can use. | 4 = Set team restrict for MVM. | 8 = Set team restrict for all other gamemodes.

    sm_fd = Toggle the All-Class Dead Ringer.
    sm_fd_ply = Toggle the All-Class Dead Ringer on a specified player. (Admin-only)

    TF2_AC_DR.cfg will be generated into cfg/sourcemod for you to control these CVars.

    -= Further Info =-

    - This triggers the actual Dead Ringer's fake death mechanic, adding a bit more to feign death better. (Death state on top-of-screen reporter, unfinished fix for corpse spawning sideways if spy is disguised, etc.)
    - The fix for the sideways fake corpse will result in the spy blinking into uber for a split-second before cloaking.

    -= Releases =-
    Spoiler
    Attached Files
    File Type: sp Get Plugin or Get Source (TF2_AC-DR.sp - 88 views - 89.5 KB)
    __________________
    ragdoll spam, that is all

    Steam profile, where I game, obviously.
    Youtube channel, where I do Stick Death Maze animations and some other stuff.
    no plugin requests, sorry


    My Plugins:
    -search list-
    Modified Plugins:
    1 | 2 | 3 | 4

    Last edited by Shadowysn; 04-26-2023 at 10:38. Reason: Updated to Version 1.2.8d
    Shadowysn is offline
    Shadowysn
    Senior Member
    Join Date: Sep 2015
    Location: Location:
    Old 02-11-2020 , 05:22   Re: [TF2] All-Class Dead Ringer
    Reply With Quote #2

    The damn forum secretly switched the compiler to 1.1 while I had initially set it up to 1.8.

    Last edited by Shadowysn; 12-06-2021 at 09:36.
    Shadowysn is offline
    Shadowysn
    Senior Member
    Join Date: Sep 2015
    Location: Location:
    Old 07-02-2021 , 10:13   Re: [TF2] All-Class Dead Ringer
    Reply With Quote #3

    Updated to Version 1.2.0, new code has no more need for an extension and gamedata.

    Last edited by Shadowysn; 09-09-2021 at 12:00.
    Shadowysn 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 01:24.


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