Ran into a new problem:
I put punch's hit_j: 220 and on frame 220 I send him to teleport, but for some reasons he doesn't teleport to the enemy, just turns around in his position. I put "hit_Uj: 220" in the first frame and it works just fine.
Just wanted him to be able to teleport with Attack-Jump
Also, the teleport seems to misfunction when you're near your opponent, facing away from him: The teleport just teleports you backwards, doesn't even turn you around. Only happens with the manual one, when he hits me naturally, it works just fine. Yet again, I wanted to make his teleporting faster.
The above problem happens also when you attack while you teleport. You'll either just turn around or teleport backwards.
I put punch's hit_j: 220 and on frame 220 I send him to teleport, but for some reasons he doesn't teleport to the enemy, just turns around in his position. I put "hit_Uj: 220" in the first frame and it works just fine.
Code:
<frame> 60 punch
pic: 10 state: 3 wait: 1 next: 61 dvx: 1 dvy: 0 dvz: 0 centerx: 42 centery: 79 hit_a: 0 hit_d: 0 hit_j: 220
itr:
kind: 2 x: 21 y: 57 w: 37 h: 24 vrest: 1
itr_end:
bdy:
kind: 0 x: 34 y: 15 w: 24 h: 63
bdy_end:
<frame_end>
<frame> 220 injured
pic: 56 state: 11 wait: 0 next: -304 dvx: 0 dvy: 0 dvz: 0 centerx: 35 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 34 y: 50 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
itr:
kind: 8 x: -100 y: 12 w: 105 h: 68 dvx: 304 vrest: 1 injury: 0
itr_end:
bdy:
kind: 0 x: 25 y: 17 w: 29 h: 61
bdy_end:
<frame_end>
<frame> 304 teleporthit
pic: 1000 state: 400 wait: 0 next: 305 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 91 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 305 teleporthit
pic: 1000 state: 15 wait: 0 next: 306 dvx: 30 dvy: 0 dvz: 0 centerx: 39 centery: 82 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 306 teleporthit
pic: 177 state: 15 wait: 0 next: 999 dvx: 550 dvy: 0 dvz: 0 centerx: 30 centery: 79 hit_a: 0 hit_d: 0 hit_j: 220
<frame_end>Just wanted him to be able to teleport with Attack-Jump
Also, the teleport seems to misfunction when you're near your opponent, facing away from him: The teleport just teleports you backwards, doesn't even turn you around. Only happens with the manual one, when he hits me naturally, it works just fine. Yet again, I wanted to make his teleporting faster.
The above problem happens also when you attack while you teleport. You'll either just turn around or teleport backwards.

Chat
