Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
catching problem
#1
i want my char to grab the opponent if he punches him,
so I copied this code in his punch frames

<frame> 60 punch
pic: 10 state: 3 wait: 0 next: 61 dvx: 0 dvy: 0 dvz: 0 centerx: 42 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 3 x: 8 y: 22 w: 170 h: 55
catchingact: 120 120 caughtact: 130 130
itr_end:

bdy:
kind: 0 x: 28 y: 12 w: 33 h: 70
bdy_end:
<frame_end>

but my char grabs him only for less than 1 second, but if i copy this code into an other char then it works fine...so i guess there is something else missing ....can you guys help me out

greetingz Q.D

Reply
Thanks given by:
#2
i think that the problem is in the frame 60 punch... it says next: 61 thats why your char doesnt keep grabbing he goes to the next punch frame, so my guess is change the next: 61 to the Catching frame and thats it...
My Releases (Click to View)
Reply
Thanks given by:
#3
^I think that's rather unlikely, given that the character does go to the catching frame, even if only for a short time. Also, changing the next would mean he'd always go to the catching frames, no matter whether there's a character to catch or not.

@Q.D: Can you also show us the frame 120 and the ones after that? Check if there's a cpoint in each of them.
Reply
Thanks given by:
#4
at frame 120 is an attack I coded , my catching frames are starting at 127
oh? okay i changed my catching frames to 120 , i didnt knoiw that they have to be there as well, okay thanks
---> Solved
Reply
Thanks given by:
#5
you can also change the catchingact: 120 120
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)