[TF2] Noise Maker Player
2 Attachment(s)
Noise Maker Player
Version 2.3.1 Description Just because the noise makers aren't available for purchase anymore, it doesn't mean you can't enjoy the noise makers still. Simple to use, easy to annoy! Use the sm_noisemaker command to pull up a menu and choose which type of sound pack you wish to play. All sound packs have a set of different sounds that will randomly be chosen to play. Other commands:
sm_noisemaker and other commands (except where noted above) can optionally accept one parameter. 0 will play a random noise maker. Any other number plays the respective noise maker as listed in the command's menu. Note: This IS using content Valve made with an intent to earn profit from. However, the items are no longer available in the store, or have been given out for free and should hopefully be ok by Valve. If a Valve employee does show concern over using this content, I will immediately discontinue this plugin and urge all server owners to uninstall it thereafter. I will also urge owners to remove (or disable, when the option is put in) the plugin if they continue to sell the items. Installation Extract the .zip file into your sourcemod directory. For updates, unload and reload the plugin. Any updates including new language files will be marked as such. Any updates w/o language files will only need a new .sp/.smx file. Cvars
Thanks to EnigmatiK and Jindo for their plugins (Melee Dare and False Messages) which I used to make a lot of this code. Also thanks to DarthNinja for contributing code for sm_noisemaker to accept parameters. |
Re: [TF2] Noise Maker Player
Quote:
|
Re: [TF2] Noise Maker Player
lolol I see what you did there. I'm just trying to say that I don't want to get Valve mad at us or me just like they did with hats. Though I'm pretty sure they didn't exactly see the noise makers as a get rich quick scheme, or got everybody a nice pay raise cause of it, but it IS specifically material that did earn them money.
|
Re: [TF2] Noise Maker Player
There's also a particle system effect when you play a sound, I say make it exactly like the real deal. If Valve gets upset, they can always make those sounds unplayable. :gyar:
Couple things, admin/cooldown would be nice, plus why don't you precache all the files at once and then look at the menu_item index to determine which one to play. You'd save some unnecessary string conversions. Other than that, good job, I knew someone would make something like this. |
Re: [TF2] Noise Maker Player
Quote:
|
Re: [TF2] Noise Maker Player
sm_play @all Halloween.stabby
So much fun :D And it uses playgamesound... Why not use it? |
Re: [TF2] Noise Maker Player
Would it change how it gets emitted? Cause I'm pretty sure that the noise makers would be emitted and not be heard all over the map or by all players.
|
Re: [TF2] Noise Maker Player
I agree with getting the correct particles to appear when used*cough, cough* halloween_notes *cough, cough*
|
Re: [TF2] Noise Maker Player
Working on this stuff right now. Also FYI, it looks like valve was going to make a "Spooky" item, but it never got sold. So it's an added bonus.
Also going to update the text for the names. Should have something tonight or tomorrow. |
Re: [TF2] Noise Maker Player
Little update already: Looks like most of this is working just fine. But 2 questions.
1) Does anybody know if the particle effect lasted for a set amount of time or was it dependent upon the length of the sound 2) For those that code: is there an easy way for me to make a menu that doesn't have "next" and shows all 8 items? I tried MENU_NO_PAGINATION but that doesn't seem to do it and it's ONLY 8 items. |
All times are GMT -4. The time now is 01:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.