AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   TF2Items (https://forums.alliedmods.net/forumdisplay.php?f=146)
-   -   Issue with "preserve-attributes" function (https://forums.alliedmods.net/showthread.php?t=314022)

xSquared 01-31-2019 19:19

Issue with "preserve-attributes" function
 
So I can't seem to get the preserve attributes function to work.
I have attempted to set the first number to be higher than that of the last of the actual item's stats, but no use. Here's my code:

Code:

                "18"
                {
                        "preserve-attributes"        "1"
                        "quality"                "6"
                        "level"                        "1"

                        "1"                        "6 ; 0.1"
                        "2"                        "4 ; 99999999"
                }
                "513"
                {
                        "preserve-attributes"        "1"
                        "quality"                "6"
                        "level"                        "1"

                        "1"                        "408 ; 1"
                }
                "237"
                {
                        "preserve-attributes"        "1"
                        "quality"                "6"
                        "level"                        "1"

                        "2"                        "4 ; 9999999"
                }


asherkin 01-31-2019 19:28

Re: Issue with "preserve-attributes" function
 
Your first 2 are correct, the attribute indexes should always start from 1.

Are your item modifications working at all? Is it just always overwriting all the attributes?

xSquared 01-31-2019 19:31

Re: Issue with "preserve-attributes" function
 
It's just that the original weapon's stats are gone, it replaces them as you said

xSquared 01-31-2019 19:47

Re: Issue with "preserve-attributes" function
 
On top of that, It used to work correctly

xSquared 02-01-2019 22:04

Re: Issue with "preserve-attributes" function
 
Really wishing I could get that working but I guess not. Whenever Is search for it anywhere, nobody has an answer, and nobody has the same problem.


All times are GMT -4. The time now is 23:31.

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