Raised This Month: $32 Target: $400
 8% 

TF2Items - Items with custom attributes.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 01-10-2010 , 14:49   Re: [EXTENSION] TF2Items
#31

Quote:
Originally Posted by Cerise View Post
By The way, what's the difference between rapidfire and slowfire ?

( Espacially for Regen On Hit )
I would think the difference between the SMG and Rocket Launcher.

Is it currently possible to change the weapon name? Or do we have to wait for the custom item name thing?
noodleboy347 is offline
Cerise
Senior Member
Join Date: Jun 2009
Location: debug_backtrace()
Old 01-10-2010 , 16:38   Re: [EXTENSION] TF2Items
#32

Do you think it could be possible ( now or later ) to make something like Eyelander attributes ?

Like the more i frag people the more health i'll have ?
__________________
Cerise is offline
Damizean
SourceMod Donor
Join Date: Mar 2009
Old 01-10-2010 , 16:40   Re: [EXTENSION] TF2Items
#33

Probably, all you need to do is to copy the eyelander attributes to the weapon you want.
Edit: The attribute seems to be this one
Code:
                "max health additive penalty"
                {
                    "attribute_class"    "add_maxhealth"
                    "value" "-25"
                }
Wich translated with the attributes table, it is:
Code:
"125"        "-25"
__________________
Dat annoying guy

Last edited by Damizean; 01-10-2010 at 16:46.
Damizean is offline
Send a message via AIM to Damizean Send a message via MSN to Damizean
Cerise
Senior Member
Join Date: Jun 2009
Location: debug_backtrace()
Old 01-10-2010 , 16:44   Re: [EXTENSION] TF2Items
#34

Yeah thought about that but that fact is the attributes for tf_weapon_sword are :

PHP Code:
"attributes"
{
"crit mod disabled"
{"attribute_class"    "mult_crit_chance"
"value"    "0"
}
"max health additive penalty"
{
"attribute_class"    "add_maxhealth"
"value" "-25"
}
 } 
And it's not sufficient to have the same effects.
I'm currently reading everything if the tf2 items help page but i can't find what would work to clone the effect

EDIT :

Have another 'problem' with my maths ( it begins to getting late ). Here's my prob :

Code lines :

PHP Code:
"73" 
 

 
"name" "weapon burn time increased"
 "attribute_class" "mult_wpn_burntime"
 "attribute_name" "Minor increase to burn time" 
 "min_value" "1.05" 
 "max_value" "1.15" 
 "description_string" 
#Attrib_WpnBurnTime_Increased" 
 
"description_format" "value_is_percentage" 
 "hidden" "0" 
 "effect_type" "positive" 
 

And

PHP Code:
"74" 
 

 
"name" "weapon burn time ireduced"
 "attribute_class" "mult_wpn_burntime"
 "attribute_name" "Minor reduction to burn time" 
 "min_value" "0.95" 
 "max_value" "0.7" 
 "description_string"
#Attrib_WpnBurnTime_Reduced" 
 
"description_format" "value_is_percentage" 
 "hidden" "0" 
 "effect_type" "negative" 
 

I want to put on my weapon an attribute that reduces burning duration by 20% on myself. But when i'm using the attribute 74, it appears like "20% burn duration" in red. ( cant get a -XX% with this one )
When using The attribute 73, it gaves me "+-20% burn duration" in blue. But it means that my target will burn longer if my weapon is a Flamethrower.

So which attribute will i have to use and which value to have on my weapon "-20% burn duration" ( When burning, i'll burn for 20% shorter time )

I perfectly know i would find the clue later after a good night but i have to finish this one tonight
__________________

Last edited by Cerise; 01-10-2010 at 18:36.
Cerise is offline
Regis
Member
Join Date: Sep 2009
Old 01-10-2010 , 18:47   Re: [EXTENSION] TF2Items
#35

This plugin makes me incredibly happy, ever since voogru and drunkenfool didn't want to release theirs I thought there was no hope.

Thank you for releasing your version.
Regis is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-10-2010 , 19:45   Re: [EXTENSION] TF2Items
#36

Quote:
Originally Posted by Cerise View Post
By The way, what's the difference between rapidfire and slowfire ?
Not much except their names and proposed min/max values.
I believe it is left over from when drops were planned to have random attributes, there may be differences in the display on screen.

Quote:
Originally Posted by Cerise View Post
Yeah thought about that but that fact is the attributes for tf_weapon_sword are :
And it's not sufficient to have the same effects.
It may be hard-coded into the weapon, a few are like this.

Quote:
Originally Posted by Cerise View Post
I want to put on my weapon an attribute that reduces burning duration by 20% on myself.
There is one that makes you immune to receive afterburn, like the pyro, I however know of no VALVe weapon that does what you are after, the attribute may not exist yet, search carefully .

Quote:
Originally Posted by Regis View Post
since voogru and drunkenfool didn't want to release theirs I thought there was no hope.
hehe, The whole reason this was started .
__________________
asherkin is offline
voogru
Inspector Javert
Join Date: Oct 2004
Old 01-10-2010 , 21:00   Re: [EXTENSION] TF2Items
#37

Quote:
Originally Posted by asherkin View Post
hehe, The whole reason this was started .
And I don't get any credit?

No fair.

I just hope the pay-to-cheat server operators don't abuse this stuff, that was one of the primary reasons why I refused to release mine.
voogru is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-10-2010 , 21:09   Re: [EXTENSION] TF2Items
#38

Quote:
Originally Posted by voogru View Post
And I don't get any credit?
There you go .

Quote:
Originally Posted by voogru View Post
I just hope the pay-to-cheat server operators don't abuse this stuff, that was one of the primary reasons why I refused to release mine.
Same, stuff like this should be available to everyone though.
__________________
asherkin is offline
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 01-10-2010 , 22:52   Re: [EXTENSION] TF2Items
#39

Quote:
Originally Posted by voogru View Post
And I don't get any credit?

No fair.

I just hope the pay-to-cheat server operators don't abuse this stuff, that was one of the primary reasons why I refused to release mine.
If that starts happening I'll quit TF2. asherkin, could you put a notice or something in the original post warning against that?
noodleboy347 is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 01-10-2010 , 23:32   Re: [EXTENSION] TF2Items
#40

Give it a month and every server with be messing with items. Goodluck playing on a server when all the admins, donators, clan members, etc have weapons packed with attributes. Glad I just idle TF2 now, this is basically fakeclients v2 lol.
CrimsonGT 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:45.


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