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

UnlockBlock - Disable unlock weapons and cosmetic items.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-13-2010 , 09:39   UnlockBlock - Disable unlock weapons and cosmetic items.
Reply With Quote #1

It's dead, don't even try and use it.
------------------------------------------

Quite a simple one this time, provides three convars.
  • tf_allow_unlocks - Unlockable Weapons.
  • tf_allow_cosmetics - Hats and Misc Items.
  • tf_allow_action_items - Action Items.

All convars default to 1, just set to 0 to block the items.

I made this due to being unhappy with how the current plugins that do this work, this ext actually makes it seem to the server like the client has unequipped the item.

Download: unlockblock.zip

Source Code | Build Status | Snapshots
__________________

Last edited by asherkin; 05-04-2013 at 14:02.
asherkin is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 12-13-2010 , 10:12   Re: UnlockBlock - Disable unlock weapons and cosmetic items.
Reply With Quote #2

Nice one.
__________________
FaTony is offline
Matheus28
Senior Member
Join Date: Aug 2009
Old 12-13-2010 , 11:53   Re: UnlockBlock - Disable unlock weapons and cosmetic items.
Reply With Quote #3

Do set hats count as cosmetic?
Matheus28 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-13-2010 , 11:54   Re: UnlockBlock - Disable unlock weapons and cosmetic items.
Reply With Quote #4

Quote:
Originally Posted by Matheus28 View Post
Do set hats count as cosmetic?
Yes.
It's basically hats+misc items.
__________________
asherkin is offline
Matheus28
Senior Member
Join Date: Aug 2009
Old 12-13-2010 , 11:58   Re: UnlockBlock - Disable unlock weapons and cosmetic items.
Reply With Quote #5

What about a cvar for set hats?
Matheus28 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-13-2010 , 12:12   Re: UnlockBlock - Disable unlock weapons and cosmetic items.
Reply With Quote #6

Fixed the Linux version, had a typo in the gamedata.

Quote:
Originally Posted by Matheus28 View Post
What about a cvar for set hats?
I'll think about the best way to implement this. Do note that this doesn't just make the hats invisible, the players will not get the set bonuses.
__________________

Last edited by asherkin; 12-13-2010 at 12:27.
asherkin is offline
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 12-17-2010 , 07:06   Re: UnlockBlock - Disable unlock weapons and cosmetic items.
Reply With Quote #7

Neat, this means I won't have to bother with an advanced plugin. Good job!
__________________
Mecha the Slag is offline
Flyflo
Senior Member
Join Date: Jun 2008
Location: Grenoble, France
Old 12-17-2010 , 07:57   Re: UnlockBlock - Disable unlock weapons and cosmetic items.
Reply With Quote #8

On my server, the extension works great (no unlocks and no cosmetics) except for the spy's watches, am I the only one ?

Server running on linux and SM 1.4.0 rev3165.
__________________
Flyflo is offline
xomp
BANNED
Join Date: Jul 2008
Old 12-23-2010 , 01:10   Re: UnlockBlock - Disable unlock weapons and cosmetic items.
Reply With Quote #9

Haha bro, you have answered the whine of so many players. Good work!
xomp is offline
Send a message via Skype™ to xomp
Jiffs
Member
Join Date: Apr 2009
Location: Russian
Old 01-14-2011 , 14:48   Re: UnlockBlock - Disable unlock weapons and cosmetic items.
Reply With Quote #10

Great plugin, but

Quote:
Originally Posted by Flyflo View Post
On my server, the extension works great (no unlocks and no cosmetics) except for the spy's watches, am I the only one ?

Server running on linux and SM 1.4.0 rev3165.
I too have this problem. asherkin, please fix this.
__________________
Sorry for my bad english...
Jiffs is offline
Send a message via ICQ to Jiffs Send a message via Skype™ to Jiffs
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 11:57.


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