Chalkdust Action Battle System

Chalkdust ABS v1
Chalkdust


Introduction
My personal Action Battle System. I made this script for a game I was working on a couple of months ago. Then I heard about MV, so I abandoned the project. I'll be making a new version for MV, but this version is functional enough for those who want it.

Features
- Map-based Combat
- Free Movement (via GaryCXJk's amazing Free Movement script!!)
- Melee Combat
- Ranged Combat
- Ranged Magic
- AOE Magic
- Hybrid weapon types
- Blocking with shields
- Dual wielding
- Attack system can be separated from enemy damage calculation system if desired
- Controls optimized for gamepad
- Enemy health bars
- Elemental damage

How to Use
Download the sample project linked below.

The sample project uses a modified iconset which repositions a few items and separates bows/arrows. If you copy/paste the scripts, you may want to grab the iconset to go with it.

The GaryCXJk Free Movement system is bundled with this project (consistent with his terms) since the ABS is designed to work with it. You can choose not to use it if you want.

Script (sample project)


FAQ
...

Credit and Thanks
- Chalkdust
- GaryCXJk (Free Movement system)

Author's Notes
Free for non-commercial with credit to Chalkdust. (And GaryCXJk if Free Movement is used.) Modify as needed. Honestly, I think it needs much more polish for commercial use. If you can do it, go for it.

Feedback is welcome. It can help me learn something for the MV version.
It's pretty cool. I liked it a lot. The only things that bug me are the lack of a dying animation for enemies, and the fact that if you try to fire rapidly whatever your weapon is, the projectile sprite dissapears in mid air. Seems that there is a projectile limitation of one in screen. And enemies right now are a little simple, they don't have any attack other than charging against you in old-fashioned style.

But I know, this is a prototype. It's actually pretty cool right now. And way more advanced than what I was doing some day in RMXP after finishing Legend of Mana for the second time in that week... heheh.
Thank you for the feedback!

Dying Animations

Enemies can be switched to a different event page when defeated, so bodies can be handled through eventing. Sorry I didn't show this in the demo.

Projectiles

Yes, there is a one-projectile limit with the current configuration. I'll give some thought to finding ways around that in the future MV version. For this version, if you want a quick fix you can change line 170 to this:

return if @attacking

That'll prevent the existing projectile from cancelling. The trade-off is a delay before you can use your next projectile (until the first one has reached its range limit).

Enemy AI

Sadly, I never got around to making a more advanced enemy AI module. :/
Hey I have been using your battle system, but I cannot figure out how to make thrown weapons.
There are two ways. You can make a whole category of weapon throwable by opening the script editor, scrolling down to the configuration options, and putting the number of the weapon type into the array for "Throwable" weapons (also remove that number from any other array!). The other way is to make a hybrid weapon. Just add the <throwable> tag to any melee weapon's notebox.
There are two ways. You can make a whole category of weapon throwable by opening the script editor, scrolling down to the configuration options, and putting the number of the weapon type into the array for "Throwable" weapons (also remove that number from any other array!). The other way is to make a hybrid weapon. Just add the <throwable> tag to any melee weapon's notebox.
Thank you for clearing that up.
Quick question, would it be possible to create a shotgun like weapon using this script?
Yes, very easily. It would work exactly the same as the bow if you want it to expend ammo shells.
Let me redefine what I meant, would it be possible to make it shoot multiple projectiles.
It will only fire one item icon at a time, in a straight line. You can find/create an icon that looks like a scatter shot and it'll have the appearance of multiple projectiles (but behave the same as a single projectile).
Thank you for your help.
Can I ask what is ABS exactly? Is it like Secrets of Mana? Is it like Mystery Dungeon?

Can you make a video of it? I think it would be best to have a video example of what it is. 
It's like Zelda.

I recommend Pearl ABS because it has a lot of good support still available.

Downloading Chalk's now! ABSs are intense projects, always curious to see new ones!
Let me know what you think, Dymdez! I'm working more on MV now but feedback is still valuable.
Will the MV version include party members AI?
Woah, seems like I found my new favourite battle system.
I hope MV version will be as good as this, because I'd like to move to MV, but it has no good ABS.

Good luck with this ABS.
My JS is rusty (about 10-15 years rusty!) so the MV version isn't going to be out anytime soon. It may be more than a year before I actually have the time to dedicate to it. But when I do get around to it, no, I have no plans for party AI. The most complex party interaction that I might consider coding is skills that have some sort of combo effect depending on party members present (think "Elemental Storm" or some similar ability, or "Hail of Arrows" or something like that)

Original thread: https://forums.rpgmakerweb.com/threads/chalkdust-action-battle-system.45840/