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

[Subplugin] Shoot a pumpkin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hoto Cocoa
Senior Member
Join Date: Jun 2018
Location: Somewhere
Old 09-24-2019 , 11:21   [Subplugin] Shoot a pumpkin
Reply With Quote #1

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
MeeMFromHH
Senior Member
Join Date: Sep 2015
Location: Degroot Keep
Old 09-25-2019 , 10:55   Re: [Subplugin] Shoot a pumpkin
Reply With Quote #2

Just in time for Spooktober. I haven't tested this yet, but it looks promising.
__________________
"If fighting is sure to result in victory then you must fight!"
-The Soldier
MeeMFromHH is offline
Reply



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 08:03.


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