AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Discovered Effect (https://forums.alliedmods.net/showthread.php?t=250132)

Aderic 10-18-2014 19:44

[TF2] Discovered Effect
 
2 Attachment(s)
Just an update: I no longer run servers, therefore I do not have an environment to continue updating my plugins. If you would like to take over development of one of my plugins, feel free to do so.

What does this plugin do?

Plays the ALERT! sound from Metal Gear Solid and shows an exclamation mark over the spy's head when bumped into or damaged.

Who is it for?
The very non-serious.

How does it work?
The effect plays when a Spy *flickers* from being damaged or bumped into while cloaked.

CVARs
Quote:

sm_discovered_version - Current version of the plugin. Read Only
sm_discovered_bump_cooldown - Amount of seconds required to elapse for effect.
sm_discovered_bump_enabled - If 1, bumping into a cloaked spy will play the effect
sm_discovered_shout_range - Distance required to detect a spy using the spy shout. Set to 0 to disable.
sm_discovered_shout_cooldown - Amount of seconds required to elapse to shout spy to detect.
Changelog:
Quote:

Version 1.0 - Initial release.
Version 1.1 - Bumping into a player while cloaked now honors player FOV and determines whether the effect should be played or not based off of this.
Added spy detection by shouting spy along with a cooldown and distance CVAR.
Version 1.2 - Added CVAR to disable effect playing if bumped into a cloaked spy.
Install instructions
  1. Click Get Plugin next to discovered_effect.sp to download the plugin.
  2. Move discovered_effect.smx into your sourcemod/plugins folder.
  3. Download required.zip and extract it to your fastDL, clients MUST be able to download these files.
  4. Change the map or restart the server, do NOT load the plugin manually after installing.

HelpMe 10-19-2014 05:57

Re: [TF2] Discovered Effect
 
Failed to load sound "alert_sound.mp3", file probably missing from disk/repository

I think you should put the sound in a subfolder

Aderic 10-19-2014 10:46

Re: [TF2] Discovered Effect
 
Quote:

Originally Posted by HelpMe (Post 2212897)
Failed to load sound "alert_sound.mp3", file probably missing from disk/repository

I think you should put the sound in a subfolder

No, the sound does not need to be in a subfolder.

Your fastdownload server is not working correctly.

Leonardo 10-19-2014 11:18

Re: [TF2] Discovered Effect
 
Requesting triggering the effect when spy is cloaked and visible in enemy's FOV, also when somebody says 'Spy!'

Aderic 10-19-2014 11:20

Re: [TF2] Discovered Effect
 
Quote:

Originally Posted by Leonardo (Post 2213024)
Requesting triggering the effect when spy is cloaked and visible in enemy's FOV, also when somebody says 'Spy!'

What do you mean "when somebody says Spy"?

You mean while actually looking at the Spy and screaming it?

Marverlous 10-19-2014 11:51

Re: [TF2] Discovered Effect
 
While actually looking at a visible spy and saying "SPY!" would be awesome.

Oshizu 10-19-2014 11:57

Re: [TF2] Discovered Effect
 
Quote:

Originally Posted by Aderic (Post 2213015)
No, the sound does not need to be in a subfolder.

Your fastdownload server is not working correctly.

Or it might be just related to this issue:
https://forums.alliedmods.net/showthread.php?t=250009

HelpMe 10-19-2014 12:13

Re: [TF2] Discovered Effect
 
Let's just say that I didn't try restart my game... ._.

Aderic 10-19-2014 13:17

Re: [TF2] Discovered Effect
 
Quote:

Originally Posted by Oshizu (Post 2213041)
Or it might be just related to this issue:
https://forums.alliedmods.net/showthread.php?t=250009

I see what you're saying. These are the files that get added via AddFileToDownloadsTable:
Quote:

sound/alert_sound.mp3
materials/sprites/alert.vmt
materials/sprites/alert.vtf
I've tested the plugin thoroughly and run it on my public server, should be fine.

Quote:

Originally Posted by Marverlous (Post 2213035)
While actually looking at a visible spy and saying "SPY!" would be awesome.

I will implement this today.

Quote:

Originally Posted by HelpMe (Post 2213049)
Let's just say that I didn't try restart my game... ._.

That would definitely be the problem, clients already connected can't download the new precached files. These files have to be downloaded when the client is connecting. I'm glad you have it working.

robotortoise 10-19-2014 15:41

Re: [TF2] Discovered Effect
 
This is one of the dumbest funniest plugins I've ever seen.

10/10 Added to server


All times are GMT -4. The time now is 05:26.

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