Raised This Month: $ Target: $400
 0% 

[TF2] Add Attributs using TF2Items


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 09-16-2013 , 03:53   [TF2] Add Attributs using TF2Items
Reply With Quote #1

The title say all, how we can do that with preserving all attributs but only editing 1 attribut ?
__________________
Want to check my plugins ?
Arkarr is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 09-16-2013 , 05:02   Re: [TF2] Add Attributs using TF2Items
Reply With Quote #2

Here is an example.

Quote:
"127" //The Scotsman's Skullcutter with Burning Flames
{
"quality" "3"
"level" "5"
"preserve-attributes" "1"

"1" "134 ; 1"
}
Also, TF2items has it's own subforum for these kinds of questions. http://forums.alliedmods.net/forumdisplay.php?f=146

Last edited by Sreaper; 09-16-2013 at 05:22.
Sreaper is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 09-16-2013 , 07:44   Re: [TF2] Add Attributs using TF2Items
Reply With Quote #3

No, I mean, in my plugin. Using the fonction TF2Items_SetAttribute in include file.
__________________
Want to check my plugins ?

Last edited by Arkarr; 09-16-2013 at 07:45.
Arkarr is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-16-2013 , 23:05   Re: [TF2] Add Attributs using TF2Items
Reply With Quote #4

As of a recent update, PRESERVE_ATTRIBUTES is no longer necessary and is used in all cases.
__________________
Dr. McKay is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 09-17-2013 , 00:48   Re: [TF2] Add Attributs using TF2Items
Reply With Quote #5

Quote:
Originally Posted by Dr. McKay View Post
As of a recent update, PRESERVE_ATTRIBUTES is no longer necessary and is used in all cases.
As of an even more recent update, that behavior was fixed.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 09-17-2013 at 00:53.
Powerlord 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 19:08.


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