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

[TF2] List of Item Definition Indexes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Wazz
SourceMod Donor
Join Date: Mar 2009
Old 08-29-2009 , 16:10   [TF2] List of Item Definition Indexes
Reply With Quote #1

So this is a list of all the item definition indexes that I have found, the hat indexes were found by Damizean.
Usage: SetEntProp(edict, Prop_Send, "m_iItemDefinitionIndex", index);

Weapons:
0 - Scout's Bat
1 - Demoman's Bottle
2 - Pyro's Axe
3 - Sniper's Kukri
4 - Spy's Knife
5 - Heavy's Fists
6 - Soldier's Shovel
7 - Engineer's Wrench
8 - Medic's Bonesaw
9 - Enginner's Shotgun
10 - Soldier's Shotgun
11 - Heavy's Shotgun
12 - Pyro's Shotgun
13 - Scout's Scattergun
14 - Sniper's Rifle
15 - Heavy's Minigun
16 - Sniper's SMG
17 - Medics Syringegun
18 - Soldier's Rocket Launcher
19 - Demoman's Grenade Launcher
20 - Demoman's Sticky Bomb Launcher
21 - Pyro's Flamethrower
22 - Engineer's Pistol
23 - Scout's Pistol
24 - Spy's Pistol
25 - Engineer's Builder
26 - Engineer's Demolisher
27 - Spy's Disguise Kit
29 - Medic's Ubergun
30 - Spy's Watch
35 - Medic's Kritzkrieg
36 - Medic's Blutslauger
37 - Medic's Ubersaw
38 - Pyro's Axetinguisher
39 - Pyro's Flaregun
40 - Pyro's Backburner
41 - Heavy's Natascha
42 - Heavy's Sandvich
43 - Heavy's Killer Gloves Of Boxing
44 - Scout's Wooden Bat
45 - Scout's Force-A-Nature
56 - Sniper's Huntsman
57 - Sniper's Razorback
58 - Sniper's Jarate
59 - Spy's Dead Ringer
60 - Spy's Cloak And Dagger
61 - Spy's Ambassador
Hats:
47 - Demoman's 'Fro
48 - Mining Light
49 - Football Helmet
50 - Prussian Pikelhaude
51 - Pyro's Beanie
52 - Batter's Helmet
53 - Trophy hat
54 - Soldier's Stash
55 - Fancy Fedora
94 - Texas Ten Gallon
95 - Engineer's Cap
96 - Officer's Ushanka
97 - Tough Guy's Tuque
98 - Stainless Pot
99 - Tyrant's Helm
100 - Glengarry Bonnet
101 - Vintage Tyrolean
102 - Respectless Rubber Glove
103 - Camera Beard
104 - Otolaryngologist's Mirror
105 - Brigade Helm
106 - Bonk Helm
107 - Ye Olde Baker Boy
108 - Backbiter's Billycock
109 - Professional's Panama
110 - Master's Yellow Belt
120 - Scottsman's Stove Pipe


Apologies in advance for any typos or incorrect names, however you should be able to work out what each item is.
Wazz is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 08-29-2009 , 20:25   Re: [TF2] List of Item Definition Indexes
Reply With Quote #2

You can find all of these in the items.ctx file.
bl4nk is offline
Wazz
SourceMod Donor
Join Date: Mar 2009
Old 08-29-2009 , 20:59   Re: [TF2] List of Item Definition Indexes
Reply With Quote #3

Hah darn. Ah well
Wazz is offline
voogru
Inspector Javert
Join Date: Oct 2004
Old 08-30-2009 , 07:46   Re: [TF2] List of Item Definition Indexes
Reply With Quote #4

Btw, just a note about the "m_iEntityQuality".

Don't dare ever set it over 9.

Every client that gets that entity sent to them will crash.
voogru is offline
Damizean
SourceMod Donor
Join Date: Mar 2009
Old 08-30-2009 , 08:01   Re: [TF2] List of Item Definition Indexes
Reply With Quote #5

Quote:
Originally Posted by voogru View Post
Btw, just a note about the "m_iEntityQuality".

Don't dare ever set it over 9.

Every client that gets that entity sent to them will crash.
Haha, yeah, I suffered from that too. Anyway, it's interesting the number of colors there are for the item quality, but only the 3 (unique) is used.
__________________
Dat annoying guy
Damizean is offline
Send a message via AIM to Damizean Send a message via MSN to Damizean
naris
AlliedModders Donor
Join Date: Dec 2006
Old 09-12-2009 , 20:40   Re: [TF2] List of Item Definition Indexes
Reply With Quote #6

Quote:
Originally Posted by voogru View Post
Btw, just a note about the "m_iEntityQuality".

Don't dare ever set it over 9.

Every client that gets that entity sent to them will crash.
Hmmm... that could make an entertaining replacement for banning people
naris is offline
voogru
Inspector Javert
Join Date: Oct 2004
Old 09-12-2009 , 21:29   Re: [TF2] List of Item Definition Indexes
Reply With Quote #7

Quote:
Originally Posted by naris View Post
Hmmm... that could make an entertaining replacement for banning people
It will crash anyone who sees the entity.
voogru is offline
Chris-_-
SourceMod Donor
Join Date: Oct 2008
Old 09-13-2009 , 08:01   Re: [TF2] List of Item Definition Indexes
Reply With Quote #8

A crash utility would be nice however. I'm not even joking.
Chris-_- is offline
Pyroguy
Junior Member
Join Date: Jun 2009
Old 11-08-2009 , 06:29   Re: [TF2] List of Item Definition Indexes
Reply With Quote #9

Could this be used to let players play with items even if they don't have the necessary achievements? If so, how?
Pyroguy is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 11-08-2009 , 17:13   Re: [TF2] List of Item Definition Indexes
Reply With Quote #10

http://forums.alliedmods.net/showthread.php?t=98651
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami 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 02:33.


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