Raised This Month: $12 Target: $400
 3% 

[TF2Items] Give Weapon (v3.14159, 11/29/2013)


Post New Thread Reply   
 
Thread Tools Display Modes
Spanospy
Junior Member
Join Date: Feb 2014
Old 05-18-2014 , 08:32   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1201

Quote:
Originally Posted by RAPTORMOOSE View Post
Alright, it's been a year or two since I was doing anything involving SM on my server, but now, I've forgotten how to add new weapons to my server via this plugin, this is my tf2items.givecustom.txt:

Code:
"custom_give_weapons_vlolz"
{
    "5000"
    {
        "classname"        "tf_weapon_scattergun"
        "index"        "200"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "32"
    }
    "5001"
    {
        "classname"        "tf_weapon_scattergun"
        "index"        "45"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "32"
    }
    "5002"
    {
        "classname"        "tf_weapon_rocketlauncher"
        "index"        "205"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "20"
    }
    "5003"
    {
        "classname"        "tf_weapon_rocketlauncher"
        "index"        "228"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "20"
    }
    "5004"
    {
        "classname"        "tf_weapon_flamethrower"
        "index"        "208"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "200"
    }
    "5005"
    {
        "classname"        "tf_weapon_flamethrower"
        "index"        "208"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "200"
    }
    "5006"
    {
        "classname"        "tf_weapon_fireaxe"
        "index"        "38"
        "slot"        "2"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "200"
    }
    "5007"
    {
        "classname"        "tf_weapon_grenadelauncher"
        "index"        "206"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "16"
    }
    "5008"
    {
        "classname"        "tf_weapon_pipebomblauncher"
        "index"        "207"
        "slot"        "1"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "24"
    }
    "5009"
    {
        "classname"        "tf_weapon_sword"
        "index"        "132"
        "slot"        "2"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "24"
    }
    "5010"
    {
        "classname"        "tf_weapon_minigun"
        "index"        "202"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "200"
    }
    "5011"
    {
        "classname"        "tf_weapon_minigun"
        "index"        "424"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "200"
    }
    "5012"
    {
        "classname"        "tf_weapon_sentry_revenge"
        "index"        "141"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "32"
    }
    "5013"
    {
        "classname"        "tf_weapon_wrench"
        "index"        "197"
        "slot"        "2"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "32"
    }
    "5014"
    {
        "classname"        "tf_weapon_syringegun_medic"
        "index"        "36"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "150"
    }
    "5015"
    {
        "classname"        "tf_weapon_medigun"
        "index"        "211"
        "slot"        "1"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "0"
    }
    "5016"
    {
        "classname"        "tf_weapon_sniperrifle"
        "index"        "201"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "25"
    }
    "5017"
    {
        "classname"        "tf_weapon_smg"
        "index"        "203"
        "slot"        "1"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "75"
    }
    "5018"
    {
        "classname"        "tf_weapon_revolver"
        "index"        "61"
        "slot"        "0"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "24"
    }
    "5019"
    {
        "classname"        "tf_weapon_knife"
        "index"        "194"
        "slot"        "2"
        "quality"        "6"
        "level"        "29"
        "attribs"        "2027 ; 1 ; 2022 ; 1 ; 542 ; 1 ; 217 ; 1" // Australium Attributes Leave this Alone
        "ammo"        "24"
    }
    "5020"
    {
        "classname"        "tf_weapon_knife"
        "index"        "1071"
        "slot"        "2"
        "quality"        "6"
        "level"        "69"
        "attribs"        "15 ; 10 ; 150 ; 1 ; 246 ; 100"
        "ammo"        "500"
}
Just to be sure, this IS supposed to go in the gamedata directory, right?
it helps if you read the original post.

Quote:
Originally Posted by FlaminSarge View Post
The file tf2items.givecustom.txt goes in addons/sourcemod/configs/
Spanospy is offline
RAPTORMOOSE
Member
Join Date: Sep 2011
Location: California
Old 05-18-2014 , 09:23   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1202

Quote:
Originally Posted by Spanospy View Post
it helps if you read the original post.
Serves me right for skimming through everything, thanks for your help.
__________________
Well, it took 30 men, 7 chainsaws, and 12 pickup trucks, but we did it.
RAPTORMOOSE is offline
Spanospy
Junior Member
Join Date: Feb 2014
Old 05-18-2014 , 10:34   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1203

Quote:
Originally Posted by RAPTORMOOSE View Post
Serves me right for skimming through everything, thanks for your help.
just wondering, are you trying to make stock weapons that make people you kill golden? I can't seem to lookup any of those attributes on the wiki list. also, there is a plugin that makes default weapons turn people to gold.
Spanospy is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 05-18-2014 , 21:29   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1204

Quote:
Originally Posted by Spanospy View Post
just wondering, are you trying to make stock weapons that make people you kill golden? I can't seem to lookup any of those attributes on the wiki list. also, there is a plugin that makes default weapons turn people to gold.
Those attributes are what converts the specific weapons into their "Australium" counterparts that you get from MvM.

Unfortunately, they will not look like Australium weapons to you when you equip them. Believe me, I've tested this.
404UserNotFound is offline
Spanospy
Junior Member
Join Date: Feb 2014
Old 05-19-2014 , 11:11   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1205

Quote:
Originally Posted by abrandnewday View Post
Those attributes are what converts the specific weapons into their "Australium" counterparts that you get from MvM.

Unfortunately, they will not look like Australium weapons to you when you equip them. Believe me, I've tested this.
yeah, for some reason the wiki i was looking at did not have the full list of attributes (i think it was AlliedModders Wiki) and when i noticed i felt silly.
Spanospy is offline
gabevt
Junior Member
Join Date: May 2014
Old 05-19-2014 , 14:12   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1206

Attribute for faster airblast?
gabevt is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-25-2014 , 21:33   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1207

For Australium, notice they've also got an item style in items_game.txt. You should test a bit more, ABND, there's a bunch more interesting stuff in there too (don't get Valve up in arms, though).
Faster airblast would be airblast refire time.
__________________
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.

Last edited by FlaminSarge; 05-25-2014 at 21:34.
FlaminSarge is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 05-25-2014 , 21:35   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1208

I wish the page you linked for attributes showed them all. Does any one have a complete list?
__________________
My Steam TF2APP
My sig changes with each load! Refresh to see my other servers!
jpwanabe is offline
CapITanJAC
AlliedModders Donor
Join Date: Aug 2012
Location: U.S.A
Old 05-25-2014 , 22:15   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1209

Quote:
Originally Posted by jpwanabe View Post
I wish the page you linked for attributes showed them all. Does any one have a complete list?
If your looking for a specific attribute Download the TF2 Items Info plugin on your server, and use the command sm_fa [attribute name (or part of a name)].
__________________
CapITanJAC is offline
jpwanabe
Veteran Member
Join Date: Mar 2010
Old 05-26-2014 , 10:56   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1210

Quote:
Originally Posted by jac95501 View Post
If your looking for a specific attribute Download the TF2 Items Info plugin on your server, and use the command sm_fa [attribute name (or part of a name)].
There isn't a specific one I'm looking for. I would just like a more complete list so I can get some ideas on wraps to make. Plus I would like to know all the variables for the one that changes the projectile type.
__________________
My Steam TF2APP
My sig changes with each load! Refresh to see my other servers!
jpwanabe is offline
Reply



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 20:57.


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