AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   TF2Items (https://forums.alliedmods.net/forumdisplay.php?f=146)
-   -   Apply stat to all weapon variants (https://forums.alliedmods.net/showthread.php?t=325111)

whiteskypony 06-08-2020 12:22

Apply stat to all weapon variants
 
Im doing some weapon balance on my server adding buff and nerfs to some weapons using the index of it and the strange variant, but i dont have an easy way to apply these changes to the decorated skins the weapons may have, and i dont think the index list is updated with all of them.

In resume as the tittle says is there an easy way to apply stat to all weapon variants, right now im just doing it like this.

Code:

//// ---------- SMG ----------
                "16"
                {
                        "1"                    "4 ; 1.20"
                        "2"                                                "78 ; 1.20"

                        "preserve-attributes" "1"
                }
               
                "203"
                {
                        "1"                    "4 ; 1.20"
                        "2"                                                "78 ; 1.20"

                        "preserve-attributes" "1"
                }
               
                "1149"
                {
                        "1"                    "4 ; 1.20"
                        "2"                                                "78 ; 1.20"

                        "preserve-attributes" "1"
                }
                "15001"
                {
                        "1"                    "4 ; 1.20"
                        "2"                                                "78 ; 1.20"

                        "preserve-attributes" "1"
                }
                "15022"
                {
                        "1"                    "4 ; 1.20"
                        "2"                                                "78 ; 1.20"

                        "preserve-attributes" "1"
                }

And all the others SMG decorated skins.

PC Gamer 06-26-2020 23:20

Re: Apply stat to all weapon variants
 
I don't think it will allow you to post a weapon classname such as tf_weapon_smg and have the attributes apply to all SMGs. That would be a nice feature though.


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

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