Changing Damage of stock weapons in tf2 (not sure if this is the place to post this..)
Trying to change the damage of stock weapons of tf2. I managed to do it for the sniper rifle, but not every other weapon. I am new to this code (especially Valve's code) of c++ and not sure where to look for this type of stuff. It seems that the damage types are hardwired to their respective damage types (bullet, fire, rocket, demo rocket, etc) by I can be surely wrong. If there is a place for this type of discussion to happen, then I would like to know. Thank You for your time.
for change stock weapons damage, you must play with weapon scripts. They are in "scripts" folder, but in live TF2 these files are in vpk files and are encrypted, so you need to decrypt these files (more info here and here. Decrypt files that you want (export a txt file), change values, save this as txt file (not needed to encrypt again) and put this txt in "scripts" folder inside your mod.
I.e, i wish to change Scout Bat values. I enter to tf2_misc_dir.vpk (for open this file I recommend GCFScape ), enter "scripts" folder and extract "tf_weapon_bat.ctx". Then, decrypt it (using "E2NcUkG2" like encryption key, check here), and change "damage" attribute to your value, like 65. Save this file al put it in you mod "scripts" folder like "tf_weapon_bat.txt". And thats all.
More info about weapon scripts here.