Solved doing a custom land animation

Question that is answered or resolved.

dcelso

Member
Hi,
I want to do a custom land when you press down and attack during a jump. To can do a hit in the ground bouncing too.
I dont know how to start to try anything about it. :'(
 
Solution
Hi,
I want to do a custom land when you press down and attack during a jump. To can do a hit in the ground bouncing too.
I dont know how to start to try anything about it. :'(

For a custom landing, add a landframe to the animation with an infinite delay immediately above it.

Code:
anim jumpattack2

landframe 4 custom_dust_model

frame ....
frame ....
frame ....

# Last frame before the landing. Negative delay causes the frame to delay forever.
delay -1000

frame ...

# First land frame.
frame ...
frame ...

For hitting grounded enemies, use the attack.ground.mode property. See here.

In general, I highly suggest you read the manual. Most of your questions, this one especially, are documented verbatim...
Hi,
I want to do a custom land when you press down and attack during a jump. To can do a hit in the ground bouncing too.
I dont know how to start to try anything about it. :'(

For a custom landing, add a landframe to the animation with an infinite delay immediately above it.

Code:
anim jumpattack2

landframe 4 custom_dust_model

frame ....
frame ....
frame ....

# Last frame before the landing. Negative delay causes the frame to delay forever.
delay -1000

frame ...

# First land frame.
frame ...
frame ...

For hitting grounded enemies, use the attack.ground.mode property. See here.

In general, I highly suggest you read the manual. Most of your questions, this one especially, are documented verbatim there.

DC
 
Solution
Back
Top Bottom