Raised This Month: $ Target: $400
 0% 

TF2Items - Items with custom attributes.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
jouva
Senior Member
Join Date: Jan 2010
Old 02-18-2011 , 17:16   Re: TF2Items - Items with custom attributes.
#721

Quote:
Originally Posted by Ginxeng View Post
Can someone show where I would find the attributes? I looked through the items_game.txt but I'm not seeing them (I'm dumb).
Keep scrolling. The first section is the items. They go all the way up to like 5000 and such for the tokens and what not. After that then you'll see attributes.
Items starts on line 50. Attributes starts on line 14819 (as of this version of TF2) and the whole thing is about 18000 lines long.
jouva is offline
Senku Niola
Junior Member
Join Date: Oct 2010
Old 02-18-2011 , 18:05   Re: TF2Items - Items with custom attributes.
#722

I've been getting complaints in my server that my weapons custom stats are not appearing for them. Any fixes for this?
Senku Niola is offline
jouva
Senior Member
Join Date: Jan 2010
Old 02-18-2011 , 18:12   Re: TF2Items - Items with custom attributes.
#723

Posting a config of your weapons would be nice. It's probably a badly configured weapon.

Also check out if you've changed the quality of any base weapons to something other than Normal. Base, unnamed weapons won't work unless you keep them as normal.
jouva is offline
Senku Niola
Junior Member
Join Date: Oct 2010
Old 02-18-2011 , 18:15   Re: TF2Items - Items with custom attributes.
#724

Code:
        "132"    // tf_weapon_sword
        {
            "1"        "2 ; 1.25" // Damage Bonus
            "2"        "6 ; 1.30" // Fire Rate Penalty
            "3"        "107 ; 0.60" // Speed while active
            "4"        "128 ; 1" // Provide on Active
            "5"        "123 ; 1.40" // Speed normally
            "6"        "178 ; 1.15" // Increased Weapon Switch Time
            "7"        "207 ; 2.25" // Self Blast Damage Increased
            "8"        "28 ; 0.05" // Randomly Crits (Hidden)
        }
No quality changes, nor level changes. The attributes effect the weapon, but wont show up if it appears in the death cam or if they inspect me.
Senku Niola is offline
jouva
Senior Member
Join Date: Jan 2010
Old 02-18-2011 , 18:31   Re: TF2Items - Items with custom attributes.
#725

Can you post more? Like maybe pastebin the full file and put a link? Cause it might be good to check the steam ID and all that
jouva is offline
Senku Niola
Junior Member
Join Date: Oct 2010
Old 02-18-2011 , 18:44   Re: TF2Items - Items with custom attributes.
#726

Code:
"custom_weapons_v3"
// Qualities (189)
// 0 = Default (No Weapon Name)
// 1 = Light Olive
// 2 = Darkish Green
// 3 = Dark Blue (Vintage)
// 4 = Orange
// 5 = Purple
// 6 = Yellow (Unique)
// 7 = Community (Light Green w/ Title)
// 8 = Valve (Dark Purple w/ Title)
// 9 = Self-Made (Light Green w/ Title)
// 10 = Neon Green (Customized?)
//
// Particles (134)
// 1 = Particle 1
// 2 = Flying Bits
// 3 = Nemesis Burst
// 4 = Community Sparkle
// 5 = Holy Glow
// 6 = Green Confetti
// 7 = Purple Confetti
// 8 = Haunted Ghosts
// 9 = Green Energy
// 10 = Purple Energy
// 11 = Circling TF Logo
// 12 = Massed Flies
// 13 = Burning Flames
// 14 = Scorching Flames
// 15 = Searing Plasma
// 16 = Vivid Plasma
// 17 = Sunbeams
// 18 = Circling Peace Sign
// 19 = Circling Heart
//
//"admin-flags" "letter"
//"preserve_attributes"    "1"
{
    "STEAM_0:1:18266596" // "Senku Niola"
    {
        "132"    // tf_weapon_sword
        {
            "1"        "2 ; 1.25" // Damage Bonus
            "2"        "6 ; 1.30" // Fire Rate Penalty
            "3"        "107 ; 0.60" // Speed while active
            "4"        "128 ; 1" // Provide on Active
            "5"        "123 ; 1.40" // Speed normally
            "6"        "178 ; 1.15" // Increased Weapon Switch Time
            "7"        "207 ; 2.25" // Self Blast Damage Increased
            "8"        "28 ; 0.05" // Randomly Crits (Hidden)
        }
        "327"    // tf_weapon_sword
        {
            "quality"    "4"

            "1"        "5 ; 0.85" // Fire Rate Bonus
            "2"        "1 ; 0.80" // Damage Penalty
            "3"        "179 : 1" // Mini-Crits are Crits
            "4"        "178 ; 0.60" // Decreased Weapon Switch Time
            "5"        "28 ; 0.10" // Randomly Crits (Hidden)
        }
    }
    "STEAM_0:0:13402315" // "Playah"
    {
        "6"    // tf_weapon_shovel "The Shovail"
        {
            "1"        "115 ; 1" // Equalizer
        }
        "10"    // tf_weapon_shotgun_soldier "The War Winner"
        {
            "1"        "4 ; 1.60" // Clip bonus
            "2"        "6 ; 0.80" // Fire rate bonus
            "3"        "106 ; 0.20" // Spread bonus
            "4"        "1 ; 0.50" // Damage reduction
        }
    }
    "STEAM_0:1:19092068" // "Simsmagic"
    {
        "312"    // tf_weapon_minigun " Brass Bollocks"
        {
            "1"        "2 ; 1.20" // Damage Bonus
            "2"        "205 ; 0.10" // Damage from Ranged Reduced
            "3"        "68 ; 5" // Cap Rate x6
            "4"        "75 ; 2.50" // Aim Movespeed Bonus
            "5"        "134 ; 17" // Sunbeams
        }
        "20"    // tf_weapon_stickylauncher "Sticky Spammer"
        {
            "1"        "6 ; 0.10" // Fire Rate Bonus
            "2"        "126 ; 0.01" // Arm Time Bonus
            "3"        "88 ; 40" // Arm Time Bonus
            "4"        "4 ; 6.0" // Clip Bonus
            "5"        "96 ; 0.60" // Reload Fast
            "6"        "112 ; 200"
        }
    }
}
Still see nothing wrong.
Senku Niola is offline
Herokim
Senior Member
Join Date: Mar 2010
Location: In Fag-o-land
Old 02-19-2011 , 14:10   Re: TF2Items - Items with custom attributes.
#727

It's my first time trying to do a custom weapon, but I kinda fail.

Can someone tell me what's wrong?
Code:
"custom_weapons_v3"
{
    "STEAM_0:1:29366226"
    {
        "169"       
        {
            "quality"        "6"
            "level"            "100"
            "admin-flags"    "o"
            
            "1"                "134 ; 8"
            "2"                "2 ; 100"
            "3"                "6 ; 1.50"
            "4"                "179 ; 1"
            "5"                "30 ; 1"
            "6"                "112 ; 1"
            "7"                "2 ; 1.99"
        }
    }
}
Herokim is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 02-19-2011 , 14:28   Re: TF2Items - Items with custom attributes.
#728

Herokim: That modifies anybody that has the golden wrench. Mod normal wrench using 7 instead of 169.

To create and give custom weapons with whatever index is another plugin entirely.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit 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
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 02-19-2011 , 14:34   Re: TF2Items - Items with custom attributes.
#729

Quote:
Originally Posted by FlaminSarge View Post
Mod normal wrench using 7 instead of 169.
or 197
__________________
Leonardo is offline
jouva
Senior Member
Join Date: Jan 2010
Old 02-19-2011 , 14:51   Re: TF2Items - Items with custom attributes.
#730

Quote:
Originally Posted by Senku Niola View Post
Still see nothing wrong.
Can you verify that the plugin itself is loaded and that the TF2Items Manager plugin is also loaded?
jouva is offline
Closed Thread



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 08:50.


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