• All, Gmail is currently rejecting messages from my host. I have a ticket in process, but it may take some time to resolve. Until further notice, do NOT use Gmail for your accounts. You will be unable to receive confirmations and two factor messages to login.

How is blocking supposed to work, precisely?

I have added the ability to block.

It works, player characters can hold the dedicated block button and enemies will block attacks randomly.

I have also added a 'blockpain' and a 'guardbreak' animation, but I'm not entirely sure how they are supposed to work.

Reading the docs, I need to set 'blockratio' , but it is apparently ignored and when I read te OpenBOR log it says that 'blockratio' is not understood

So what I'm trying to achieve here is to have my character do 'blockpain' when the attack does 10 damage or more, and when he blocks attacks in quick succession 'guardbreak' will occur.

So I have set blockpain to 10 and guardpoints to 5, but it doesn't seem to work.
 
Guardbreak won't do anything by itself. You need to add the appropriate number of points depleted on hit to attack boxes. The default is 0, so they'll never trigger a guardbreak until you finish the setup. So in your case, 1 per attack should do it.

Just to make sure, cause a lot of people get fooled by the name, Blockpain is not a pain or stun animation. It's just a blocking animation to play when absorbing the blow. You're still in a normal block state the whole time.

 
I'm reading the documentation, it seems fine, but I still can't get it to work.

I have this in my player character file:

blockpain 1

The docs state for this parameter:

Threshold to use a Blockpain animation. Incoming attack damage must meet or exceed blockpain value, or the entity will not play a Blockpain animation on impact.

So that leads me to think that any incoming blocked attack that does 1 or more damage (which is all of them) should trigger the 'blockpain' animation, but it doesn't.

I'm also a little confused about the block_config parameter. I have it set to 'hold_impact', so normally each blocked attack should make the blocker stop blocking, right?

You need to add the appropriate number of points depleted on hit to attack boxes.

What property is that?
 
Hi there.
Just to confirm you have your block,blockpain and guardbreak animations in place right?
Is there a block threshold(thold) in the player header?
If I can remember correctly
I have my set to:
thold 15

Guardcost for the enemy is set to 4.
4 consecutive attacks will guardbreak you and the 5th send you flying, I been working on a system that works almost like parry in Sekiro but you using block not parry.
In one of my early concepts.
 
I have the same problem here! But my player defend just one enemy atack , a projectile in this case, after guard one projectile the char plays the block pain aniamtion but doesnt plays guard break animation.

The player has block,blockpain and guardbreak animations.

holdblock 1
blockpain 1
guardrate 2
guardpoints 60
guardcoast 60
thold 15

Iam get confused about that...:rolleyes:
 
Is there a game to download that uses this system or something like that?
What engine build are you using? If it's v4, I remember that there are some issues related to block in the build 7556, but fixed in the 7612.
And SOR2X uses block in some characters, maybe the codes there can help you.
 
I have the same problem here! But my player defend just one enemy atack , a projectile in this case, after guard one projectile the char plays the block pain aniamtion but doesnt plays guard break animation.

The player has block,blockpain and guardbreak animations.

holdblock 1
blockpain 1
guardrate 2
guardpoints 60
guardcoast 60
thold 15

Iam get confused about that...:rolleyes:
So make sure you wrote guardcost and not guardcoast, remove guardcost 60 from the player header and place it in the enemy's attacks and freespecials.
Make your thold 100 as well. guardbreak will occur on the second attack.

my thold(player header) was 15
My enemies attacks were guardcost 4
4 x 4 =16...so the 4th attack will break the threshold (thold)
When you have guardbreak anim
It will play here, will show screen shots of how I set it up.
It's way to early right now.
 
Thank you guys, iam using a old engine version to make games for old consoles like Dreamcast. @Grit i have tried like you said but no sucess yet. I keep trying...

"will show screen shots of how I set it up" Oh! please, do it!
 
Hi guys, I managed to make it work for the player. Thank you for all the help!!!

holdblock 2
blockpain 1
guardrate 2
guardpoints 6
thold 15

The enemies attacks were guardcost 4 and his projectale 4 as well.
I think its ok now.

Another question, when the guard is broken a specific flash is used in your video. what type of flash is this?
 
Back
Top Bottom