[TF2] Hidden dev attributes
2 Attachment(s)
Enables the use of attributes hidden into the code that never got added into items_game.txt. Full list of those attributes is located in configs/tf2nativeattribs/tf2hiddenattribs.txt. You can use the attribute names or indexes in other plugins and mvm popfiles. You can also add your own custom attributes into the directory and use the TF2Attributes plugin to manage them
Convars: sm_hiddenattribs_reload - Reloads the attribute files located in configs/tf2nativeattibs directory sm_hiddenattribs_enabled 0/1 (default: 1) - enables the plugin. Only works on map change and only if it was never set to 1 before. Attribute List:
Attribute descriptions and examples ->
Changelog: Code:
1.2 Extract all archive contents into addons/sourcemod Updated gamedata as of 18-07-22 by PC Gamer |
Re: [TF2] Hidden dev attributes
Nice work! Had one in development myself as an MM:S plugin; just never had an incentive to take it past prototyping.
Very good find on ReadEncryptedKVFile to load a file into KeyValues*, though you should probably call KeyValues::DeleteThis() to avoid leaking memory. |
Re: [TF2] Hidden dev attributes
Very interesting. I'm looking forward to a Windows version so I can try it.
|
Re: [TF2] Hidden dev attributes
1 Attachment(s)
Quote:
There is an interesting bug I tracked down where the KeyValues file needed to be in the source folder on symlinked setups on Windows, but I don't think most people are running those. [file removed -- use the download in the original post] |
Re: [TF2] Hidden dev attributes
Awesome. Thanks for this.
|
Re: [TF2] Hidden dev attributes
1.1
Updated windows signatures thanks to nosoop, might be working on windows servers now Updated attributes descriptions to make it more clear which attributes are not working The logic is only called once when plugin is loaded Added KeyValues::deleteThis call to free kv memory |
Re: [TF2] Hidden dev attributes
Thanks for the update. I can confirm that it works on Windows. As rafradek mentioned some attributes work, others don't.
A couple early observations: Attribute 4335 "swimming mastery" works, but only if you change "attribute_class" to "swimming_mastery" in the config file. Attribute 4354 "mult teleporter recharge rate" increases charge time. You can use also use inverted percentage to reduce charge time. I haven't tested all Attributes but it appears that Attributes 4324, 4325, 4326, 4332, 4344, 4358, 4352, 4365, 4376, 4377, 4378 aren't working on Windows. Do they work on Linux? A lot of these attributes DO work as advertised so great work rafradek! :bacon!::bacon!: |
Re: [TF2] Hidden dev attributes
How can I add my own attributes and will it read custom attribute plugins from CW3?
|
Re: [TF2] Hidden dev attributes
Quote:
|
Re: [TF2] Hidden dev attributes
Quote:
|
All times are GMT -4. The time now is 12:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.