Show Fury
by =|[76AD]|= TatsuSaisei · 2006-11-27 · 9 replies · 7804 views · 397 downloads
From the first post
nPlugin originally designed to answer a request on the dodplugins.net forum. https://www.dodplugins.net/forums/showthread.php?t=462
n
nQUOTE (Box Cutter)
n"I'd appreciate it if a developer wouldnt mind whipping up a plugin that an admin could use to get everyones attention in the server like when they are being
ndisruptive to give them a sign that the admin is pissed and they need to behave. I would like it if the plugin would play a sound like a thunder clash, make
neveryones screen flicker or quickly fade in and out and also shake. TIA to anyone who can help."
n
nThis is my response... but with a personal touch, lightning bolt strikes !! That will open some eyes....
n
n
nFound out I love this plugin and have big plans for it.
nIt will find its way into a number of plugins I have on hand and some future ones...
n
nIt is highly customizable (as i like my plugins) and care should be taken when editing the source code use the amxx.cfg file to make any changes but you should leave the defaults listed here alone...
n
nAMXX.CFG CVARS:
nwarn_lights_pattern "aaaabcdefgfedccbbcccddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeefffffffffffffffffggggggggggggggghhhhhhhhhhhiiiiiiiiiijjjjjjjjjjjj")//sets the pattern of lights (a = darkest z = brightest m ~ normal)
nwarn_length "15" //amount of time before server lighting is forced back to normal
nwarn_maxstrikes "5" //amount of lightning strikes randomly generated
nwarn_random_delay "5.0" //amount of random possible delay before lightning strikes
nwarn_msg "0" //enable/disable display of message during strike (0 = off 1 =on)
nwarn_message "I have become angry!! Cease your unruly behavior or suffer my WRATH" //message to be displayed to all players
n
nVERSION INFO:
n76.0 11/23/2006
ninitial code
n76.1 11/24/2006
npublic code
n
nNOTES:
nTested on Windows AMXX 1.76b
nMore customizations to come !!
nSuggestions welcome !!
n
nAUTHOR INFO:
nJoseph Meyers AKA =|[76AD]|= TatsuSaisei - 76th Airborne Division RANK: General of the Army
nhttp://76AD.com
nhttp://TatsuSaisei.com
nhttp://JosephMeyers.com
Files
| dod_show_fury.sma | Plugin Source | 5 KB | 202 dl | Download Compile |
| thunder.zip | Archive | 62 KB | 195 dl | Download |
The thread
All 10 posts from 5 people on Show Fury, kept as they were written.
Threads: 54
Joined: May 2005
Show FurynPlugin originally designed to answer a request on the dodplugins.net forum. https://www.dodplugins.net/forums/showthread.php?t=462n nQUOTE (Box Cutter)n"I'd appreciate it if a developer wouldnt mind whipping up a plugin that an admin could use to get everyones attention in the server like when they are being ndisruptive to give them a sign that the admin is pissed and they need to behave. I would like it if the plugin would play a sound like a thunder clash, make neveryones screen flicker or quickly fade in and out and also shake. TIA to anyone who can help."n nThis is my response... but with a personal touch, lightning bolt strikes !! That will open some eyes....n n nFound out I love this plugin and have big plans for it.nIt will find its way into a number of plugins I have on hand and some future ones...n nIt is highly customizable (as i like my plugins) and care should be taken when editing the source code use the amxx.cfg file to make any changes but you should leave the defaults listed here alone...n nAMXX.CFG CVARS:nwarn_lights_pattern "aaaabcdefgfedccbbcccddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeefffffffffffffffffggggggggggggggghhhhhhhhhhhiiiiiiiiiijjjjjjjjjjjj")//sets the pattern of lights (a = darkest z = brightest m ~ normal)nwarn_length "15" //amount of time before server lighting is forced back to normalnwarn_maxstrikes "5" //amount of lightning strikes randomly generatednwarn_random_delay "5.0" //amount of random possible delay before lightning strikesnwarn_msg "0" //enable/disable display of message during strike (0 = off 1 =on)nwarn_message "I have become angry!! Cease your unruly behavior or suffer my WRATH" //message to be displayed to all playersn nVERSION INFO:n76.0 11/23/2006ninitial coden76.1 11/24/2006npublic coden nNOTES:nTested on Windows AMXX 1.76bnMore customizations to come !!nSuggestions welcome !!n nAUTHOR INFO:nJoseph Meyers AKA =|[76AD]|= TatsuSaisei - 76th Airborne Division RANK: General of the Armynhttp://76AD.comnhttp://TatsuSaisei.comnhttp://JosephMeyers.com
Threads: 7
Joined: Jun 2006
Thank you TatsuSaisei. I'm going to check this out now.
Threads: 11
Joined: Aug 2006
Trying it now too. I have needed something like this on occasion and think it will come in very handy on certain times... (/thinks of days with no school):cool:
Threads: 103
Joined: May 2005
hmmnnone thing i found was that the 'thunder.wav' sound isnt a defualt dod file.. i believe the defualt dod files are like thunder1.wav thunder2.wav thunder3.wav thunder4.wav (not sure if theres more then that)nnand also the show_fury command comes up as 'unknown command' in console.. to fix this change the return on the function from PLUGIN_CONTINUE to PLUGIN_HANDLED (since its not a normal dod command no need to let it continue past the plugin)
Threads: 54
Joined: May 2005
hmmn none thing i found was that the 'thunder.wav' sound isnt a defualt dod file.. i believe the defualt dod files are like thunder1.wav thunder2.wav thunder3.wav thunder4.wav (not sure if theres more then that)n nand also the show_fury command comes up as 'unknown command' in console.. to fix this change the return on the function from PLUGIN_CONTINUE to PLUGIN_HANDLED (since its not a normal dod command no need to let it continue past the plugin)n nadded download of thunder.zip (contains the wav file) and I will correct my code. Thanx d-o
Threads: 7
Joined: Jun 2006
Anyway to make it so all the players screen shake? Similar to the nade shake that is already part of the game?
Threads: 7
Joined: Jun 2006
Does anyone have the CS thunder clash .wav? I believe someone on here said it is from the aztec map. Not sure though.
Threads: 54
Joined: May 2005
Anyway to make it so all the players screen shake? Similar to the nade shake that is already part of the game?n nsure... give me a few days
Threads: 1
Joined: Oct 2007
so you just changed one PLUGIN_to handled rather than all inside? coz i was getting the unknown command also.

