Little Fighter Empire - Forums
[solved] 1st problem with my hit Fa on a ball - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+---- Forum: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=14)
+---- Thread: [solved] 1st problem with my hit Fa on a ball (/showthread.php?tid=3054)



[solved] 1st problem with my hit Fa on a ball - vandesdelca - 06-13-2009

i know that one of you think "oh, not again" , sry i dunno why my DC-ed stuff always have a problem -_-
ok, here's my data:
    DC-Code:
<frame> 0 flying
   pic: 0  state: 3000  wait: 4  next: 1  dvx: 0  dvy: -4  dvz: 0  centerx: 8  centery: 23  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 0  y: -1  w: 18  h: 21  
   bdy_end:
   itr:
      kind: 0  x: 0  y: -1  w: 18  h: 21  dvx: 0  dvy: 0  fall: 70  vrest: 15  bdefend: 0  injury: 15  effect: 2
   itr_end:
<frame_end>
 
<frame> 1 flying
   pic: 0  state: 3000  wait: 1  next: 2  dvx: 0  dvy: 550  dvz: 0  centerx: 8  centery: 23  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 0  y: -1  w: 18  h: 21  
   bdy_end:
   itr:
      kind: 0  x: 0  y: -1  w: 18  h: 21  dvx: 0  dvy: 0  fall: 70  vrest: 15  bdefend: 0  injury: 15  effect: 2
   itr_end:
<frame_end>
 
<frame> 2 flying
   pic: 1  state: 3000  wait: 12  next: 10  dvx: 0  dvy: 0  dvz: 0  centerx: 8  centery: 23  hit_a: 2  hit_d: 0  hit_j: 0 hit_Fa: 2
   bdy:
      kind: 0  x: 0  y: -1  w: 18  h: 21  
   bdy_end:
   itr:
      kind: 0  x: 0  y: -1  w: 18  h: 21  dvx: 0  dvy: 0  fall: 70  vrest: 15  bdefend: 0  injury: 15  effect: 2
   itr_end:
<frame_end>


and the problem is, when the frame with hit Fa activated, the ball goes up and down, not chase down to the enemy, what's wrong with this?


RE: 1st problem with my hit Fa on a ball - Azriel - 06-13-2009

I'd advise you to use hit_Fa: 3 in the first 2 frames, then hit_Fa: 7 in frame 2 (you need 3 before 7, otherwise it crashes).



Azriel~