How to interrupt the falling -> rising animation sequence?

Hi all.

I want to implement a mechanic that triggers after the fall animation but before the rising animation, interrupting the whole process. The mechanic requires the player to complete a quick and simple mini-game to trigger the rising animation so he can get back up. If the player fails the mini-game then he stays down and dies. Mini-game gets harder as damage is taken. I also want to prevent death upon taking lethal damage, giving the player a glimmer of hope in the form of the mini-game, which by this stage has gotten stupidly difficult. Kinda like how WWE kick-out system works.

My question is can this be achieved with scripting, or would I need to mod the engine itself?
I was originally going to code my engine from scratch but recently discovered openBoR and it looks like it could save me a lot of work, depending on how flexible it can be.

Thanks in advance for any thoughts and pointers
 
Hi TheOnetrueShredder, I think this is possible with putting a very long delay at the end of your fall anim. You can call your mini game here ( button mashing? ) and if the conditions are completed, interrupting this fall by a rise anim, if not game over scene. I think this part can be scripted depending on what kind of game do you want to include.
 
Hi kimono. I appreciate for your input. I was initially thinking of putting a really long delay on the land frame of the fall animation like you said. Just not sure where to go from there or if there was perhaps another workaround. The big picture is I want to make a game similar to Double Dragon but with a triangle rock-paper-scissors counter system like in Dead or Alive. As in counter beats strikes, strikes beats grapples, grapples beats counters. I also might want to add more gauges to represent things like stamina to limit attack spam and guard crush to limit blocking and encourage the player to use counters to gain the advantage. I see the engine caters for Health and Super meter. Not sure how hard it is to add more gauges. I want to create a multi-tiered move set that evolves into more brutal moves as the player racks up consecutive hits and reverts back to weaker tier moves when the player takes hits. Some kind of "momentum" system that rewards the player for fighting well. I reckon this part I can easily achieve by setting up the upper-tier movesets as weapons and switching to the appropriate weapon based on the level of the momentum value. Kinda like how the different fighting styles are handled in Ultimate Double Dragon.

I try to stay away from button mashing so the mini-game for getting back up will be something that involves skill and timing, like maybe a spinning dial that must be stopped in a target zone. Target zone will start out big and the dial spins slowly, but as the player loses HP that target zone shrinks and the dial spins faster, making it harder to hit. Something like that. Depends whats easy to render.  I also want to add in some kind of execution system that allows players or boss enemies to spend some super meter to attempt to finish a downed opponent who's trying to get up. This will lead to a harder version of the mini-game for the defending player to try to escape the execution attempt with a possibility to reverse the whole thing into an execution attempt of his own, which can then be reversed back and forth. The animation sequence I've got in mind for executions is a simple MMA-style ground-and-pound until KO and a reversal will have the fighters roll over and swap attacking/defensive position. Normally the mini-game will allow the player a time limit of 10 seconds to get to his feet. But in the execution version of the mini-game he only has 3 seconds to escape before he is beaten to KO.

I'm trying to add a dramatic gritty struggle kinda feel to the fighting. Flowing combat with possibility for lots of back-and-forth counters and momentum shifts. Counters can also be performed when the player is in pain animation / trapped in a combo so it will also work as a combo-breaker mechanic. Counters must be timed correctly and matched to the type of incoming attack (punch or kick counter).

I've been wanting to make this game for years but I just haven't had the time to code it from scratch. If this gameplay is achievable in openBoR then I might just give it another bash.
 
TheOneTrueShredder
wellcome to the club of exotic features....

if you have ever played the THQ wrestling games (wcw vs NWO, wrestlemania 2000, wwf no mercy) , from what you write, it seems that you want to implement a health system based on "spirit" & a players will & skill....

i would start with simple button mashing first, i suspect that the way to go is to use a mod special attack, in nightslashers Ash williams does this spirit steal move that increases your health a bit, that would be your first ingredient.
Damon Caskey  mentions that there is a way to change your character model on the fly, & character models can have their own specific attacks & qualities.

another NIghtslashers example for you would be the Golem boss. this boss is defeated once , it turns to stone , recharges energy & can rise again, unless the player kills it first while it trying to rise.

so using this 2 examples  what you can do is this , your character has a pain animation that turns it into a "knocked" character model that has only 2 attacks or specials, you use button mashing  to activate these specials & these specials increase your health bit by bit, if you reach a certain health threshold, your character turns back to the first normal model, if you cannot reach the threshold, you are dead.

i have yet to figure out how the Golem does this , but this can be a clue for what you need...
 
That sounds so complex, it might take lots of time to develop something like that. Not to mention, I wonder if the result could be worth it and be better than spamming one simple attack to beat enemies

As for rising mini game, I suggest coding mini game as main game 1st before converting it into mini game
 
oldyz
Unfortunately I never had the chance to play those games but I believe they were legendary. Something about that AKI engine I think it was called. I played smackdown 2 and the recent 2K WWE games and that's where I'm drawing some inspiration from. I'm going for a fighting spirit gimmick to try and portray that "I'm not done yet" anime-like resolve. But spirit will work differently depending on character in order to help define their personas. Like one guy driven by hope while the other is driven by anger. Like good cop bad cop I guess. Good cop gains "Hope" meter by landing hits. Bad cop gains "Anger" meter by taking hits. Both can be triggered in dire situations to bolster resolve in different ways. Very much like the "Resiliency" mechanic in later wwe games that allows some wrestlers to spend meter when pinned for an easier kick out mini-game.

I haven't played Nightslashers yet but I will definitely check it out next, thanks. From what you say I may just find the answers I need by examining that golem boss. I learn best by seeing working examples.

Bloodbane
I know. It is complex. And I do like simple games that are deceptively deep, which is what I'm trying to achieve. So I'm always looking for ways to simplify without losing depth. hmm. I'll start with the rising mini-game for now. That's the one thing that never changes from my initial design.
 
TheOneTrueShredder
well, i'm looking forward to the success of your mechanic, if you have never played WWF no mercy, i suggest you give it a try, all you need is an N64 emulator.
if i set up my "parsec" machine i could even let you play my modded version, & you will be able to find out why its game mechanics could fit a beat-them-up perfectly.
i say that because sharing the files & setting it up takes a lot of work (its 3gB)
I like the bad guy good guy vibes, & you will need "spirits" to make that work, lots of Openbor engine's tricks rely on entitites that you can't see, in this case the energy required for those reactions could very well come by draining entities that spawn during dramatic moments, but are undetected by enemies & NPCs & unseen by the players.

by default openbor has a limited amount of entity types, in fact I need to have specialized entities in order to make a new feature work, because i need
1 them to be invisible to players
2 they need to be ignored by enemies & NPC's
3 they only need to interact with each other's types

in another topic MR Bloodbane mentioned that factions are possible, so a variation of this is what may work for those "spirit" types.

i suggested to try button mashing first, because if you get that working, then it can become more complex, the "downed" model version of your characters should be able to feature an integrated entity that works with your timing "pendulum" thing.

additionally, another model may not be nescessary, because this could be achieved with an special dizzy animation, but the fact remains that some mods require character model changes on the fly for some stuff....
 
Hmm. Spirit entities. I never thought of looking at it that way. But I think I get it. That's a clever trick. Wow that makes a lot of things possible. I'll spend some time tinkering next time I get a chance. Thanks for the pointers.
 
Back
Top Bottom