More grab problems...sorry!

afhc2x17

Active member
Hi, I currently have two more roadblocks related to grabs:

1. When an enemy grabs a player, other enemy keeps interrupting the grab and it stunlocks the player, how can I modify enemies to NOT interrupt the grab until it's over or the player breaks free?
2. The enemy keeps doing the grabattack motion (it does have many attackboxes) after the player dies, That is, the player with low health dies, but the enemy keeps repeating the grabattack on thin air. I want the enemy to keep doing the animation even after the player loses health and THEN the player falling and dying). How can I do that?

Sorry if this problems are repetitive, but I really want to finish my own mod. Thanks anyway.
 
afhc2x17 said:
Hi, I currently have two more roadblocks related to grabs:

1. When an enemy grabs a player, other enemy keeps interrupting the grab and it stunlocks the player, how can I modify enemies to NOT interrupt the grab until it's over or the player breaks free?
2. The enemy keeps doing the grabattack motion (it does have many attackboxes) after the player dies, That is, the player with low health dies, but the enemy keeps repeating the grabattack on thin air. I want the enemy to keep doing the animation even after the player loses health and THEN the player falling and dying). How can I do that?

Sorry if this problems are repetitive, but I really want to finish my own mod. Thanks anyway.

Hi afhc2x17! Can you send a video to show more details? You are using @cmd slamstart/position/depost/finish scripts? If the answer is "yes", I can say two things:

1. Removing all bbox from grabber and grabbed entities during the throw/slam/fall7 animations can solve your problem

2. If you are not hitting the grabbed entity with normal atbox/bbox, you can use @cmd finish script and deal the total damage in the end of the animation, or you can use "damageentity" command with target life check > 1. Because you are not trully hitting the opponent, will need to spawn hitflashes and hitfx "manually".

Anyway, if you send me more info about the problem I can help you to make a solution for this
 
Hi, I don't have the possibility to upload a video now, but the grab is akin to an enemy punk from Rushing Beat Shura (NOT using the American name, EVER), that grabs the player and punches him/her three times. Not using scripts here for now, it works fine except for what I want to do.

It can be seen here at 27:17 : https://www.youtube.com/watch?v=2BL1bYVZZGk

I'm using this code:

Code:
anim grab
        delay	60
	offset	234 198
	bbox	221 119 32 81
	frame	data/chars/infantry/atka01.gif

anim	grabattack
	delay	60
	offset	234 198
	bbox	221 119 32 81
	hitfx	data/sounds/rdddmg2.wav
	frame	data/chars/infantry/atka02.gif
	delay	100
	frame	data/chars/infantry/atka03.gif
	delay	25
	attack13 237 128 35 26 4 0 0 0 10 0
	frame	data/chars/infantry/atka05.gif
	attack	0
	frame	data/chars/infantry/atka03.gif
	delay	25
        [repeat last 5 lines 2 times]

Hope that this explains everything and thanks for your answer.
 
Well what is happening is normal and the only way to solve these problems is to using scripted grab system as Kratus said. This because by using the default Grab/Grabattack anims/system, in order to have the grabattacks to connect their hits you must give the players a bbox on their reaction/pain animations. Like you did. And the thing is, when you are in an animation with a bbox then the enemies will always try to hit you no matter what. So, this is why almost everyone who wants a little more than the very basic default grab system, is using a scripted grab instead. Which again, this is the only solution to your problem here.
 
Back
Top Bottom