PDA

View Full Version : How do I use the tf2items.weapons.txt?


Inspierio
09-29-2016, 06:37
I have this as my code for the text file
"custom_weapons_v3"
{
//This tells TF2Items to apply to all players
"*"
{
//This tells TF2Items to apply to all weapons
"*"
{
//Attribute 1: ID 731, enable
"1" "731 ; 1"

//Makes sure guns keep all their previous attributes
"preserve-attributes" "1"
}
}
}

But it doesn't seem to allow me to inspect ingame, what is the problem here? Please help, i'm in desperate need for this, thanks. :)

Potato Uno
09-29-2016, 07:53
Use the definition index of the attribute, not the attribute name.

Inspierio
09-29-2016, 08:01
Use the definition index of the attribute, not the attribute name.

I tired that, still doesn't work.