Raised This Month: $235 Target: $400
 58% 

[TF2][HELP] Equipwearable Gamedata


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
J0BL3SS
Senior Member
Join Date: Sep 2020
Location: Turkey
Old 05-02-2021 , 04:13   [TF2][HELP] Equipwearable Gamedata
Reply With Quote #1

ive seen so many equipwearable gamedata files, but i still don't sure which one is most latest

example1:
Code:
"Games"
{
	"tf"
	{
		"Signatures"
		{
			"CBasePlayer::EquipWearable"
			{
				"library"	"server"
				"linux"		"@_ZN11CBasePlayer13EquipWearableEP13CEconWearable"
				"windows"	"\x55\x8B\x2A\x51\x53\x8B\x2A\x2A\x57\x8B\x2A\x89\x2A\x2A\x85"
				"mac"		"@_ZN11CBasePlayer13EquipWearableEP13CEconWearable"
			}
		}
	}
}
example2:
Code:
"Games"
{
	/* Team Fortress 2 */
	"tf"
	{
		"Offsets"
		{
			"EquipWearable"
			{
				"windows"	"430"
				"linux"		"431"
				"mac"		"431"
			}
		}
	}
}
example3:
Code:
"Games"
{
	"tf"
	{
		"Offsets"
		{
			"CBasePlayer::EquipWearable"
			{
				"linux"		"431"
				"windows"	"430"
			}
		}
	}
}
Spoiler
__________________
My Steam Profile
My Discord Name: J0BL3SS#5320

Last edited by J0BL3SS; 05-02-2021 at 04:14. Reason: fixed text
J0BL3SS is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-02-2021 , 14:02   Re: [TF2][HELP] Equipwearable Gamedata
Reply With Quote #2

Example 2 is the one I use.

Making zombies is hard to do since it requires more than just equipping an item. See attached plugin for example. I should probably post this in the plugins section.
Attached Files
File Type: txt zombies.txt (166 Bytes, 8 views)
File Type: sp Get Plugin or Get Source (zombies.sp - 7 views - 7.7 KB)
File Type: smx zombies.smx (7.6 KB, 7 views)
PC Gamer is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 05-02-2021 , 14:18   Re: [TF2][HELP] Equipwearable Gamedata
Reply With Quote #3

2 is the current version.

However, I'd recommend using TF2Util_EquipPlayerWearable from TF2 Utils so you don't have to maintain the offsets / SDKCall declarations yourself.

(Disclosure: I made this.)
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 05-02-2021 at 14:23.
nosoop is offline
Reply


Thread Tools
Display Modes

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:23.


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