AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Admin Smite 2.1 (updated Feb. 13, 2010) (https://forums.alliedmods.net/showthread.php?t=118534)

Hipster 02-12-2010 00:14

Admin Smite 2.1 (updated Feb. 13, 2010)
 
2 Attachment(s)
Admin Smite (v2.1)

This is a new, improved and maintained version of anakin_cstrike's Admin Thunder plugin. I think "Admin Smite" is a more fitting name. It's great for those times when you need to show your players who's really in charge. :grrr:

Example Video: http://www.youtube.com/watch?v=BlsVF_W4jGM

Commands
sm_smite <#userid|name> - Slay with a lightning bolt effect.
Installation
  1. Throw adminsmite.smx into your addons/sourcemod/plugins folder.
  2. Throw adminsmite.phrases.txt into your addons/sourcemod/translations folder.
  3. Restart the server or execute "sm plugins load adminsmite" via rcon.
  4. Smite thou who dost evil!
Changelog

Quote:

February 13, 2010 - v2.1
  • Randomized the lightning strike direction.
February 11, 2010 - v2.0
  • Fixed previously reported bugs.
  • Added automatic admin menu integration.
  • Added support for translations.
  • Refined the lightning and thunder effects.
August 31, 2009 - v1.2
  • Added targeting support (e.g. @all, @bots, @ct, etc). (Wazz)
  • Added ShowActivity support. (Wazz)
July 12, 2009 - v1.1
  • Added thunder sound. (R3M*)
July 08, 2009 - v1.0
  • Original plugin released. (anakin_cstrike)

Credit & Thanks

Credit goes to anakin_cstrike for creating the original plugin; R3M* and Wazz for making some improvements; psychonic for the bugfix suggestion; and the SourceMod developers for showing me how to properly integrate commands into the admin menu.

noodleboy347 02-12-2010 01:14

Re: Admin Smite v2.0
 
This is beautiful. Thank you.

Hipster 02-13-2010 08:56

Re: Admin Smite v2.0
 
You're very welcome.

Also, the plugin has been updated to version 2.1 because I didn't like how the lightning struck from the same direction every time (particularly when smiting with @all). Enjoy!

Jak235312 02-17-2010 18:38

Re: Admin Smite 2.1 (updated Feb. 13, 2010)
 
Downloaded and tested on my ZPS server.
Works fine with no crashes/lag, even when smiting @all.

Overall, a very well-made plugin from what I can tell.

bouncer 02-17-2010 19:15

Re: Admin Smite 2.1 (updated Feb. 13, 2010)
 
Does it work on Insurgency, do you have any videos or screenshots please? I know you have taken over the previous one, but has the view of it changed in any sort of way? if so, screenshots or vid please, thanks :)

Hipster 02-18-2010 18:45

Re: Admin Smite 2.1 (updated Feb. 13, 2010)
 
Quote:

Originally Posted by Jak235312 (Post 1092021)
Downloaded and tested on my ZPS server.
Works fine with no crashes/lag, even when smiting @all.

Overall, a very well-made plugin from what I can tell.

Thanks. :)

Quote:

Originally Posted by bouncer (Post 1092059)
Does it work on Insurgency, do you have any videos or screenshots please? I know you have taken over the previous one, but has the view of it changed in any sort of way?

It should work fine in Insurgency. And yes, I refined the lightning and thunder effects when I rewrote this plugin. An example video has been added to the first post.

bouncer 02-18-2010 18:50

Re: Admin Smite 2.1 (updated Feb. 13, 2010)
 
K thanks, Ill give it a test later, my server currently keeps crashing since 1.3.1 even though I downgraded it to 1.3.0.

Hate when that happens..

nightrider 02-18-2010 18:55

Re: Admin Smite 2.1 (updated Feb. 13, 2010)
 
do you have the sound file at the path
ambient/explosions/explode_9.wav

is this the defined sound file name in the compiled .smx?
Code:

#define SOUND_THUNDER "ambient/explosions/explode_9.wav"
Fantastic ... glad to see you pick up the flag for this Hipster
:up:

your sound path is
/cstrike/sound/ambient/explosions/

Hipster 02-18-2010 22:36

Re: Admin Smite 2.1 (updated Feb. 13, 2010)
 
@nightrider, are these questions directed at me?

Quote:

Originally Posted by nightrider (Post 1092932)
do you have the sound file at the path
ambient/explosions/explode_9.wav

"ambient/explosions/explode_9.wav" is located in the source sounds GCF file, which means it should be available to all source games. So yes, I have that file. I'm sure you have it too.

Quote:

Originally Posted by nightrider (Post 1092932)
is this the defined sound file name in the compiled .smx?
Code:

#define SOUND_THUNDER "ambient/explosions/explode_9.wav"

Yep. If it's in the source, it's in the .smx. The compiled plugin is created automatically from the attached .sp file.

nightrider 02-19-2010 13:52

Re: Admin Smite 2.1 (updated Feb. 13, 2010)
 
Quote:

Originally Posted by Hipster (Post 1093089)
@nightrider, are these questions directed at me?

yes ... :)

Quote:

Originally Posted by Hipster (Post 1093089)
"ambient/explosions/explode_9.wav" is located in the source sounds GCF file, which means it should be available to all source games. So yes, I have that file. I'm sure you have it too.

ok thanks

Quote:

Originally Posted by Hipster (Post 1093089)
Yep. If it's in the source, it's in the .smx. The compiled plugin is created automatically from the attached .sp file.

So if I modify the .sp and change
Code:

#define SOUND_THUNDER "ambient/explosions/explode_9.wav"
and recompile I can have any sound I want.
Cool.


All times are GMT -4. The time now is 18:16.

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