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

TF2Items - Items with custom attributes.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-07-2010 , 06:42   Re: TF2Items - Items with custom attributes.
#461

Quote:
Originally Posted by Sorrowfire View Post
any idea if the base weapons will be able to be fixed to work with different levels and quality's? (Sorry if the question is bugging anyone, i just have yet to get a reply)
I'm not sure what is actually happening yet, haven't had a chance to do any tests.

Quote:
Originally Posted by pheadxdll View Post
Today's update pushed the offsets up by one (tested on windows)
Thanks, updated with the new offsets.

Quote:
Originally Posted by ultimateh4xr View Post
I have tried multiple times to get this working on a firends server but have had no success. The items do not change at all and the server will randomly crash, usually when the owner dies. I have tried many methods of getting the items to have attributes but i can't seem to get it to work. Can someone provide a full tutorial (video or in-depth) because I have tried everything in the OP and can't get it working. Can someone please help me?
If you only tried today you would have had out of date gamedata, try again with a fresh download.
One of the many guides on items_game editing + the example config file should be all you need (except of course editing the config file instead of the items_game file , since the basic concepts are practically the same), the documentation is designed for someone experienced with editing items_game.
__________________
asherkin is offline
Sorrowfire
Member
Join Date: Jul 2010
Location: <Missing String>
Old 10-07-2010 , 13:13   Re: TF2Items - Items with custom attributes.
#462

Thanks for that Asherkin, i hope it gets fixed up without too many problems (:

Oh and as a side-note, i love the new Avatar. Nothing beats Pyro and the brain slug.
Sorrowfire is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 10-07-2010 , 13:56   Re: TF2Items - Items with custom attributes.
#463

Quote:
Originally Posted by Leonardo View Post
Code:
1 => "Particle 1"
2 => "Flying Bits"
3 => "Nemesis Burst"
4 => "Community Sparkle"
5 => "Holy Glow"
6 => "Green Confetti"
7 => "Purple Confetti"
8 => "Haunted Ghosts"
9 => "Green Energy"
10 => "Purple Energy"
11 => "Circling TF Logo"
12 => "Massed Flies"
13 => "Burning Flames"
14 => "Scorching Flames"
15 => "Searing Plasma"
16 => "Vivid Plasma"
17 => "Sunbeams"
18 => "Circling Peace Sign"
19 => "Circling Heart"
I've never really used this extension to it's potential, can you add these particle effects to any weapon using it? If you can, could I get an example?
bl4nk is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 10-07-2010 , 15:39   Re: TF2Items - Items with custom attributes.
#464

Quote:
Originally Posted by bl4nk View Post
I've never really used this extension to it's potential, can you add these particle effects to any weapon using it? If you can, could I get an example?
Code:
"custom_weapons_v3"
{
	"*"
	{
		"42" // Holy Sandvich
		{
			"quality"				"6"
			"level"					"5"
			"admin-flags"			"0"
			"preserve-attributes"	"1"
			
			"1"			"134 ; 17"
		}
		"153" // Homewrecker with Love
		{
			"quality"				"6"
			"level"					"5"
			"admin-flags"			"0"
			"preserve-attributes"	"1"
			
			"1"			"134 ; 19"
		}
	}
}
Image: Homewrecker with Love
Image: Holy Sandvich

attached particle effects are just an attribute -_-
__________________

Last edited by Leonardo; 10-07-2010 at 15:41.
Leonardo is offline
Sorrowfire
Member
Join Date: Jul 2010
Location: <Missing String>
Old 10-07-2010 , 15:40   Re: TF2Items - Items with custom attributes.
#465

Quote:
Originally Posted by bl4nk View Post
I've never really used this extension to it's potential, can you add these particle effects to any weapon using it? If you can, could I get an example?
You can add those effects to just about any weapon, hat, misc item, etc. And it thankfully binds the particle to the bone of said weapon or item.

An example, that i love to use because it looks epic...

Code:
        }
        "143"
        {
            "quality"        "6"
            "level"        "70"

            "1"        "134 ; 2"
        }
Is flaming earbuds.
Assuming you already know how the whole attach attribute system works...
134 is to attach the particle effect
and 2 is the particle effect ID

You can find the particle id's near the bottom of the items_game.txt

And as a quick sub-note, some of the particle effects that have an attachment labeled underneath them, won't work. I have yet to try with the new ones.. but from the old particles....

I know the below two don't work... or didn't at any rate.

#3 (particle_nemesis_burst_blue) Just won't work... Give some lovely red errors in the console though
#5 (Halo Effect) Won't work.. well unless you equip a halo

Ps: You can only add one particle effect per item/weapon, however you can get two particle effects on your head if you use the earbuds and a hat that have a particle effect.

[Edit] Curses, i was beaten to the punch.. But fyi, you don't need to add the admin flags if there are none. As for Preserve-attributes, that's a new one for me i guess you learn something new every day.
Sorrowfire is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 10-07-2010 , 19:20   Re: TF2Items - Items with custom attributes.
#466

Quote:
Originally Posted by Sorrowfire View Post
134 is to attach the particle effect
Ah, that's what I was missing. I didn't know it was just another attribute.
bl4nk is offline
Old 10-08-2010, 06:09
Leonardo
This message has been deleted by psychonic. Reason: asherkin asked nicely that this please not be discussed as to not give valve more reason to kill this plugin
Old 10-08-2010, 10:03
Leonardo
This message has been deleted by Leonardo. Reason: hmm. talking about the attribute #134 is normal, but about the other isn't? =\
RIKUSYO
Junior Member
Join Date: Jul 2008
Old 10-08-2010 , 11:27   Re: TF2Items - Items with custom attributes.
#467

How remove item_sets attributes?
RIKUSYO is offline
Sorrowfire
Member
Join Date: Jul 2010
Location: <Missing String>
Old 10-08-2010 , 13:37   Re: TF2Items - Items with custom attributes.
#468

Quote:
Originally Posted by RIKUSYO View Post
How remove item_sets attributes?
Hmm, i personally don't know. That is a different entry spot in items_game.txt then any weapon or hat. So currently i don't think its possible to remove or edit them with this plug-in.
Sorrowfire is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 10-08-2010 , 14:00   Re: TF2Items - Items with custom attributes.
#469

could make a counter-attribute(s)?
__________________
Leonardo is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 10-08-2010 , 17:40   Re: TF2Items - Items with custom attributes.
#470

Quote:
Originally Posted by alinayg View Post
http://pastebin.com/dtRYS8CJ

Works fine for me.
Do any new item IDs need to be added to this to not make Engineers' buildings / Medic's uber / Demo's stickies be destroyed? Or is that still fine as-is.
__________________
msleeper 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 17:50.


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