View Single Post
J0BL3SS
Senior Member
Join Date: Sep 2020
Location: Turkey/Istanbul
Old 12-20-2020 , 06:59   Re: [Subplugin] UPDATE PAUSE MERC ABILITY
Reply With Quote #8

Code:
"abilityX" //Replace X with your last ability number
{
	"name" 	"pausemerc"
	"arg1"	"1.0"	// Delay
	"arg2" 	"8.0"	// Duration
	"arg3" 	"9990"	// Distance
	"arg4" 	"4"		// Pause type: 1=Pause Mercs, 2=Pause Projectiles, 3=Pause Mercs & Projeciles 4=Pause Mercs & Projectiles & Sentryguns
	
	// Player related arguments. Only required if arg3 is set to 1,3 or 4
	"arg5" 	"1"		// 1 = Freeze everyone except boss. 0 = Only the enemy team freezes
	"arg6" 	"5 ; 11 ; 76"		// Don't pause players if they are in these conditions (Über, Kritzkrieg, Quick Fix for example)
	"arg7" 	"1"		// Stop incomig damage while time stopped. Apply all damage when Time Persists
	"arg8" 	"0"	// Maximum damage that can be done to a player at a time, 0 = no Max, Only required if arg5 is set to 1

	// Projectile realted arguments. Only required if arg3 is set to 2,3 or 4
	// Projectile Damages will be multiplyed the weapon boss holds
	"arg9" 	"1"		// Should the projectiles be turned in that direction where they came from?

	// Only Required if arg8 set to 1
	"arg10" "30"	// Minimum projectile Damage.  0 = No Changes
	"arg11"	"40"	// Maximum projectile Damage,  Required if arg9 not set to 0
	"arg12" "1"		// Turn projectiles to criticals?

	// args reserved for the ability management system, if configured to be used with AMS.
	"arg1001"	"0.0" // delay before first use
	"arg1002"	"10.0" // cooldown
	"arg1003"	"Pausemerc" // name
	"arg1004"	"Stop time, all the momentum..." // description
	"arg1005"	"25" // rage cost
	"arg1006"	"0" // index for ability in the AMS menu
	
	"plugin_name"	"ff2_pausemerc"
}
  • 2.6.2
  • Added AMS Support to it.
  • Added Animation Stops for Players
  • 2.6.5
  • Changed AMS Trigger to AMS_IsSubabilityReady()
  • Fixed unhook players after round end Issue
  • 2.6.7
  • Minor Fixes
  • 3.0.0
  • Rewritten in new syntax
  • Added compatibility of ff2_summonaboss
  • Added more configurable arguments
  • 3.0.1
  • Added Delay Before Rage Activation
  • 3.0.2
  • Fixed ability not stopping Aiming Heavy & Snipers

Known Issues
  1. Pipebombs, Jars, Short Circuit Energy Balls (In short, all Projectiles with detonation time) Still detonates during time freezes
Attached Files
File Type: smx ff2_pausemerc.smx (32.9 KB, 110 views)
File Type: sp Get Plugin or Get Source (ff2_pausemerc.sp - 151 views - 15.3 KB)
__________________
My Steam Profile
My Discord Name: J0BL3SS#5320 | j0bl3ss

I don't really look at steam or alliedmodders, contact me from discord if you need it.

Last edited by J0BL3SS; 02-10-2021 at 11:32. Reason: New version
J0BL3SS is offline