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

[TF2] Remove halloween souls?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tRololo312312
Senior Member
Join Date: Apr 2015
Old 11-14-2015 , 14:24   [TF2] Remove halloween souls?
Reply With Quote #1

Now that official halloween event is over, i noticed that on servers that use tf_forced_holiday 2 (mine as example) souls still drop from enemies. Is there anyway to stop them from coming? They are annyoying as thriller taunt now.
tRololo312312 is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 11-14-2015 , 14:30   Re: [TF2] Remove halloween souls?
Reply With Quote #2

I forgot the classname, but if you know the classname, then under OnEntityCreated just call Kill on it or something.
Potato Uno is offline
tRololo312312
Senior Member
Join Date: Apr 2015
Old 11-14-2015 , 17:16   Re: [TF2] Remove halloween souls?
Reply With Quote #3

ok i made small plugin that removes them fine. this is solved
tRololo312312 is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 11-15-2015 , 02:30   Re: [TF2] Remove halloween souls?
Reply With Quote #4

isn't thee a hidden cvar to disable it like the ducks?
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 11-15-2015 , 10:49   Re: [TF2] Remove halloween souls?
Reply With Quote #5

Is there a way to dump all the hidden cvars to file? If so, there might be a way. The "find" command doesn't include locked cvars.
Potato Uno is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 11-15-2015 , 12:50   Re: [TF2] Remove halloween souls?
Reply With Quote #6

Should be, but usually typing in like tf_Halloween ans hitting tab a bunch gets it done
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 11-15-2015 at 12:51.
friagram is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-15-2015 , 14:31   Re: [TF2] Remove halloween souls?
Reply With Quote #7

Quote:
Originally Posted by friagram View Post
Should be, but usually typing in like tf_Halloween ans hitting tab a bunch gets it done
I don't think hidden cvars are auto-completed.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 11-15-2015 , 14:48   Re: [TF2] Remove halloween souls?
Reply With Quote #8

Quote:
Originally Posted by friagram View Post
Should be, but usually typing in like tf_Halloween ans hitting tab a bunch gets it done
Yep, no different from find.
__________________
Chdata is offline
sneakret
Member
Join Date: Jul 2012
Old 11-24-2015 , 16:03   Re: [TF2] Remove halloween souls?
Reply With Quote #9

Quote:
Originally Posted by tRololo312312 View Post
ok i made small plugin that removes them fine. this is solved
Care to share that plugin?
sneakret is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 11-28-2015 , 11:48   Re: [TF2] Remove halloween souls?
Reply With Quote #10

Code:
public void OnEntityCreated(int iEnt,char classname[]) {     if(IsValidEntity(iEnt) && StrEqual(classname,"halloween_souls_pack"))     {         AcceptEntityImput(iEnt,"Kill");     } }
__________________

Last edited by Benoist3012; 11-28-2015 at 11:49.
Benoist3012 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 08:19.


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