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

Blocking Unlocks and Hats


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 10-01-2010 , 09:39   Blocking Unlocks and Hats
Reply With Quote #1

I know it is possible to block unlocks (see plugin: http://forums.alliedmods.net/showthread.php?t=93537)

But is it also possible to block the use of Hats or other non-standard attachments?

And how can one find out the new indexes for the unlocks (see plugin above unlockDefIdx. e.g. Homewrecker = 153)?
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
Flyflo
Senior Member
Join Date: Jun 2008
Location: Grenoble, France
Old 10-01-2010 , 13:50   Re: Blocking Unlocks and Hats
Reply With Quote #2

Indexes can be found in team fortress 2 content.gcf/tf/scripts/items/items_games.txt
I think you can remove hats with the TF2Items extension and its TF2Items_OnGiveNamedItem() function.
__________________
Flyflo is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 10-04-2010 , 07:36   Re: Blocking Unlocks and Hats
Reply With Quote #3

Thanks for the Info.. I'll try that
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium 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 04:15.


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