New account registration is temporarily disabled.

SKILL DETECTION IN BATTLE?

Posts

Pages: 1


It's not hard to detect what command a hero is using in battle, by just using a conditional branch you can identify if a hero is using attack, a skill, or a skill subset etc.. my question is how would you detect exactly what skill the hero is using? The only way I can think, is by inflicting a condition on a character or an enemy with the skill, and identifying the condition with a common event that is called each turn "0 x + 0 with the conditional branch of, "hero afflicted with, etc." This seems pretty messy, is there a better way to detect skills than this?
Depends what engine you're using.

I've done this in Ace easily enough - added a state to each skill and at the end of every turn, check to see if the hero is afflicted by it, then take it away. Of course, you could probably use some kind of script with Ace to do this but I started with Lite and evented it all.
It would take up a lot of room, though, since you'd have to have one for each skill and one of each skill for each character. (I've only the one character so it's easy enough for me.)
XP/VX/Ace: Scripts.
2k3: DynRPG.
2k: Only possible through tricks (check how much MP consumed, give each skill a unique MP usage value).
author=Liberty
Depends what engine you're using.

I've done this in Ace easily enough - added a state to each skill and at the end of every turn, check to see if the hero is afflicted by it, then take it away. Of course, you could probably use some kind of script with Ace to do this but I started with Lite and evented it all.
It would take up a lot of room, though, since you'd have to have one for each skill and one of each skill for each character. (I've only the one character so it's easy enough for me.)


I stated {rm2k3] at the top of my post but it didn't appear for some reason. I'll just continue using that method then, since it appears to be the best way.

author=Cherry
XP/VX/Ace: Scripts.
2k3: DynRPG.
2k: Only possible through tricks (check how much MP consumed, give each skill a unique MP usage value).


DynRPG looks pretty good. I've always wondered if there was a way to fix the enemy skills, when the skill names flashes it's for half second.

Are these the only plugins right now?
http://cherrytree.at/cms/download/?category=8
There are a few others which I didn't add to my page yet, but there is no plugin to get the skill used in battle, but the SDK would provide such a function (the onDoBattlerAction/onBattlerActionDone callbacks), so somebody (you? Do you know C++?) would need to create such a plugin using the DynRPG SDK (I don't have time for that).

About the RM2k3 thing: The forum has a habit of swallowing everything between square brackets. Use curly brackets instead. (It only appeared in your last post because you typed "{" instead of "[".)
Oh I see, because of the BBC codes. And no, I do not know C++ myself.
That's exactly what I'm looking for, thank you.
You're welcome! I'm glad I could help! :)
Pages: 1