Raised This Month: $32 Target: $400
 8% 

TF2Items - Items with custom attributes.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 04-08-2012 , 04:44   Re: TF2Items - Items with custom attributes.
#1461

It's been answered in the thread before. Please read.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
pTu
Senior Member
Join Date: Nov 2010
Location: Poland
Old 04-08-2012 , 09:19   Re: TF2Items - Items with custom attributes.
#1462

OK I found values for unusual effects in items_game.txt, but I cant found atrr and values for colors.

Last edited by pTu; 04-08-2012 at 10:33.
pTu is offline
VintageEpicFail
Senior Member
Join Date: Feb 2012
Location: Straya
Old 04-08-2012 , 21:20   Re: TF2Items - Items with custom attributes.
#1463

How do I separate different people and their effects?The effect separation already worked, but I want to know how to separate different Steamid's and their attributes.
VintageEpicFail is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-09-2012 , 02:10  
#1464

Quote:
Originally Posted by VintageEpicFail View Post
How do I separate different people and their effects?The effect separation already worked, but I want to know how to separate different Steamid's and their attributes.
Holy crap, read. I just answered this last time you asked.
__________________
asherkin is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 04-09-2012 , 02:39   Re: TF2Items - Items with custom attributes.
#1465

The break can be a space or a ; or whatever, if I remember correctly.

Ash, push my manager changes.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 04-09-2012 at 02:39.
FlaminSarge is offline
VintageEpicFail
Senior Member
Join Date: Feb 2012
Location: Straya
Old 04-09-2012 , 06:13   Re: TF2Items - Items with custom attributes.
#1466

Well what is wrong with my cfg?

Code:
"custom_weapons_v3"
{
    "STEAM_0:1:21434458"
    {
        "219"
            {
                "quality"        "5"
                "level"            "69"
            
                "1"                "134 ; 17"
            }
            "98"
            {
                "quality"        "5"
                "level"            "69"
            
                "1"                "134 ; 9"
                }
            "126"
            {
                "quality"        "5"
                "level"            "69"
            
                "1"                "134 ; 11"
            }
        "143"
            {
                "quality"        "5"
                "level"            "69"
            
                "1"                "134 ; 40"
                }
        "451"
            {
                "quality"        "5"
                "level"            "69"
            
                "1"                "134 ; 29"
                }
        "343"
            {
                "quality"        "5"
                "level"            "69"
            
                "1"                "134 ; 14"
            }
    "STEAM_0:0:44565667"
    {
        "261"
            {
                "quality"        "5"
                "level"            "69"
            
                "1"                "134 ; 13"
        }
            "54"
            {
                "quality"        "5"
                "level"            "69"
            
                "1"                "134 ; 13"
        "6"
        }
    "STEAM_0:1:40724711"
    {
         "378"
            {
                "quality"        "5"
                "level"            "69"
            
                "1"                "134 ; 13"
                }
            "702"
            {
                "quality"        "5"
                "level"            "69"
            
                "1"                "134 ; 17"
            }
            "223"
            {
                "quality"        "5"
                "level"            "69"
            
                "1"                "134 ; 17"
        }
    "STEAM_0:0:44511676"
    {
        "287"
            {
                "quality"        "5"
                "level"            "69"
            
                "1"                "134 ; 8"
        }
    "STEAM_0:1:26853745"
    {
        "518"
            {
                "quality"        "5"
                "level"            "69"
            
                "1"                "134 ; 14"
    }
}
Also, in the part where these ---> { } "143" etc are out of place, they aren't like that in the CFG, something went wrong when copying. They are line up perfectly in the .txt file

Last edited by VintageEpicFail; 04-09-2012 at 06:25.
VintageEpicFail is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 04-09-2012 , 06:43   Re: TF2Items - Items with custom attributes.
#1467

Quote:
Originally Posted by VintageEpicFail View Post
Well what is wrong with my cfg?

Code:
blabla
Also, in the part where these ---> { } "143" etc are out of place, they aren't like that in the CFG, something went wrong when copying. They are line up perfectly in the .txt file
You forgot to close a bracket ( } ) after the end of each (but the last one) SteamID block.
Also not sure what that lone "6" was doing under
Code:
"54"
{
 "quality"        "5"
 "level"            "69"
            
 "1"                "134 ; 13"
 "6" <- wut?
}
Fixed it for you:
Code:
"custom_weapons_v3"
{
    "STEAM_0:1:21434458"
    {
        "219"
        {
            "quality"        "5"
            "level"            "69"
            
            "1"                "134 ; 17"
        }
        "98"
        {
            "quality"        "5"
            "level"            "69"
            
            "1"                "134 ; 9"
        }
        "126"
        {
            "quality"        "5"
            "level"            "69"
            
            "1"                "134 ; 11"
        }
        "143"
        {
            "quality"        "5"
            "level"            "69"
            
            "1"                "134 ; 40"
        }
        "451"
        {
            "quality"        "5"
            "level"            "69"
            
            "1"                "134 ; 29"
        }
        "343"
        {
            "quality"        "5"
            "level"            "69"
            
            "1"                "134 ; 14"
        }
    }
    "STEAM_0:0:44565667"
    {
        "261"
        {
            "quality"        "5"
            "level"            "69"
            
            "1"                "134 ; 13"
        }
        "54"
        {
            "quality"        "5"
            "level"            "69"
            
            "1"                "134 ; 13"
        }
    }
    "STEAM_0:1:40724711"
    {
        "378"
        {
            "quality"        "5"
            "level"            "69"
            
            "1"                "134 ; 13"
        }
        "702"
        {
            "quality"        "5"
            "level"            "69"
            
            "1"                "134 ; 17"
        }
        "223"
        {
            "quality"        "5"
            "level"            "69"
            
            "1"                "134 ; 17"
        }
    }
    "STEAM_0:0:44511676"
    {
        "287"
        {
            "quality"        "5"
            "level"            "69"
            
            "1"                "134 ; 8"
        }
    }
    "STEAM_0:1:26853745"
    {
        "518"
        {
            "quality"        "5"
            "level"            "69"
            
            "1"                "134 ; 14"
        }
    }
}
__________________

Last edited by napalm00; 04-09-2012 at 06:45.
napalm00 is offline
VintageEpicFail
Senior Member
Join Date: Feb 2012
Location: Straya
Old 04-09-2012 , 20:47   Re: TF2Items - Items with custom attributes.
#1468

Thanks a lot ^^^^

I'll try it when my brother gets off the computer with the CFG.
VintageEpicFail is offline
pTu
Senior Member
Join Date: Nov 2010
Location: Poland
Old 04-09-2012 , 22:41   Re: TF2Items - Items with custom attributes.
#1469

What is an attribute to painting? I found only for adding effects to hat (134), but I need also to painting hats.
pTu is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 04-09-2012 , 23:09   Re: TF2Items - Items with custom attributes.
#1470

Quote:
Originally Posted by pTu View Post
What is an attribute to painting? I found only for adding effects to hat (134), but I need also to painting hats.
Here you go.
__________________
DarthNinja is offline
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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