View Single Post
Hoto Cocoa
Senior Member
Join Date: Jun 2018
Location: Somewhere
Old 09-24-2019 , 11:21   [Subplugin] Shoot a pumpkin
Reply With Quote

Yeah.
I was creating a boss who can shoot a pumpkin, but I can't find that rage in ff2_witchdoctor. So I borrow its code and modify it. (Im sorry.)
AMS is supported.
Usage:
Code:
"ability6"
	{
		"name" "rage_pump"
		"arg1"	"1" // trigger. 0 = E rage, 1 = triggered by ability management system
		
		// args reserved for the ability management system
		"arg1001"	"5.0" // delay before first use
		"arg1002"	"0.0" // cooldown
		"arg1003"	"Pumpkin" // name
		"arg1004"	"Shoot a pumpkin bomb" // description
		"arg1005"	"5.0" // rage cost
		"arg1006"	"1" // index for ability in the AMS menu
		"plugin_name"	"ff2_spellpump"
	}
The pumpkin can be destoryed by enemy. To detonate it either you shoot it with your gun(if you have one) or melee it(that hurts)
Rename .smx to .ff2
Edit: you can also shoot the pumpkin directly to the enemy to detonate it.
Attached Files
File Type: smx ff2_spellpump.smx (8.6 KB, 79 views)
File Type: sp Get Plugin or Get Source (ff2_spellpump.sp - 92 views - 5.7 KB)

Last edited by Hoto Cocoa; 09-26-2019 at 20:52.
Hoto Cocoa is offline