PDA

View Full Version : Show Fury


=|[76AD]|= TatsuSaisei
11-27-2006, 04:02 PM
Show Fury
Plugin originally designed to answer a request on the dodplugins.net forum. http://www.dodplugins.net/forums/showthread.php?t=462

QUOTE (Box Cutter)
"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
disruptive 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
everyones screen flicker or quickly fade in and out and also shake. TIA to anyone who can help."

This is my response... but with a personal touch, lightning bolt strikes !! That will open some eyes....


Found out I love this plugin and have big plans for it.
It will find its way into a number of plugins I have on hand and some future ones...

It 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...

AMXX.CFG CVARS:
warn_lights_pattern "aaaabcdefgfedccbbcccddddeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeefffffffffffffffffggggggggggggggghhhhhhhh hhhiiiiiiiiiijjjjjjjjjjjj")//sets the pattern of lights (a = darkest z = brightest m ~ normal)
warn_length "15" //amount of time before server lighting is forced back to normal
warn_maxstrikes "5" //amount of lightning strikes randomly generated
warn_random_delay "5.0" //amount of random possible delay before lightning strikes
warn_msg "0" //enable/disable display of message during strike (0 = off 1 =on)
warn_message "I have become angry!! Cease your unruly behavior or suffer my WRATH" //message to be displayed to all players

VERSION INFO:
76.0 11/23/2006
initial code
76.1 11/24/2006
public code

NOTES:
Tested on Windows AMXX 1.76b
More customizations to come !!
Suggestions welcome !!

AUTHOR INFO:
Joseph Meyers AKA =|[76AD]|= TatsuSaisei - 76th Airborne Division RANK: General of the Army
http://76AD.com
http://TatsuSaisei.com
http://JosephMeyers.com

Box Cutter
11-27-2006, 08:16 PM
Thank you TatsuSaisei. I'm going to check this out now.

tegu
11-28-2006, 02:05 AM
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:

diamond-optic
12-07-2006, 09:06 PM
hmm

one 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)

and 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)

=|[76AD]|= TatsuSaisei
12-07-2006, 10:52 PM
hmm

one 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)

and 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)

added download of thunder.zip (contains the wav file) and I will correct my code. Thanx d-o

Box Cutter
12-08-2006, 12:17 AM
Anyway to make it so all the players screen shake? Similar to the nade shake that is already part of the game?

Box Cutter
12-08-2006, 12:20 AM
Does anyone have the CS thunder clash .wav? I believe someone on here said it is from the aztec map. Not sure though.

=|[76AD]|= TatsuSaisei
12-08-2006, 02:28 AM
Anyway to make it so all the players screen shake? Similar to the nade shake that is already part of the game?

sure... give me a few days

Box Cutter
12-08-2006, 05:38 AM
Cool thanks

deathbringer1972
12-11-2007, 06:54 PM
so you just changed one PLUGIN_to handled rather than all inside? coz i was getting the unknown command also.