AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   TF2Items (https://forums.alliedmods.net/forumdisplay.php?f=146)
-   -   Add attribute problem (https://forums.alliedmods.net/showthread.php?t=199176)

NewbieSoldier 10-25-2012 03:30

Add attribute problem
 
This is my set
Code:

"custom_weapons_v3"
{
        "STEAM_0:1:123456789"
        {
                "205"
                {
                        "level"        "100"
                        "quality"        "10"
                        "1"        "6 ; 0.25 "
                        "2"        "134 ; 2 "
                        "3"        "4 ; 9.0 "
                }
        }
}

only first ("1" "6 ; 0.25 ") attribute is effective
and I change to like this
Code:

                        "1"        "134 ; 2 "
                        "2"        "6 ; 0.25 "
                        "3"        "4 ; 9.0 "

still is the first one ("1" "134 ; 2 ")

but if I change like this
Code:

                        "1"        "134 ; 2 ;"
                        "2"        " ;  "
                        "3"        " ;  "
                        "4"        "6 ; 0.25 "
                        "5"        " ;  "
                        "6"        " ;  "
                        "7"        "4 ; 9.0 "

then all of attribute will be effective

DarthNinja 10-25-2012 18:52

Re: Add attribute problem
 
Are you using the snapshot version?

NewbieSoldier 10-25-2012 22:10

Re: Add attribute problem
 
Quote:

Originally Posted by DarthNinja (Post 1825764)
Are you using the snapshot version?

if I put "6 ; 0.25 " in first ("1" "6 ; 0.25 "), only will fire faster
(don't have more clip and particle effect)

if I put "4 ; 9.0 " in first ("1" "4 ; 9.0 "), only will have more clip
(don't have fire faster and particle effect)

and what my test is after I change, reload file, use that weapon and fire

Ugleh 11-28-2012 02:30

Re: Add attribute problem
 
For the particle effect, try a value already used in the items_game file like value 20.
Also you do not need a space after the text and the end quote.
Also, maybe u might need to use set_attached_particle_static instead of set_attached_particle, as set_attached_particle looks to be for hats... cant be 100% sure though. the attribute for set_attached_particle_static is 370


All times are GMT -4. The time now is 05:59.

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