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

TF2Items - Items with custom attributes.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
koikeiya
Junior Member
Join Date: Feb 2010
Old 05-10-2010 , 16:23   Re: [EXTENSION] TF2Items (1.3.1)
#251

Ok. So I have my server running as usual. I used TF2Items before and it worked very nicely. Until Valve came up and hit us with the update. Then I came here and found your patch from around 2 pages before this. I put those into my server and even so, my modded weapons do not take effect. I have SM version 1.3.2 and Metamod 1.8.1
What do you suppose is the problem?

The only tools I used are;
Notepad (for editing the text tf2items text file)
tf2items_manager_reload command in the console
FTP access to my server
koikeiya is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 05-10-2010 , 16:37   Re: [EXTENSION] TF2Items (1.3.1)
#252

Quote:
Originally Posted by asherkin View Post
Valve added some new inputs to the player to replace the model, get it to rotate, etc. So, no.



Only forcing different weapons is dead, the main feature (attributes) is fine.



Extensions (when configured to use MM) are identical in terms of available features to MM:S plugins, just with the added benefit of some helper functions from SourceMod and the ability to interface with the admin system and SM plugins.

Now are custom hats considered weapons? Is this the plugin that provided custom hats some how or was that a different one?
Thraka is offline
Pawn 3-pg
Senior Member
Join Date: Jul 2009
Old 05-10-2010 , 17:50   Re: [EXTENSION] TF2Items (1.3.1)
#253

Quote:
Originally Posted by Thraka View Post
Now are custom hats considered weapons? Is this the plugin that provided custom hats some how or was that a different one?
You are probably thinking of the plugin [TF2] Equipment manager, but that is also broken for the same reason.
Pawn 3-pg is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 05-10-2010 , 19:28   Re: [EXTENSION] TF2Items (1.3.1)
#254

Quote:
Originally Posted by koikeiya View Post
Ok. So I have my server running as usual. I used TF2Items before and it worked very nicely. Until Valve came up and hit us with the update. Then I came here and found your patch from around 2 pages before this. I put those into my server and even so, my modded weapons do not take effect. I have SM version 1.3.2 and Metamod 1.8.1
What do you suppose is the problem?

The only tools I used are;
Notepad (for editing the text tf2items text file)
tf2items_manager_reload command in the console
FTP access to my server
Are you sure you have all of the 3 extensions in your extension folder provided to make this plugin run?

Did the weapons your currently having problems with work before the update? Or are these new weapon attributes you just added after the update and haven't gotten them to work yet?

What exactly is the problem your having with your modified weapon?
Sreaper is offline
koikeiya
Junior Member
Join Date: Feb 2010
Old 05-11-2010 , 16:12   Re: [EXTENSION] TF2Items (1.3.1)
#255

Quote:
Originally Posted by Sreaper View Post
Are you sure you have all of the 3 extensions in your extension folder provided to make this plugin run?

Did the weapons your currently having problems with work before the update? Or are these new weapon attributes you just added after the update and haven't gotten them to work yet?

What exactly is the problem your having with your modified weapon?
Ok. I have all 3 extensions put in the sourcemod extensions folder into the server. Then I overwrote 2 files that were the patches asherkin posted 3 pages ago.

I had many modded weapons before the big update that worked fine (like a fast rocket launcher). Now I can't use a fast rocket launcher, it's just a normal one.

The problem is that the weapons that I modify do not show the effect ingame. Like if I mod a pistol to be rapidfire, if I try it out in my server, the pistol is just default. Also, sometimes players on my server say that my modded weapon (which doesn't do the modded effect I want it to) appears invisible.
koikeiya is offline
koikeiya
Junior Member
Join Date: Feb 2010
Old 05-11-2010 , 16:17   Re: [EXTENSION] TF2Items (1.3.1)
#256

Well, I feel utterly and completely stupid.
I had to restart my server inorder for the patch to work...

So, asherkin's patch does work and it allows the attributes for modded weapons to work again. Thanks asherkin
koikeiya is offline
j0sh77
Senior Member
Join Date: Jan 2010
Old 05-11-2010 , 18:50   Re: [EXTENSION] TF2Items (1.3.1)
#257

I can't figure out how to get it to work... I have this in my tf2items.weapons.txt



"custom_weapons_v3"
{
"(My SteamID)"
{
"4"
{
"name" "TF_WEAPON_KNIFE"

"item_class" "tf_weapon_knife"

"craft_class" "weapon"

"item_type_name" "#TF_Weapon_Knife"

"item_name" "#TF_Weapon_Knife"

"item_slot" "melee"

"item_quality" "normal"

"baseitem" "1"

"min_ilevel" "1"

"max_ilevel" "1"

"image_inventory" "backpack/weapons/w_models/w_knife"

"image_inventory_size_w" "128"

"image_inventory_size_h" "82"

"model_player" "models/weapons/w_models/w_knife.mdl"
"used_by_classes"
{
"spy" "1"
"heavy" "1"
"sniper" "1"
"soldier" "1"
"pyro" "1"
"scout" "1"
"medic" "1"
"demoman" "1"
"engineer" "1"

}
}
}
}



What do I do to get it in game?
__________________

j0sh77 is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 05-11-2010 , 19:30   Re: [EXTENSION] TF2Items (1.3.1)
#258

Replace all of that with this,

Code:
"custom_weapons_v3"
{
    "STEAMIDHERE"
    {
        "4"    // tf_weapon_knife
        {
            "quality"        "3"
            "level"            "1"
            "admin-flags"    "a"
            
            "1"                "134; 2" //particle effect
            "2"                "4 ; 1.0" //crit boost
        }
        
    }
}
This should now be a knife that has the flame partical attached to it and should give critboosts on kill

configure the admin flag or just remove the line/flag from the ""
Sreaper is offline
Onedda
Senior Member
Join Date: May 2009
Old 05-12-2010 , 02:24   Re: [EXTENSION] TF2Items (1.3.1)
#259

Hello

Just installed this ona linux server with sm 1.3.2 and mm 1.8.1

i have used the above weapon from Sreaper, and this is what i get in my logs

L 05/12/2010 - 07:130: SourceMod error session started
L 05/12/2010 - 07:130: Info (map "ctf_turbine") (file "errors_20100512.log")
L 05/12/2010 - 07:130: [SM] Native "TF2Items_GetItemIndex" reported: Invalid TF2ItemType handle 2090205 (error 3)
L 05/12/2010 - 07:130: [SM] Displaying call stack trace for plugin "tf2items_manager.smx":
L 05/12/2010 - 07:130: [SM] [0] Line 169, D:\srcds\orangebox\tf\addons\sourcemod\script ing\tf2items_manager.sp::FindItemOnArray()
L 05/12/2010 - 07:130: [SM] [1] Line 139, D:\srcds\orangebox\tf\addons\sourcemod\script ing\tf2items_manager.sp::FindItem()
L 05/12/2010 - 07:130: [SM] [2] Line 70, D:\srcds\orangebox\tf\addons\sourcemod\script ing\tf2items_manager.sp::TF2Items_OnGiveNamed Item()
L 05/12/2010 - 07:130: [SM] Native "TF2Items_GetItemIndex" reported: Invalid TF2ItemType handle 2090205 (error 3)
L 05/12/2010 - 07:130: [SM] Displaying call stack trace for plugin "tf2items_manager.smx":
L 05/12/2010 - 07:130: [SM] [0] Line 169, D:\srcds\orangebox\tf\addons\sourcemod\script ing\tf2items_manager.sp::FindItemOnArray()
L 05/12/2010 - 07:130: [SM] [1] Line 139, D:\srcds\orangebox\tf\addons\sourcemod\script ing\tf2items_manager.sp::FindItem()
L 05/12/2010 - 07:130: [SM] [2] Line 70, D:\srcds\orangebox\tf\addons\sourcemod\script ing\tf2items_manager.sp::TF2Items_OnGiveNamed Item()
L 05/12/2010 - 07:130: [SM] Native "TF2Items_GetItemIndex" reported: Invalid TF2ItemType handle 2090205 (error 3)
L 05/12/2010 - 07:130: [SM] Displaying call stack trace for plugin "tf2items_manager.smx":
L 05/12/2010 - 07:130: [SM] [0] Line 169, D:\srcds\orangebox\tf\addons\sourcemod\script ing\tf2items_manager.sp::FindItemOnArray()
L 05/12/2010 - 07:130: [SM] [1] Line 139, D:\srcds\orangebox\tf\addons\sourcemod\script ing\tf2items_manager.sp::FindItem()
L 05/12/2010 - 07:130: [SM] [2] Line 70, D:\srcds\orangebox\tf\addons\sourcemod\script ing\tf2items_manager.sp::TF2Items_OnGiveNamed Item()

The weapon works (i.e i got the fire effect) but why the errors?

Thanks
Onedda
__________________
Onedda is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 05-13-2010 , 14:02   Re: [EXTENSION] TF2Items (1.3.1)
#260

Quote:
Originally Posted by Onedda View Post
Hello

Just installed this ona linux server with sm 1.3.2 and mm 1.8.1

i have used the above weapon from Sreaper, and this is what i get in my logs
Code:
errors--------
The weapon works (i.e i got the fire effect) but why the errors?

Thanks
Onedda

If the crit boost isn't working try putting a 0 instead of a 1.0

If it is working don't worry about it lol.


As for the errors, it may just be the fact that the weapons get parrented to a player. It's probably just an issue with the parenting the weapons to the player. There is a metamod patch that can make this work again, but I wouldn't know how to help you with patching this plugin. That will probably be up to Asherkin whether or not he's going post a patch for the weapon attachments.
Sreaper 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 13:17.


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