Raised This Month: $ Target: $400
 0% 

FF2 [Abilities] Move Speed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
93SHADoW
AlliedModders Donor
Join Date: Jul 2014
Location: Houston, TX
Old 06-05-2015 , 01:42   [Abilities] Move Speed
Reply With Quote #1

A simple subplugin to change a boss's move speed, or a victim's movespeed within a specific range, for a timed duration.

COMPATIBLE WITH ABILITY MANAGEMENT SYSTEM & DYNAMIC SPEED MANAGEMENT
Spoiler


PHP Code:
    "abilityX"
    
{
        
"name" "rage_movespeed"
        "arg1" "520"     
// Boss Move Speed
        
"arg2" "10"      // Boss Move Speed Duration (seconds)
        
"arg3" "500"    // Victim Range (to enable victim move speed)
        
"arg4" "150"    // Victim Move Speed
        
"arg5" "10"     //Victim Move Speed duration (seconds)
        
        // args reserved for the ability management system
        
"arg1001"    "0.0" // delay before first use
        
"arg1002"    "10.0" // cooldown
        
"arg1003"    "The Soviet Chase" // name
        
"arg1004"    "Run like no tomorrow." // description
        
"arg1005"    "75" // rage cost
        
"arg1006"    "2" // index for ability in the AMS menu
     
        
"plugin_name" "ff2_movespeed"    
    


Max move speed is 520, and minimum move speed is 1.

Sounds
Code:
	"sound_movespeed_start" // when rage activates via AMS
	{
		"1"	"saxton_hale/miku/miku_awesome.mp3"
		"2"	"saxton_hale/miku/miku_come_here.mp3"
	}

	"sound_tfcondition_finish" // when rage is over (AMS or normal RAGE)
	{
		"1"	"saxton_hale/miku/miku_awesome.mp3"
		"2"	"saxton_hale/miku/miku_come_here.mp3"
	}
Installation:
  • ff2_movespeed.smx: rename to ff2_movespeed.ff2, then place in plugins>freaks folder
  • ff2_movespeed.sp: place in scripting>freaks folder

Changelog:
  • v1.0:
    • Initial release
  • v1.1:
    • Now uses PreThink instead of OnGameFrame
    • Floats or whole integers can be specified for movespeed / duration
  • v1.2:
    • Added support for use in Ability Management System
  • v1.3:
    • No longer conflicts with 'dynamic_speed_management'
    • Now requires 'ff2_dynamic_defaults.inc' to compile
  • v1.3.1:
    • Hopefully fixed frogs errors related to initializing AMS_InitSubAbility()
  • v1.3.2
    • Fixed AMS errors (thanks sarysa)
  • v1.3.3
    • Hopefully fixed invalid client errors.
  • v1.3.4
    • Now autodetects if AMS is present on boss CFG, and now uses "sound_movespeed_start" and "sound_movespeed_finish" for sounds.
Attached Files
File Type: smx ff2_movespeed.smx (10.4 KB, 1473 views)
File Type: sp Get Plugin or Get Source (ff2_movespeed.sp - 1268 views - 6.8 KB)
__________________

Last edited by 93SHADoW; 06-24-2016 at 01:15.
93SHADoW is offline
Send a message via AIM to 93SHADoW Send a message via Skype™ to 93SHADoW
 



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 06:01.


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