Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Problem with attack
#11
Many thanks Razen MH. Great admin, helpful. I'll be counting on more help and of course read all the guides, although I come from Polish.
Sorry, that writes the topic [SOLVED], but it isn't solved. My new problem is not matching with the attack. In my attack clones teleports to the enemy, attack, inflict damage, but does not fully coincide with the enemy. The attack is not the end hits the ground and I can not improve. I am counting on your help.

Code:
<bmp_begin>

file(0-3): sprite\sys\atak1.bmp w: 150  h: 120  row: 4  col: 1

<bmp_end>



<frame> 0 flying

   pic: 999  state: 400  wait: 4  next: 1  dvx: 0  dvy: -50  dvz: -50  centerx: -60  centery: 150  hit_a: 0  hit_d: 0  hit_j: 0

<frame_end>

<frame> 1 flying

   pic: 0  state: 3005  wait: 4  next: 2  dvx: 0  dvy: 0  dvz: -50  centerx: -60  centery: 150  hit_a: 0  hit_d: 0  hit_j: 0

<frame_end>



<frame> 2 flying

   pic: 2  state: 3005  wait: 8  next: 3  dvx: 0  dvy: 0  dvz: -50  centerx: -60  centery: 150  hit_a: 0  hit_d: 0  hit_j: 0
itr:
    kind: 0 x: 50 y: 80 w: 50 h: 40 dvy: -40 injury: 100 bdefend: 70 fall: 70 vrest: 40
  itr_end:

   bdy:

      kind: 0  x: 29  y: 4  w: 98  h: 24

   bdy_end:

<frame_end>

<frame> 3 flying

   pic: 3  state: 3005  wait: 4  next: 1000  dvx: 0  dvy: 0  dvz: -50  centerx: -60  centery: 150  hit_a: 0  hit_d: 0  hit_j: 0

<frame_end>

<frame> 10 hiting

  pic: 2  state: 3000  wait: 10  next: 11  dvx: 0  dvy: -15  dvz: -50  centerx: -60  centery: 75  hit_a: 0  hit_d: 0  hit_j: 0

  itr:
    kind: 0 x: 50 y: 80 w: 50 h: 40 injury: 100 bdefend: 70 fall: 50 vrest: 10
  itr_end:

   bdy:

      kind: 0  x: 29  y: 4  w: 98  h: 24

   bdy_end:

<frame_end>



<frame> 11 hiting

   pic: 3  state: 3000  wait: 4  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 75  centery: 120  hit_a: 0  hit_d: 0  hit_j: 0

<frame_end>


Code:
<frame> 240 klon

   pic: 79 state: 15 wait: 4 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 mp: 30

opoint:

      kind: 1  x: 120 y: 79 action: 0 dvx: 0  dvy: 0  oid: 265 facing: 0

   opoint_end:

wpoint:

      kind: 1  x: 33  y: 58  weaponact: 21  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0

   wpoint_end:

   bdy:

      kind: 0  x: 21  y: 18  w: 43  h: 62

   bdy_end:

<frame_end>
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)