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

[TF2] Noise Maker Player


Post New Thread Reply   
 
Thread Tools Display Modes
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 11-10-2010 , 02:29   Re: [TF2] Noise Maker Player
Reply With Quote #11

1. The particle played once per use.

2. I've seen them done before I believe they're panels.
__________________
McFlurry is offline
Send a message via Skype™ to McFlurry
jouva
Senior Member
Join Date: Jan 2010
Old 11-10-2010 , 04:30   Re: [TF2] Noise Maker Player
Reply With Quote #12

No not how many times, but how long does it get displayed for.
jouva is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 11-10-2010 , 07:43   Re: [TF2] Noise Maker Player
Reply With Quote #13

See this youtube videos for the particle effects: http://www.youtube.com/watch?v=hDUnRs3hL_A
__________________
pheadxdll is offline
jouva
Senior Member
Join Date: Jan 2010
Old 11-10-2010 , 13:37   Re: [TF2] Noise Maker Player
Reply With Quote #14

Version 1.1.0 Released
  • Some minor code rearranging
  • Plugin now precaches sounds only on plugin load instead of every time
  • Players now have the "Halloween Note" particle effect attached when using the noise maker. Cloaked spies will not display it.
  • Added cool down time between uses. Defaults to 5 seconds. Root flag "z" is always immune.
  • Stabby now has 3 sounds based on pitch
jouva is offline
jouva
Senior Member
Join Date: Jan 2010
Old 11-10-2010 , 13:56   Re: [TF2] Noise Maker Player
Reply With Quote #15

Thoughts on things to change in the future:
  • With 8 items and a max of 7 per page on menus, I really need to convert this to a panel. This would change the logic of the menu handler since there's no longer any info text allowed for panels.
  • Make translation files for the item names. Shouldn't be TOO hard since this text already exists thanks to Valve. Just tedious.
So yeah unless there's other things I'm missing (such as how the sound gets emitted), the only thing that needs improving at this point would be the menu.
jouva is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 11-10-2010 , 15:23   Re: [TF2] Noise Maker Player
Reply With Quote #16

Quote:
Originally Posted by jouva View Post
Plugin now precaches sounds only on plugin load instead of every time
That's really bad. You need to precache the sounds every mapchange (preferably in OnMapStart() or just before usage) and you should NEVER precache them in OnPluginStart() unless the map has already been loaded (if the plugin was late loaded).
naris is offline
jouva
Senior Member
Join Date: Jan 2010
Old 11-10-2010 , 15:37   Re: [TF2] Noise Maker Player
Reply With Quote #17

Derp. You're right. I called my precaching function in both and used IsSoundPrecached. Uploading right now.
jouva is offline
jouva
Senior Member
Join Date: Jan 2010
Old 11-10-2010 , 15:39   Re: [TF2] Noise Maker Player
Reply With Quote #18

Version 1.1.1 Released
  • Plugin now precaches sounds on plugin load and map load
jouva is offline
Regis
Member
Join Date: Sep 2009
Old 11-10-2010 , 20:21   Re: [TF2] Noise Maker Player
Reply With Quote #19

Quote:
Originally Posted by psychonic View Post
If a Valve employee does show concern over using this content, I will immediately reupload this plug-in and urge all server owners to install it thereafter. I will also urge owners to install (or enable, when the option is put in) the plug-in if they continue to sell the items.
I sure wish you were working on a public workaround of attachables. DEY BROKE MY SACK OF PRESENTS ATTACHMENT FOR MY CHRISTMAS PLUGIN.
Regis is offline
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Old 11-11-2010 , 02:37   Re: [TF2] Noise Maker Player
Reply With Quote #20

Quote:
Originally Posted by jouva View Post
Version 1.1.1 Released
  • Plugin now precaches sounds on plugin load and map load
Just so you know, you cant precache files on pluginstart. And even if you could, doing it twice in two different places still wouldnt make sense.
__________________
retsam 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 06:35.


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