AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   TF2Items (https://forums.alliedmods.net/forumdisplay.php?f=146)
-   -   How do I use the tf2items.weapons.txt? (https://forums.alliedmods.net/showthread.php?t=288406)

Inspierio 09-29-2016 06:37

How do I use the tf2items.weapons.txt?
 
I have this as my code for the text file
Code:

"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

Re: How do I use the tf2items.weapons.txt?
 
Use the definition index of the attribute, not the attribute name.

Inspierio 09-29-2016 08:01

Re: How do I use the tf2items.weapons.txt?
 
Quote:

Originally Posted by Potato Uno (Post 2457852)
Use the definition index of the attribute, not the attribute name.

I tired that, still doesn't work.


All times are GMT -4. The time now is 20:57.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.