Raised This Month: $135 Target: $400
 33% 

Change attributes without changing level/quality


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dragonisser
AlliedModders Donor
Join Date: Jan 2014
Location: Germany
Old 05-12-2017 , 17:13   Change attributes without changing level/quality
Reply With Quote #1

As the title already says, is there a way to change the attributes of weapons without changing the level or quality of it?

Using only

Code:
"*"
		{	
			//"quality"		""
			//"level"			"69"

			"preserve-attributes" "1"
			"1"				"551 ; 1"
		}
doesnt give me errors but neither does it work at all(not the whole config). It only works with quality added.
Dragonisser is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-12-2017 , 22:09   Re: Change attributes without changing level/quality
Reply With Quote #2

IIRC, this is caused by a since-TF2Items-release quirk added to TF2 where it caches the item definition data for stock items (ones with Normal, 0 quality) and skips custom attributes on them (the game schema never has attributes on them).
__________________
asherkin is offline
Dragonisser
AlliedModders Donor
Join Date: Jan 2014
Location: Germany
Old 05-13-2017 , 09:33   Re: Change attributes without changing level/quality
Reply With Quote #3

Quote:
Originally Posted by asherkin View Post
IIRC, this is caused by a since-TF2Items-release quirk added to TF2 where it caches the item definition data for stock items (ones with Normal, 0 quality) and skips custom attributes on them (the game schema never has attributes on them).
So its impossible with tf2items. Only way would be by sending the attribute to the items directly with a custom plugin?
Dragonisser is offline
ScrapEngineer
Member
Join Date: Oct 2016
Location: Somewhere in Buckinghams
Old 07-25-2017 , 06:11   Re: Change attributes without changing level/quality
Reply With Quote #4

I found it worked for me at one point but it doesn't anymore... Hm...

EDIT: Actually for me, even overriding the quality it doesn't affect the weapon.
__________________
A semi-average TF2 Engineer main, attempting to make contact with the outer world and befriend it... Even though sometimes that doesn't go well.

Oh yeah, I don't know how make plugins.

Last edited by ScrapEngineer; 07-25-2017 at 06:12.
ScrapEngineer is offline
Reply


Thread Tools
Display Modes

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:02.


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