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

TF2Items - Items with custom attributes.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
TheSilencer
Junior Member
Join Date: Feb 2010
Old 07-07-2010 , 12:58   Re: TF2Items - Items with custom attributes.
#321

How exactly do you achieve the golden wrench effect (gold statues) with the normal wrench?

I tried putting that to the notepad file and I got nothing
TheSilencer is offline
DrWagstaff
SourceMod Donor
Join Date: Apr 2010
Location: Livermore
Old 07-07-2010 , 16:48   Re: TF2Items - Items with custom attributes.
#322

Quote:
Originally Posted by TheSilencer View Post
How exactly do you achieve the golden wrench effect (gold statues) with the normal wrench?

I tried putting that to the notepad file and I got nothing
You can't put JUST what I wrote in the file and have it work. You have to paste that in there without breaking the syntax of the file. You see how there's a number in quotes, then some shit after it in brackets? Each one of those entries is one item modification. There is also some stuff though, "above" that entry that has to be present in the file to work. This is the full file, you'll see what I mean.

Code:
"custom_weapons_v3"
{
	"*"
	{
		"7"
		{
			"quality"		"2"
			"level"			"50"
			"1"				"150 ; 1"
		}
	
	}
}
DrWagstaff is offline
Send a message via AIM to DrWagstaff
Anomalous_Creep
Junior Member
Join Date: Apr 2010
Old 07-08-2010 , 19:48   Re: TF2Items - Items with custom attributes.
#323

I run an all Crits servers and am looking for a way to modify specific weapons' damage output (Sniper Rifle/Huntsman/Ambassador/Revolver/Pistol/etc.).

Can that be done using this plug-in?
Anomalous_Creep is offline
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 07-08-2010 , 19:58   Re: TF2Items - Items with custom attributes.
#324

Quote:
Originally Posted by Anomalous_Creep View Post
I run an all Crits servers and am looking for a way to modify specific weapons' damage output (Sniper Rifle/Huntsman/Ambassador/Revolver/Pistol/etc.).

Can that be done using this plug-in?
Attribute 1 and 2
noodleboy347 is offline
GoldRenamon
Guest
Old 07-08-2010 , 22:07   Re: TF2Items - Items with custom attributes.
#325

I can't start my server with this loaded, it crashes right away after someone joins.
It was working.
snowyiet
Member
Join Date: Jan 2010
Old 07-08-2010 , 22:53   Re: TF2Items - Items with custom attributes.
#326

Engineer update broke this. Crashes server when someone joins.
snowyiet is offline
Skidogg88
Junior Member
Join Date: Jan 2010
Old 07-09-2010 , 06:18   Re: TF2Items - Items with custom attributes.
#327

yup same here, dont let my server boot tho, certainly seems to be broken due to engie update :/
Skidogg88 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-09-2010 , 06:25   Re: TF2Items - Items with custom attributes.
#328

More reports of crashes with no details are not needed at this time, I will be fixing any offsets asap, but if there are other issues there isn't a lot I can do while on holiday.

If you have more info than "it crashes", feel free to post here or PM me, I just wan to avoid pages of "It's broken" spam.

EDIT:
Code:
"GiveNamedItem"
{
	"windows"	"452"
	"linux"		"459"
}
Try those offsets, replace the GiveNamedItem entry in addons/sourcemod/gamedata/tf2.items.txt
__________________

Last edited by asherkin; 07-09-2010 at 06:58.
asherkin is offline
Viper Snake
Junior Member
Join Date: Jun 2010
Old 07-09-2010 , 07:00   Re: TF2Items - Items with custom attributes.
#329

Quote:
Originally Posted by asherkin View Post
Try those offsets, replace the GiveNamedItem entry in addons/sourcemod/gamedata/tf2.items.txt
Thanks! It works now and no longer crashes.

Last edited by Viper Snake; 07-09-2010 at 07:21.
Viper Snake is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-09-2010 , 09:14   Re: TF2Items - Items with custom attributes.
#330

The uber reseting is because adding any attributes using this extension to a weapon with a quality of 0 (like the original weapons) forces the quality to change to 3 (so that the info panel will show), the game treats a weapon with a different quality as a new weapon, so the game tries to replace the weapon with the original, which resets the ubercharge level.
__________________
asherkin 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 00:20.


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