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

[TF2] MvM Gibs Restore


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Plugin ID:
8451
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Restore gibbing for Mann and/or Machines.
    Old 05-03-2023 , 03:25   [TF2] MvM Gibs Restore
    Reply With Quote #1

    Sigsegv made their own fix of the MvM gibs 8 years ago, but it's a fix using a different framework than Sourcemod and is not compatible with Windows servers.

    This is a hacked-together alternative out of curiosity. It removes the initial ragdoll as it's both too early and too late to change it's properties with default Sourcemod functions and spawns a new ragdoll that's set to spawn gibs.
    I tried my best to make it work similarly to the gibbing system, including 10-damage-threshold-or-crit-to-gib.
    Works fine from my testing, but I expect there can be rare one-frame-shenanigans that can cause ragdolls to either duplicate or vanish. (Unconfirmed if this can happen, though.)

    Code:
    Version 1.0.0
    - Initial release.
    -= ConVars =-

    sm_mvm_gibs_enable 1.0 [0.0/1.0] = Enable the MvM Gibs Restore plugin.
    sm_mvm_gibs_teams 3.0 [0.0/3.0] = Choose which team in MvM can gib. (BITFLAGS)
    1 = RED (MANN) can gib.
    2 = BLU (MACHINE) can gib.
    Attached Files
    File Type: sp Get Plugin or Get Source (MvMGibsRestore.sp - 134 views - 8.8 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; 05-03-2023 at 03:57.
    Shadowysn 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 02:08.


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