Raised This Month: $29 Target: $400
 7% 

FF2 [Subplugin] Spellbook (Updated 6.05.2021)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
J0BL3SS
Senior Member
Join Date: Sep 2020
Location: Berke's Sex Dungeon
Old 02-21-2021 , 14:14   [Subplugin] Spellbook (Updated 6.05.2021)
Reply With Quote #1

Number 0 to 9 up to 10 abilities can be created. All created abilities can be used with Menu Abilities (ffbat_menu_abilities.ff2) and Ability Management System (ff2_sarysapub3.ff2). And Compatible with (ff2_summonaboss.ff2) ,
At least without ability management system.

I Hate you Merasmus.

Spell Rage:
Code:
"abilityX"	//Replace X with your last ability number
{
	"name"	"rage_spell_X"
	"arg1"	"1"				// Spell Index
	"arg2"	"2"				// Spell Count
	"arg3"	"0"				// Force Use? 	0=no,1=yes
	
	// Ability Management System
	"arg1001"	"0.0" 						// delay before first use
	"arg1002"	"10.0" 						// cooldown
	"arg1003"	"FIREBALL" 					// name
	"arg1004"	"I'm a bloody god, mate!"	// description
	"arg1005"	"20" 						// rage cost
	"arg1006"	"0" 						// index for ability in the AMS menu
	"plugin_name"	"ff2_spellbook"
}
For Sounds:
Code:
"sound_spell_X" // replace X with a number from 0 to 9, up to 10 subabilities can be used
{
	"1" "freak_fortress_2/myboss/magic01.mp3"
	"2" "freak_fortress_2/myboss/magic02.mp3"
}

Spellbook Hud:
Created for spellbook on the hud not shows up if server has disabled halloween mod
Code:
"abilityX"	//Replace X with your last ability number
{
	"name"	"spellbook_hud"
	"arg1"	"You Have %i %s Spell" //String "You have 3 Fireball Spell"
	
	"arg2"	"-1"	//X Cordinate
	"arg3"	"0.24"	//Y Cordinate
	
	//Color
	"arg4"	"255"	//R
	"arg5"	"255"	//G
	"arg6"	"255"	//B
	"arg7"	"255"	//Alpha
	"plugin_name"	"ff2_spellbook"
}

Spell Caos:
Code:
"abilityX"	//Replace X with your last ability number
{
	"name"	"spell_chaos"
	"arg1"	"10"			// Spell Count
	"arg2"	"1.0"			// Cooldown Between Two Spell (min 0.7 due cast delay)
	
	// Ability Management System
	"arg1001"	"0.0" 										// delay before first use
	"arg1002"	"10.0" 										// cooldown
	"arg1003"	"CAOS" 									// name
	"arg1004"	"SPELL CHAOS"				// description
	"arg1005"	"20" 										// rage cost
	"arg1006"	"6" 										// index for ability in the AMS menu
	"plugin_name"	"ff2_spellbook"
}
For Sounds:
Code:
"sound_spellcaos"
{
	"1" "freak_fortress_2/myboss/toomuchmagic01.mp3"
	"2" "freak_fortress_2/myboss/toomuchmagic02.mp3"
}

The Ability Management System:
Code:
	"abilityX"
	{
		"name"	"ability_management_system"
		"arg1"	"0" // activation key. 0=E, 1=R, 2=MIDDLE MOUSE, 3=USE(not bound by default)
		"arg2"	"1" // selection key. 0=not usable, 1=R, 2=MIDDLE MOUSE, 3=USE(not bound by default)
		"arg3"	"3" // reverse selection key. 0=not usable, 1=R, 2=MIDDLE MOUSE, 3=USE(not bound by default) [note: hidden feature, keeping this standard going]
		"arg4"	"0xc00000" // HUD color (unavailable)
		"arg5"	"%s (%.0f rage) [RELOAD (R) to change]\n%s\nAbility is currently unavailable." // HUD text format (unavailable)
		"arg6"	"0xffffff" // HUD color (available)
		"arg7"	"%s (%.0f rage) [RELOAD (R) to change]\n%s\nAbility is available. (press E)" // HUD text format (available)
		"arg8"	"0.68" // HUD Y
		"arg9"	"RAGE Meter: %.0f%%\nHP: %d / %d" // HUD replacement text
		"arg10"	"0.80" // HUD replacement Y
		"plugin_name"	"ff2_sarysapub3"
	}
Note:
Spellbook Granted who have any of these abilities (expect spellbook_hud ability).
  • Ver 1.0.0
  • The abilitypack is created
  • Ver 1.0.1
  • Fixed issue with "spell_caos" can't usable without ams
  • Forgotten Debug Printouts removed.
  • Spell Damages not dealts 3x damage anymore.
  • Ver 1.0.5
  • Fixed some handle errors.
  • Fixed grammars, spell_caos renamed to "spell_chaos"
  • Included Skeleton Spell on spell_chaos
Attached Files
File Type: smx ff2_spellbook.smx (17.5 KB, 13 views)
File Type: sp Get Plugin or Get Source (ff2_spellbook.sp - 9 views - 21.8 KB)
__________________
My Steam Profile
My Discord Name: J0BL3SS#5320



Last edited by J0BL3SS; 05-07-2021 at 00:35. Reason: Fixed Text
J0BL3SS is offline
J0BL3SS
Senior Member
Join Date: Sep 2020
Location: Berke's Sex Dungeon
Old 03-02-2021 , 10:53   Re: [Subplugin] Spellbook (Updated 2.03.2021)
Reply With Quote #2

  • Ver 1.0.1
  • Fixed issue with "spell_caos" can't usable without ams
  • Forgotten Debug Printouts removed.
  • Spell Damages not dealts 3x damage anymore.
__________________
My Steam Profile
My Discord Name: J0BL3SS#5320


J0BL3SS is offline
J0BL3SS
Senior Member
Join Date: Sep 2020
Location: Berke's Sex Dungeon
Old 05-06-2021 , 08:45   Re: [Subplugin] Spellbook (Updated 6.05.2021)
Reply With Quote #3

  • Ver 1.0.5
  • Fixed some handle errors.
  • Fixed grammars, spell_caos renamed to "spell_chaos"
  • Included Skeleton Spell on spell_chaos
__________________
My Steam Profile
My Discord Name: J0BL3SS#5320


J0BL3SS is offline
Reply


Thread Tools
Display Modes

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 23:41.


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