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

[TF2] Serverside Ragdolls


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Plugin ID:
8032
Plugin Version:
1.0.1
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Use commands to force server ragdolls for players.
    Old 04-18-2022 , 02:53   [TF2] Serverside Ragdolls
    Reply With Quote #1

    This is not a plugin for conventional server usage.



    This plugin allows admins to set the number of times to have players use a server-sided ragdoll in place of the conventional client-side one.
    Beware, this is an unfinished plugin; there WILL be a few bugs and glitches.
    Plus, server-side ragdolls can eat into bandwidth, so it's not recommended to use this outside of local or less-intensive games/servers.

    Cosmetics are recreated on server ragdolls as fake prop_dynamic_override entities bonemerged to the model. (They don't have any custom colors or effects yet.)
    Fire is half-recreated as well.
    By default, gibs won't spawn and are replaced with the server-side ragdoll. Server-side gibs have not been created as an option yet.

    -= ConVars/Commands =-
    tf_server_ragdoll_collision 1 - min:0/max:2
    ^ Which collision to use for server ragdolls.
    0 = None. (Collide with everything)
    1 = Debris. (Don't collide with players or everything else, like projectiles)
    2 = Pushaway. (collide with everything except players)

    tf_server_ragdoll_force 0 - min:0/max:3
    ^ Force ragdolls to automatically be server sided on the specified teams. (THESE ARE BITFLAGS, COMBINE THEM)
    1 = RED
    2 = BLU

    sm_svrag <client> <num> = Manually force server ragdoll on a specified player.
    Special parameters for <num>: inf (toggle infinite server ragdolls)

    -= Further Info =-

    - The plugin automatically adds a function to the admin menu called 'Force server rag' that lets you add 1 to the available times a server ragdoll will be forced on a chosen player.


    -= Releases =-
    Code:
    Version 1.0.1
    - Added tf_server_ragdoll_collision and tf_server_ragdoll_force.
    Version 1.0.0d
    - Fixed modeless prop_dynamic wearable entities from spawning and piling up, unnecessarily filling the edict count and leading to a crash if plugin is heavily used.
    Version 1.0.0c
    - Renamed sm_fsrag_manual to sm_svrag.
    Version 1.0.0b
    - Fixed clientside gibs still spawning.
    Version 1.0.0
    - Initial release.
    Attached Files
    File Type: sp Get Plugin or Get Source (ImportantRagdoll.sp - 259 views - 30.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; 08-15-2022 at 12:31. Reason: Moved compiler to 1.10 just so it can compile again
    Shadowysn is offline
    Seamusmario
    Member
    Join Date: Jun 2017
    Location: United States
    Old 06-24-2022 , 23:31   Re: [TF2] Serverside Ragdolls
    Reply With Quote #2

    Interesting concept. However i have a minor suggestion for this plugin.
    Could there be a cvar that enables collision for the ragdolls?
    __________________
    uhhhhhhhh
    Seamusmario is offline
    Shadowysn
    Senior Member
    Join Date: Sep 2015
    Location: Location:
    Old 07-07-2022 , 04:56   Re: [TF2] Serverside Ragdolls
    Reply With Quote #3

    Quote:
    Originally Posted by Seamusmario View Post
    Interesting concept. However i have a minor suggestion for this plugin.
    Could there be a cvar that enables collision for the ragdolls?
    That's actually a good idea, I can't believe I didn't think of that at any point.

    I found a suitable collision group that seems to let everything except players collide, so projectiles like pipebombs and stickybombs will bounce off the ragdolls.
    I'm going to make a cvar soon.
    Shadowysn is offline
    SashaNight
    Junior Member
    Join Date: Aug 2018
    Old 08-15-2022 , 11:08   Re: [TF2] Serverside Ragdolls
    Reply With Quote #4

    It says failed to compile, does this require an update or could it be uploaded as an SMX?
    SashaNight is offline
    Shadowysn
    Senior Member
    Join Date: Sep 2015
    Location: Location:
    Old 08-15-2022 , 12:33   Re: [TF2] Serverside Ragdolls
    Reply With Quote #5

    Quote:
    Originally Posted by SashaNight View Post
    It says failed to compile, does this require an update or could it be uploaded as an SMX?
    I selected the compiler for SourceMod 1.8 intended for backwards compatibility but it just dies from very, very odd warnings that don't line up with my experience in scripting.
    So I changed it to the compiler for 1.10.

    Why in the world is it like this?

    Last edited by Shadowysn; 08-15-2022 at 12:33.
    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 06:20.


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