AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [TF2] List of Item Definition Indexes (https://forums.alliedmods.net/showthread.php?t=102043)

Pyroguy 11-09-2009 00:31

Re: [TF2] List of Item Definition Indexes
 
I was hoping for the weapons as well.

TheSpyHunter 11-09-2009 07:00

Re: [TF2] List of Item Definition Indexes
 
Using this method is it possible to give a player a weapon they havent unlocked?

If so how...?

Zuko 11-25-2009 09:17

Re: [TF2] List of Item Definition Indexes
 
Where can I find weapon indexes for L4D2?

Jindo 11-25-2009 15:59

Re: [TF2] List of Item Definition Indexes
 
Quote:

Originally Posted by Zuko (Post 998654)
Where can I find weapon indexes for L4D2?

As far as I know this system is exclusive to TF2 as part of the item drop system.

Zuko 11-27-2009 01:15

Re: [TF2] List of Item Definition Indexes
 
ok, I just wondering if there is posibillity to spawn weapon using indexes in L4D2.

Code:

EquipPlayerWeapon

          Syntax: native EquipPlayerWeapon(client, weapon);

Usage: client        Client index.
 item            CBaseCombatWeapon entity index.Notes: Equip's a player's weapon.


Wazz 11-27-2009 05:53

Re: [TF2] List of Item Definition Indexes
 
The list I gave in the first post are item definition indexes. These are not the same as entity indexes. For EquipPlayerWeapon you first need to call GiveNamedItem and get the entity index from that.

Jindo 12-19-2009 17:00

Re: [TF2] List of Item Definition Indexes
 
Weapons:

127 - Soldier's Direct Hit
128 - Soldier's Equalizer
129 - Soldier's Buff Banner
130 - Demoman's Scottish Resistance
131 - Demoman's Chargin' Targe
132 - Demoman's Eyelander
133 - Soldier's Gunboats

Hats:

115 - Halloween Hat (only appears on Halloween)
116 - Ghastly Gibus
121 - Service Medal
125 - Cheater's Lament
126 - Bill's Hat

Crafts:

5000 - Scrap Metal
5001 - Reclaimed Metal
5002 - Refined Metal
5003 - Scout Class Token
5004 - Sniper Class Token
5005 - Soldier Class Token
5006 - Demoman Class Token
5007 - Heavy Class Token
5008 - Medic Class Token
5009 - Pyro Class Token
5010 - Spy Class Token
5011 - Engineer Class Token
5012 - Primary Slot Token
5013 - Secondary Slot Token
5014 - Melee Slot Token
5015 - Grenade Slot Token
5016 - Building Slot Token
5017 - PDA Slot Token
5018 - PDA2 Slot Token
5019 - Head Slot Token

noodleboy347 12-20-2009 16:17

Re: [TF2] List of Item Definition Indexes
 
Why are those craft item indexes so high?!

Jindo 12-20-2009 16:21

Re: [TF2] List of Item Definition Indexes
 
Quote:

Originally Posted by noodleboy347 (Post 1024378)
Why are those craft item indexes so high?!

Probably because Valve are trying to organize things and have them seperate from the actual items, and who knows what sort of systems they will put in place (custom weapons with dynamically produced attributes could well become a possibility as a result of the crafting system)

Jindo 12-23-2009 06:01

Re: [TF2] List of Item Definition Indexes
 
I've gone ahead and added this list to the wiki:

http://wiki.alliedmods.net/Team_Fort...nition_Indexes

This way the entire list is all together and anyone can add to it as Valve add more items.


All times are GMT -4. The time now is 18:16.

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