Raised This Month: $12 Target: $400
 3% 

FF2 [Subplugin] Overlay-on-Kill


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
93SHADoW
AlliedModders Donor
Join Date: Jul 2014
Location: Houston, TX
Old 06-05-2015 , 03:00   [Subplugin] Overlay-on-Kill
Reply With Quote #1

Here's an overlay-on-kill ability that someone was requesting:

PHP Code:
    "abilityX"
    
{
        
"name"            "overlay_on_kill"
        "arg0"            "4" 
// Slot. DO NOT CHANGE.
        
"arg1"            "freak_fortress_2/fazbear/puppetdeath" // path to overlay
        
"arg2"            "1" // Duration (0 to show overlay until round end)
        
"plugin_name"    "overlay_on_kill"
    

Installation:
  • overlay_on_kill.smx: rename to overlay_on_kill.ff2, then place in plugins>freaks folder
  • overlay_on_kill.sp: place in scripting>freaks folder

Changes
v1.1: Fixes "Client index 0 is invalid" errors.
v1.2: Fixed timer not firing for timed overlays
v1.3: Don't fire if victim has feigned death
v1.4: OnGameFrame -> PreThink
Attached Files
File Type: sp Get Plugin or Get Source (overlay_on_kill.sp - 746 views - 3.2 KB)
File Type: smx overlay_on_kill.smx (7.1 KB, 992 views)
__________________

Last edited by 93SHADoW; 10-13-2015 at 15:03.
93SHADoW is offline
Send a message via AIM to 93SHADoW Send a message via Skype™ to 93SHADoW
Maximilian_
Veteran Member
Join Date: Oct 2014
Old 06-05-2015 , 06:10   Re: [Subplugin] Overlay-on-Kill
Reply With Quote #2

Amazing! Thank you
Maximilian_ is offline
93SHADoW
AlliedModders Donor
Join Date: Jul 2014
Location: Houston, TX
Old 10-13-2015 , 15:04   Re: [Subplugin] Overlay-on-Kill
Reply With Quote #3

Just a minor reliability update done, and removed unused Debug code. Final version if there is no bugs reported.
__________________

Last edited by 93SHADoW; 10-13-2015 at 15:10.
93SHADoW is offline
Send a message via AIM to 93SHADoW Send a message via Skype™ to 93SHADoW
Tim q
Senior Member
Join Date: Aug 2020
Old 11-23-2021 , 20:27   Re: [Subplugin] Overlay-on-Kill
Reply With Quote #4

Is this possible to do overlay for everyone after killing 1?
Tim q is offline
JuegosPablo
Veteran Member
Join Date: Feb 2016
Location: Gravity is a Harness
Old 11-23-2021 , 20:57   Re: [Subplugin] Overlay-on-Kill
Reply With Quote #5

Quote:
Originally Posted by Tim q View Post
Is this possible to do overlay for everyone after killing 1?
is possible yes need code editing
__________________
My Youtube Channel
Steam Profile
My Discord: JuegosPablo#0568
JuegosPablo is offline
Tim q
Senior Member
Join Date: Aug 2020
Old 11-24-2021 , 14:05   Re: [Subplugin] Overlay-on-Kill
Reply With Quote #6

yeah
Tim q is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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