AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Kill Fade 1.7 (https://forums.alliedmods.net/showthread.php?t=120920)

<VeCo> 03-09-2010 13:20

Kill Fade 1.7
 
1 Attachment(s)
Kill Fade
Version: 1.7
Author: <VeCo>
Category: Fun Stuff
Modification: ALL



Description:
This plugin makes different screen fades when player kills somebody or get killed.

CVARs:
fade_victim_on 1/0 - Enables/Disables victim's fade
fade_victim_color "255 0 0" - Color of victim's fade. Default: red.
fade_victim_density 175 - Density of victim's fade. The value must be 0-255.
fade_victim_duration 1 - Duration of victim's fade in seconds.
fade_victim_hold_time 1 - Hold time of victim's fade in seconds.
fade_killer_on 1/0 - Enables/Disables killer's fade
fade_killer_color "0 255 0" - Color of killer's fade. Default: green.
fade_killer_density 175 - Density of killer's fade. The value must be 0-255.
fade_killer_duration 1 - Duration of killer's fade in seconds.
fade_killer_hold_time 1 - Hold time of killer's fade in seconds.
fade_victim_sound 1/0 - Enables/Disables victim's sound.
fade_killer_sound 1/0 - Enables/Disables killer's sound.
fade_hs_mode 1/0 - Enables/Disables headshot mode.
The colors are in RGB format!






Change log:
  • 1.0 - first release
  • 1.1 - added a check if the player is connected
  • 1.2 - added sounds for the victim and the killer and CVARs for them
  • 1.3 - if you turn off the fade, the sound won't turn off too.
  • 1.4 - different CVARs for density of killer's and victim's fade and added headshot mode.
  • 1.5 - optimization
  • 1.6 - added CVARs for duration and hold time of the fade
  • 1.7 - optimization
Special thanks to:
--- @sourcehelp - for the idea for the killer's and victim's sounds
--- @rosenpetkov - for the idea for different CVARs for killer's and victim's fade density
--- @wwwhhheeeyyy - for the idea for the headshot mode

Plugin is tested by me(@<VeCo>) on version 1.8.0 and it works! :)

crazyeffect 03-09-2010 13:23

Re: Kill Fade
 
.sma file would be useful?

Quote:

on version 1.8.0
Euhm? 1.8.1 has been released a while ago

fR4gn0tiX! 03-09-2010 13:23

Re: Kill Fade
 
And where is plugin?

Edit: Hi crazyeffect

<VeCo> 03-09-2010 13:26

Re: Kill Fade
 
It's tested with the two versions but I use 1.8.0 :crab:
PS: oopss... sorry, I added the plugin :crab:

kanatzu 03-09-2010 13:47

Re: Kill Fade
 
Seems like a good idea and plugin, And im suprised you added a option to turn on x/x/x colour for the killer too!


Haven't testet it myself but it looks fine!

Zombiezzz 03-09-2010 14:14

Re: Kill Fade
 
lots of cvars, nice :D

dark_style 03-10-2010 12:14

Re: Kill Fade 1.7
 
This is very nice plugin gj Veco. :)

Hawk552 04-02-2010 19:36

Re: Kill Fade 1.7
 
This plugin serves no real purpose or can be done using other plugins.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Unapproved.

Pavel4o0o 06-12-2010 08:27

Re: Kill Fade 1.7
 
Exelent work :P

Bestkid 01-27-2013 13:11

Re: Kill Fade 1.7
 
Quote:

Originally Posted by Hawk552 (Post 1136987)
This plugin serves no real purpose or can be done using other plugins.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Unapproved.

Then, please tell me how to do this via other plugins?


All times are GMT -4. The time now is 00:41.

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