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

TF2 Extra Wearables not being removed with weapon slot


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 11-22-2013 , 12:16   TF2 Extra Wearables not being removed with weapon slot
Reply With Quote #1

Is this by design now or something?
batallion's backup, quick fix, etc keep their wearables when using the TF2_RemoveWeaponSlot or TF2_RemoveAllWeapons natives

seems RemovePlayerItem(client, weaponIndex); does nothing
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 11-22-2013 at 12:20.
friagram is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-22-2013 , 13:17   Re: TF2 Extra Wearables not being removed with weapon slot
Reply With Quote #2

Quote:
Originally Posted by friagram View Post
Is this by design now or something?
batallion's backup, quick fix, etc keep their wearables when using the TF2_RemoveWeaponSlot or TF2_RemoveAllWeapons natives

seems RemovePlayerItem(client, weaponIndex); does nothing
I've been hearing this is an issue as of late. Blocking it in a TF2Items_OnGiveNamedItem hook should block it completely, though. Although I've heard that's not blocking Action slot items these days.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 11-22-2013 , 13:49   Re: TF2 Extra Wearables not being removed with weapon slot
Reply With Quote #3

I just edited the tf2_removeweaponslot stock for now..
I check if the extra wearable prop is valid ent and kill it if it is.
Not sure if this was the best way to do it, but it works for now.

Unfortunately I can't always use ogni because the client may already have the item when I need to remove it in post inventory. guess I could like.. Trigger a regenerate and break recursion, but that seems sloppy.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 11-22-2013 at 13:52.
friagram 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 15:24.


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