This extension allows the attributes, level and quality of items to be modified per player as they are given by the server.
You can join #tf2items @ irc.gamesurge.net if you need help with the extension.
Download & Source:
Download Builds
The tf2items_manager plugin does not come compiled in these builds, you will need to compile it yourself if you want to use it.
Source Code
Instructions:- Copy all files in the release package to your server maintaining the directory structure
- Edit tf2items.weapons.txt (In "addons/sourcemod/configs/") according to who you want to get weapons
- Type 'sm exts load tf2items'
- Join the server
- ???
- Profit
Notes:- The attributes available for tf2items.weapons.txt are here (ignore min/max values).
- The first key is the number above the attribute you want, and the second is the value.
- If you load the extension while on the server, it will attempt to hook using a player in the server, otherwise it will only take effect after the next player joins.
- To reload the tf2items.weapons.txt file you can use 'tf2items_manager_reload'.
- The included tf2items.weapons.txt file is an example and was made very randomly.
Quality Colours:
Atributions & Thanks:- AzuiSleet - Reversed CScriptCreatedItem and released it publicly, along with writing most of the item editing code below.
- Damizean - Fixed padding for CScriptCreatedItem in Linux. Wrote the SourcePawn Interface and the SourceMod item manager.
- Voogru - Inspiring the creation of this. Helped with fixing and improving the CScriptCreatedItem class used after the 119 update.
- Wazz - Wrote "Shit not be void" in #sourcemod and revealed that GiveNamedItem returned CBaseEntity *. Helped with improving the CScriptCreatedItem class.
- Psychonic - "How did you write the wearable natives asherkin?" "I got all the code from psychonic, then disregarded it and wrote it from scratch."
- MatthiasVance - Reminded me to comment out '#define INFINITE_PROBLEMS 1'.
- Drunken_F00l - Inspiring the creation of this.
__________________