View Single Post
Author Message
J0BL3SS
Senior Member
Join Date: Sep 2020
Location: Turkey/Istanbul
Old 12-10-2020 , 13:22   [Subplugin] Cast Projectile (Updated 03.06.2022)
Reply With Quote #1

I did something like this at neon_inferno's request.

Code:
"abilityX"	//Replace X with your last ability number
{
	"name"	"rage_projectile_X" // replace X with a number from 0 to 9, up to 10 subabilities can be used
	"arg1"	"tf_projectile_lightningorb"		// Projectile Name
	"arg2"	"1100.0"							// Velocity
	"plugin_name"	"ff2_castprojectile"
}
"abilityX"	//Replace X with your last ability number
{
	"name"	"rage_projectile_X" // replace X with a number from 0 to 9, up to 10 subabilities can be used
	"arg1"	"tf_projectile_spellfireball"		// Projectile Name
	"arg2"	"1100.0"							// Velocity
	"plugin_name"	"ff2_castprojectile"
}
"abilityX"	//Replace X with your last ability number
{
	"name"	"rage_projectile_X" // replace X with a number from 0 to 9, up to 10 subabilities can be used
	"arg1"	"tf_projectile_spellpumpkin"		// Projectile Name
	"arg2"	"1100.0"							// Velocity
	"plugin_name"	"ff2_castprojectile"
}
Another Example Config
Code:
"abilityX"	//Replace X with your last ability number
{
	"name"	"rage_projectile_X" 
	"arg1"	"tf_projectile_rocket"		// Projectile Name
	"arg2"	"1100.0"					// Velocity
	
	//The following Arguments are only required if Projectile is not spell
	"arg3"	"30"						// Minimum Damage (Proportional to the Damage Bonus of the Weapon Held by the Boss)
	"arg4"	"33"						// Maximum Damage (Proportional to the Damage Bonus of the Weapon Held by the Boss)
	"arg5"	"freak_fortress_2/myboss/nuclearwarhead.mdl"		// Overriden New Projectile Model
	"arg6"	"1"							// Critical Chance; -1:Random Crits, 1:Crit, 0:No Random Crits
	
	// Ability Management System
	"arg1001"	"0.0" 										// delay before first use
	"arg1002"	"10.0" 										// cooldown
	"arg1003"	"ROCKET" 									// name
	"arg1004"	"American CROCKET!"							// description
	"arg1005"	"20" 										// rage cost
	"arg1006"	"2" 										// index for ability in the AMS menu
	"plugin_name"	"ff2_castprojectile"
}
  • 1.0.0
  • The ability has created
  • Ver. 1.1.0 (New Version Attached Bellow)
  • Added ability management system support
  • Added DUO Boss Support
  • Added Menu Ability Compability
  • Added compatibility of ff2_summonaboss
  • Multiple projectile shots have now been removed for innovation. (Maybe it can be added back to the subplugin other new versions)
  • Ver. 1.2.0
  • Removed Subplugin Debugging
  • Summon a Boss functions have been replaced with the most up-to-date versions
  • Added a new argument determines new projectile model
  • Min-Max Damage arguments now supports Formula input


The Old Version 1.0.0 (Old version Attached bellow the zip)
Spoiler
Attached Files
File Type: zip ff2_castprojectile.1.0.0.zip (9.4 KB, 179 views)
File Type: sp Get Plugin or Get Source (ff2_castprojectile.sp - 128 views - 16.2 KB)
File Type: smx ff2_castprojectile.smx (20.3 KB, 103 views)
__________________
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; 06-03-2022 at 04:32. Reason: Update 1.2.0
J0BL3SS is offline