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

[TF2] PlayerClassData - Edit Max Speed, Health and Ammo


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
reBane
Senior Member
Join Date: May 2020
Plugin ID:
8365
Plugin Version:
23w03b
Plugin Category:
Technical/Development
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    16 
    Plugin Description:
    Change Class Default Values for Max Speed, Max Health and Ammo Limits
    Old 01-11-2023 , 15:24   [TF2] PlayerClassData - Edit Max Speed, Health and Ammo
    Reply With Quote #1

    TF2 PlayerClassData

    Replace some TFPlayerClassData_t values using plugins.

    This includes the default values, per class, for:
    • max speed
    • max health
    • max armor (unused in TF2)
    • max ammo (per type; primary, secondary, metal, idk what 4-6 do)
    • builables (TFObjectType, 4 for none)

    Why is this interesting?

    The default approach is to manipulate value on the client after spawning using EntProps or attributes. This can mess with attributes on items, making certain manipulations rather inconvenient.

    If you want to rebalance the game, you can now do so using the base values, keeping maximum compatibility with any items or other plugins that apply attributes to the player without things breaking.

    If you want to set the maximum speed above 520 you will need another plugin that removes that specific hardcoded limit: TF2 Move Speed Unlocker or tf_maxspeed_patch

    Installing

    Drop plugin and gamedata file on your server. By default the plugin does nothing.

    Module
    (No extra plugin thread as I think that might get confusing)

    TF2 PlayerClassConfig


    __________________
    Plugins & LibrariesListingGitHubDosMikeTools ▶ ToDo

    Last edited by reBane; 01-22-2023 at 09:57.
    reBane is offline
     



    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 07:10.


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