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

[CS:GO] Serverside Ragdolls


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dreyson
Member
Join Date: Nov 2019
Location: Utah
Plugin ID:
7891
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Creates server-sided ragdoll upon death, rather than client-sided one.
    Old 12-20-2021 , 20:34   [CS:GO] Serverside Ragdolls
    Reply With Quote #1

    Description
    Replaces clientsided player ragdolls with serversided ones that are tied to the player.

    If you are getting crashes I highly recommend using this vphysics crash avoider.
    https://github.com/TroubleInTerroris...ash_avoider.sp
    Attached Files
    File Type: sp Get Plugin or Get Source (csgo_server_dolls.sp - 90 views - 2.8 KB)
    File Type: smx csgo_server_dolls.smx (4.3 KB, 42 views)

    Last edited by Dreyson; 08-14-2023 at 11:59. Reason: New Update
    Dreyson is offline
    backwards
    AlliedModders Donor
    Join Date: Feb 2014
    Location: USA
    Old 12-20-2021 , 21:31   Re: [CS:GO] Server Sided Ragdolls
    Reply With Quote #2

    You probably just want this on player death event

    PHP Code:
    int ragdoll GetEntPropEnt(clientProp_Send"m_hRagdoll");
    if(
    ragdoll && IsValidEdict(ragdoll))
        
    AcceptEntityInput(ragdoll"Kill"); 
    backwards is offline
    Dreyson
    Member
    Join Date: Nov 2019
    Location: Utah
    Old 03-11-2022 , 18:44   Re: [CS:GO] Server Sided Ragdolls
    Reply With Quote #3

    New Update 1.0:

    Client ragdolls now disappear and ownership is transferred to the client
    Server ragdolls will be pushed when created
    Cleaned up code
    Dreyson is offline
    Dreyson
    Member
    Join Date: Nov 2019
    Location: Utah
    Old 12-18-2022 , 03:07   Re: [CS:GO] Server Sided Ragdolls
    Reply With Quote #4

    New update:
    Rewritten plugin
    Uses OnTakeDamagePost and uses the attacker's eye position and damage to apply force
    Ragdoll will ignite when player dies to fire.
    Dreyson is offline
    Dreyson
    Member
    Join Date: Nov 2019
    Location: Utah
    Old 08-14-2023 , 12:00   Re: [CS:GO] Serverside Ragdolls
    Reply With Quote #5

    New Update.
    - Rewritten code (No longer uses take damage)
    - Improved Ragdoll Velocity system.
    Dreyson 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 19:25.


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