Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 04-02-2014 , 17:25   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1191

You can probably use tf2items.givecustom.txt to set up a custom spellbook if TF2ItemsInfo doesn't work for you (it hasn't been working for most)
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
hjaltello
Junior Member
Join Date: Mar 2014
Old 04-05-2014 , 05:28   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1192

Still dosent work i reinstalled everything and installed updater and still nothing
any suggestions?
hjaltello is offline
Send a message via Skype™ to hjaltello
TF2Nerd
New Member
Join Date: Apr 2014
Old 04-05-2014 , 19:48   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1193

Hello, I am just wondering if this plugin auto-updates items when they come out.
Please reply.
Thank you.
TF2Nerd is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 04-05-2014 , 21:06   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1194

Quote:
Originally Posted by TF2Nerd View Post
Hello, I am just wondering if this plugin auto-updates items when they come out.
Please reply.
Thank you.
It does get the new item indexes as they are released.
Horsedick is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 04-05-2014 , 23:53   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1195

You need TF2ItemsInfo loaded (and working) for weapons to auto-update.
You're welcome.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
barteh
Junior Member
Join Date: Mar 2014
Old 04-15-2014 , 03:36   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1196

Any chance of this being ported to HL2DM?
barteh is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 04-15-2014 , 12:28   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1197

It would be an entirely different plugin...like this one. Try changing the weapon names in that plugin over to HL2DM's weapon names.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
Spanospy
Junior Member
Join Date: Feb 2014
Old 05-17-2014 , 09:09   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1198

hey, my custom weapon is not working as i want it to. I want it to be a rapid fire crusader's crossbow with a big clip size and lower damage (with an attribute that says its crafted from a certain person) here is the entire code of my tf2items.givecustom.txt:
Code:
"custom_give_weapons_vlolz"   //leave this alone
{
    "1337"   //index you want the weapon set as (/givew @me thisnumber)
    {
        "classname"        "tf_weapon_crossbow" // weapon classname
        "index"        "305"   //actual weapon index
        "slot"        "0"   //slot 0 - 5 for primary to whatever the last slot is (build box?)
        "quality"        "14" //item quality, as in strange, vintage, unique, etc.
        "level"        "1337" //level, simple.
        "attribs"        "228 ;STEAM_0:1:19518185 ;4 ;1000 ;318 ;1000 ;1 ;50 ;15 ;100" //attributes.
        "ammo"        "9001" //initial ammo to set for that weapon when it's given
        "model"       "models/weapons/c_models/c_crusaders_crossbow/c_crusaders_crossbow.mdl"  //change the worldmodel of the weapon. if it's a custom model, read the stuff below
        "viewmodel"        "models/weapons/c_models/c_crusaders_crossbow/c_crusaders_crossbow.mdl" //used to attach a model to the viewmodel of the weapon. Try not to use a model that already has hands on it (so use the w_model/c_model if you can).
    }
its in the right config, because typing "sm_givew @me 1337" gives me a crusader's crossbow, but there is no evidence the attributes are working. What am I doing wrong, or does it have to be hard-coded into the plugin for it to work?

EDIT: ammo works, but everything else as far as i know does not.

EDIT2: silly me, i left out some spaces. ignore me stupidity.

Last edited by Spanospy; 05-17-2014 at 09:14.
Spanospy is offline
Spanospy
Junior Member
Join Date: Feb 2014
Old 05-17-2014 , 09:10   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1199

this message is for me to subscribe to thread. ignore.
Spanospy is offline
RAPTORMOOSE
Member
Join Date: Sep 2011
Location: California
Old 05-18-2014 , 06:46   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1200

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?
__________________
Well, it took 30 men, 7 chainsaws, and 12 pickup trucks, but we did it.
RAPTORMOOSE 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 02:38.


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