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

[Swarm]Swarm_Drone_Force_Ragdoll


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Plugin ID:
6486
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Alien Swarm
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Forces alien drones to ragdoll and gibs underheavy load for perf reasons
    Old 03-27-2019 , 23:29   [Swarm]Swarm_Drone_Force_Ragdoll
    Reply With Quote #1

    Hi,
    This plugin Forces alien drones to ragdoll and gibs underheavy load for perf reasons.

    About:
    I had a problem with the default game of handling alot of alien deaths I mean 100s clients would either endup @10fps or crash due to particles the game does not manage limited on the amount of effects shown to clients, this fixes that by default and can now play at an expectable framerate with 100s of aliens.

    Problem with forcing ragdolls


    Using cvar "rd_alien_instagib 1" helped with perf but removed ragdolls but blowing up 100aliens could a crash.
    I can't show an image of a particle crash because it crashes

    This will help alot with particle crashes with 100s of aliens but will not prevent them because other factors in gameplay.
    There is cvars to playwith to change however you like.

    For local hosting:
    Spoiler


    Cvars: swarm_drone_force_ragdoll.cfg auto created when plugin is loaded.
    PHP Code:
    // percent chance blasts will cause ragdolls to fly up
    // -
    // Default: "5"
    // Minimum: "0.000000"
    // Maximum: "100.000000"
    swarm_chance_to_fly "5"

    // uppderlimit to amount of deaths to show to clients before culling not counted when alien ragdolls
    // -
    // Default: "30.0"
    // Minimum: "1.000000"
    swarm_max_shown_deaths "30.0"

    // max amount of deaths to show in 1 server frame
    // -
    // Default: "30"
    // Minimum: "1.000000"
    swarm_max_shown_deaths_frame "30"

    // uppderlimit to amount of drone ragdolls once exceeded will cause aliens to gib instead(perf reasons) see "swarm_max_shown_deaths" & "swarm_shown_deaths_per_sec"
    // -
    // Default: "30.0"
    // Minimum: "1.000000"
    swarm_ragdoll_max_count "30.0"

    // max ragdolls that can be shown per second while at the upperlimit
    // -
    // Default: "5.0"
    // Minimum: "1.000000"
    swarm_ragdoll_per_sec "5.0"

    // max deaths that can be shown per second while at the upperlimit
    // -
    // Default: "60.0"
    // Minimum: "1.000000"
    swarm_shown_deaths_per_sec "60.0" 
    Attached Files
    File Type: sp Get Plugin or Get Source (Swarm_Drone_Force_Ragdoll.sp - 403 views - 5.8 KB)
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D

    Last edited by Lux; 05-08-2020 at 17:06.
    Lux 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 22:39.


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