I did it but I had a problem which is I cannot change the direction while it was flying
this is my code
jump_height -16.400000
<frame> 210 jump
pic: 60 state: 4 wait: 1 next: 211 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 26 y: 60 weaponact: 20 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 33 y: 33 w: 20 h: 48
bdy_end:
bdy:
kind: 0 x: 25 y: 50 w: 15 h: 29
bdy_end:
<frame_end>
<frame> 211 jump
pic: 61 state: 4 wait: 1 next: 212 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\017.wav
wpoint:
kind: 1 x: 17 y: 54 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 15 y: 41 w: 48 h: 20
bdy_end:
bdy:
kind: 0 x: 25 y: 55 w: 30 h: 27
bdy_end:
<frame_end>
<frame> 212 jump
pic: 62 state: 4 wait: 1 next: 299 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 21 y: 34 weaponact: 20 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 31 y: 15 w: 21 h: 64
bdy_end:
bdy:
kind: 0 x: 18 y: 29 w: 48 h: 17
bdy_end:
<frame_end>
<frame> 299 still
pic: 62 state: 4 wait: 7 next: 300 dvx: 0 dvy: -1 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
bdy_end:
<frame_end>
<frame> 300 flying
pic: 62 state: 4 wait: 25 next: 301 dvx: 0 dvy: -1 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
bdy_end:
<frame_end>
<frame> 301 flying
pic: 62 state: 4 wait: 13 next: 300 dvx: 0 dvy: -3 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
bdy_end:
<frame_end>
Changing any "wait", "dvy" or "jumphigh" is making everything mistake.
if you'd like to change "jumphigh" you also need changing "wait" in "<frame> 299 still"
this is my code
jump_height -16.400000
<frame> 210 jump
pic: 60 state: 4 wait: 1 next: 211 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 26 y: 60 weaponact: 20 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 33 y: 33 w: 20 h: 48
bdy_end:
bdy:
kind: 0 x: 25 y: 50 w: 15 h: 29
bdy_end:
<frame_end>
<frame> 211 jump
pic: 61 state: 4 wait: 1 next: 212 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\017.wav
wpoint:
kind: 1 x: 17 y: 54 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 15 y: 41 w: 48 h: 20
bdy_end:
bdy:
kind: 0 x: 25 y: 55 w: 30 h: 27
bdy_end:
<frame_end>
<frame> 212 jump
pic: 62 state: 4 wait: 1 next: 299 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 21 y: 34 weaponact: 20 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 31 y: 15 w: 21 h: 64
bdy_end:
bdy:
kind: 0 x: 18 y: 29 w: 48 h: 17
bdy_end:
<frame_end>
<frame> 299 still
pic: 62 state: 4 wait: 7 next: 300 dvx: 0 dvy: -1 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
bdy_end:
<frame_end>
<frame> 300 flying
pic: 62 state: 4 wait: 25 next: 301 dvx: 0 dvy: -1 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
bdy_end:
<frame_end>
<frame> 301 flying
pic: 62 state: 4 wait: 13 next: 300 dvx: 0 dvy: -3 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
bdy_end:
<frame_end>
Changing any "wait", "dvy" or "jumphigh" is making everything mistake.
if you'd like to change "jumphigh" you also need changing "wait" in "<frame> 299 still"
Quote:Try to use state 5 in frame 300 & frame 301I've already tried state 0-20 but nothing works with my code.It will be easier if you give me your code.