AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   TF2Items (https://forums.alliedmods.net/forumdisplay.php?f=146)
-   -   TF2Items FAQ (https://forums.alliedmods.net/showthread.php?t=179352)

lizzy 06-10-2020 05:04

Re: TF2Items FAQ
 
Is there a hard-coded limit of 16 attributes in tf2 or is that simply imposed by the plugin?

asherkin 06-10-2020 05:11

Re: TF2Items FAQ
 
Quote:

Originally Posted by lizzy (Post 2704913)
Is there a hard-coded limit of 16 attributes in tf2

The limit comes from TF2, but it was increased from 16 to 20 back in 2017 (and TF2Items updated to match.)

ksyko 02-08-2021 05:49

Re: TF2Items FAQ
 
Can someone please check these files. Cant tell what im doing wrong.
I am not able to get the weapon changes.

tf2.items.txt (sourcemod/gamedata/)

Code:

"Games"
{
        "tf"
        {
                "Offsets"
                {
                        "GiveNamedItem"
                        {
                                "windows"      "477"
                                "linux" "484"
                                "mac"  "484"
                        }
                }
        }
}

tf2items.weapons.txt (sourcemod/configs)
Code:

"custom_weapons_v3"
{
        "*"
        {
                "230"
                {
                        "level"  "1"
                        "quality"              "6"
                        "1"                    "305; 1"
                        "2"                    "308; 1"
                        "3"                    "41 ; .6"
           
                }


                "41"
                {
                        "level"  "1"
                        "quality"              "6"
                        "1"    "280 ; 2"
                        "2"    "5 ; 3"
                        "3"    "488 ; 1"
                        "4"    "100 ; .3" 
                        "5"    "77 ; .75"
                }
        }
}


asherkin 02-08-2021 05:51

Re: TF2Items FAQ
 
Have you compiled and loaded the tf2items_manager plugin?

ksyko 02-08-2021 06:10

Re: TF2Items FAQ
 
Quote:

Originally Posted by asherkin (Post 2736123)
Have you compiled and loaded the tf2items_manager plugin?

Havent compiled. But have the old plugin with me.

Code:

tf2items_manager_reload
L 02/08/2021 - 10:57:50: [tf2items_manager.smx] Reloading items list


If needed to compile, how do I compile. Tried compiling it (ran configure.py), got this "Exception: Could not find a valid path for MMSOURCE19"... Im on linux.

Edit: Was able to solve mmsource19 issue. Now i get this: Exception: Could not determine repository version
Edit2: I gave a random version (3,3) and compiled it. Got the smx file, using the same. Still not able to see the changes.
Edit3: Just had to validate game files (had messed with the official item schema) and restart the server

Thanks for making this.


All times are GMT -4. The time now is 12:49.

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