Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Air push not doing anything except visuals
#1
EDIT: IT WORKS NOW RANDOMLY

Similar to my previous thread, I copied a Louis-EX attack. This time I did a complete copy, except changed ID and action: to suit my needs.
Now it won't do any damage at all.
Code to trigger the attack:
Code:
frame> 260 air_push
  pic: 100  state: 9  wait: 1  next: 261  dvx: 0  dvy: 0  dvz: 0  centerx: 31  centery: 77  hit_a: 0  hit_d: 0  hit_j: 0 mp: 100
 sound: data\097.wav
  wpoint:
     kind: 1  x: 33  y: 48  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0
  wpoint_end:
  bdy:
     kind: 0  x: 15  y: 9  w: 41  h: 70
  bdy_end:
<frame_end>

<frame> 261 air_push
  pic: 101  state: 9  wait: 3  next: 262  dvx: 0  dvy: 0  dvz: 0  centerx: 31  centery: 77  hit_a: 0  hit_d: 0  hit_j: 0
  wpoint:
     kind: 1  x: 33  y: 48  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0
  wpoint_end:
  bdy:
     kind: 0  x: 12  y: 5  w: 44  h: 74
  bdy_end:
<frame_end>

<frame> 262 air_push
  pic: 102  state: 9  wait: 1  next: 263  dvx: 0  dvy: 0  dvz: 0  centerx: 31  centery: 77  hit_a: 0  hit_d: 0  hit_j: 0
 sound: data\020.wav
  opoint:
     kind: 1  x: 83  y: 44  action: 20  dvx: -5  dvy: 0  oid: 669  facing: 1
  opoint_end:
  wpoint:
     kind: 1  x: 30  y: 48  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0
  wpoint_end:
  bdy:
     kind: 0  x: 11  y: 6  w: 42  h: 73
  bdy_end:
<frame_end>

<frame> 263 air_push
  pic: 103  state: 9  wait: 4  next: 264  dvx: 0  dvy: 0  dvz: 0  centerx: 31  centery: 77  hit_a: 260  hit_d: 0  hit_j: 0
  opoint:
     kind: 1  x: 73  y: 44  action: 50  dvx: 0  dvy: 0  oid: 669  facing: 0
  opoint_end:
  wpoint:
     kind: 1  x: 34  y: 48  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0
  wpoint_end:
  bdy:
     kind: 0  x: 10  y: 8  w: 43  h: 71
  bdy_end:
<frame_end>

<frame> 264 air_push
  pic: 104  state: 9  wait: 3  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 31  centery: 77  hit_a: 260  hit_d: 0  hit_j: 0
  wpoint:
     kind: 1  x: 35  y: 48  weaponact: 31  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0
  wpoint_end:
  bdy:
     kind: 0  x: 10  y: 8  w: 46  h: 70
  bdy_end:
<frame_end>
And the attack's frames are:
Code:
<frame> 50 flying
  pic: 0  state: 3005  wait: 4  next: 51  dvx: 55  dvy: 0  centerx: 40  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
  itr:
     kind: 0  x: 0  y: 5  w: 78  h: 73  dvx: 25  fall: 70  vrest: 20  bdefend: 60  injury: 80  
  itr_end:
  bdy:
     kind: 0  x: 22  y: 27  w: 55  h: 27
  bdy_end:
<frame_end>

<frame> 51 flying
  pic: 1  state: 3005  wait: 3  next: 52  dvx: 55  dvy: 0  centerx: 35  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
  itr:
     kind: 0  x: 0  y: 4  w: 80  h: 75  dvx: 18  fall: 60  vrest: 20  bdefend: 36  injury: 55  
  itr_end:
  bdy:
     kind: 0  x: 22  y: 27  w: 55  h: 27
  bdy_end:
<frame_end>

<frame> 52 flying
  pic: 2  state: 3005  wait: 2  next: 53  dvx: 55  dvy: 0  centerx: 36  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
  itr:
     kind: 0  x: 2  y: 1  w: 78  h: 78  dvx: 13  fall: 40  vrest: 20  bdefend: 16  injury: 20  
  itr_end:
  bdy:
     kind: 0  x: 22  y: 27  w: 55  h: 27
  bdy_end:
<frame_end>

<frame> 53 flying
  pic: 3  state: 3005  wait: 2  next: 1000  dvx: 55  dvy: 0  centerx: 37  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
  itr:
     kind: 0  x: 2  y: 3  w: 79  h: 75  dvx: 9  fall: 20  vrest: 20  bdefend: 16  injury: 5  
  itr_end:
  bdy:
     kind: 0  x: 22  y: 27  w: 55  h: 27
  bdy_end:
<frame_end>

It shows the sprites, takes the mana, and everything is well until it actually has to damage anything(players, or attacks even).

EDIT: IT WORKS NOW RANDOMLY
Reply
Thanks given by:
#2
Maybe, just maybe, it has something to do with the high vrest: value. Try putting lower vrest values on the wind's itrs (try 7).
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:
#3
LouisEX has the same vrest: value. Also, it randomly works now, as I stated in the edits. I don't know why it didn't at first.
Reply
Thanks given by:
#4
Do you mean to say that the problem spontaneously fixed itself now? Or is it that it only hits at random occasions?
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:
#5
It seems to have spontaneously fixed itself after I fiddled with frames that have nothing to do with the attack.

I'd press "SOLVED", but I can't find that button.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)