A question about a Throw??

Started by Rabano, May 27, 2023, 07:57:40 PM

Previous topic - Next topic

Rabano

Im making a POTS version of Hon Fu from Fatal Fury, and one of his throws is Keiraku Randa, where he climbs you and start punching you in the head.

the throw works as it should, but I had a question, there's a way to make Hon Fu to be higher for big characters?

Because the move in short characters looks fine


but not so much in big characters

VictorCYBR

#1
My Sakura has a similar throw where she grabs the opponent's head, I use bindtotarget with pos = head:

[State 810, BindToTarget]
type = BindToTarget
trigger1 = Anim = 810
trigger2 = Anim = 811
trigger2 = AnimElemTime(5) >= 0
pos = -20, 5, Head

You can also get head.pos.y from the target to calculate jump heights:
Target, Const(size.head.pos.y)

Rabano

Quote from: DeathScythe on May 27, 2023, 08:13:52 PM
My Sakura has a similar throw where she grabs the opponent's head, I use bindtotarget with pos = head:

[State 810, BindToTarget]
type = BindToTarget
trigger1 = Anim = 810
trigger2 = Anim = 811
trigger2 = AnimElemTime(5) >= 0
pos = -20, 5, Head

You can also get head.pos.y from the target to calculate jump heights:
Target, Const(size.head.pos.y)

It broke the entire move, suddenly they float in the air and after that the second player clip through the floor.




DivineWolf

You can't use the exact values he gave you. Those are for Sakura. You need to bind your character to p2 based on the parameters you need. Binding to their mid.pos looks like it'd work better for this move imo.

Rabano

Quote from: DW on May 27, 2023, 09:02:55 PM
You can't use the exact values he gave you. Those are for Sakura. You need to bind your character to p2 based on the parameters you need. Binding to their mid.pos looks like it'd work better for this move imo.

Ohh I see, I did that and now it works as it should, Thanks to both!