Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] 1st problem with my hit Fa on a ball
#1
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?
Reply
Thanks given by:
#2
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~
Reply
Thanks given by: vandesdelca




Users browsing this thread: 1 Guest(s)