So while I was complaining about attaching hats in MvM in chat, Turbo Lover decided to tell me some things about how bot attributes work. Note that this is a Steam conversation, so it's not as in-depth as his full guide will be (when that guide comes out, I'll lock this thread and link to his instead).
This is the full list of attributes in TF2: http://pastebin.com/nPphenm1
Note: I've removed the Steam chat formatting for ease of reading; each 'paragraph' is a separate message.
Here's a sample picture, provided by TL:
If you have any questions about this, feel free to message TL on Steam.
This is the full list of attributes in TF2: http://pastebin.com/nPphenm1
So to give your bot an attribute, you look at the list and find "Attributes Associated" and pick out the attribute you want, then put it in your TFBot under CharacterAttributes like so
CharacterAttributes
{
"damage bonus" 1.5
}
This gives the bot a 50% damage bonus
Now let's say you want to give it a firing rate bonus
Scroll until you find the Associated Attribute "fire rate bonus" and put it in CharacterAttributes like before
CharacterAttributes
{
"damage bonus" 1.5
"fire rate bonus" 0.5
}
Now why is that one 0.5 and not 1.5 for a 50% bonus? Well in the list, under Attribute Format, you'll find that damage bonus is a Percentage, and fire rate bonus is an inverted percentage
Percentages have a positive effect if they are above 1
Inverted Percentages are the opposite, and are positive effects when below 1, a fire rate bonus of 1.5 is actually 50% slower firing rate
Attributes can also be Additive, or Additive Percentage
Additive is for effect like "Set DamageType Ignite" where any value that isn't 0 will cause it to set people on fire or effects like "max health additive bonus" where the value you put, is the amount by which your health is increased
Additive Percentage is a percentage from 0 to 100, like "slow enemy on hit" the value you enter is the chance it will slow
Finally, I didn't make or compile this, this dude did http://steamcommunity.com/sharedfiles/filedetails/?id=113191044#2801
I just put all 5 pages into one
Oh and keep in mind certain attributes are limited by what type of weapon they are used on and some by what kind of projectile is being used, hte list of what the attribute allowed is under attribute format
Note: I've removed the Steam chat formatting for ease of reading; each 'paragraph' is a separate message.
Here's a sample picture, provided by TL:
If you have any questions about this, feel free to message TL on Steam.