Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] [itr/kind: 8] invisible bdy?
#1
I am trying to make a ball with itr/kind: 8 interact with my char. But when the ball reach him, nothing happen. It keep going like the char wasn't there. Anybody have a clue?

The ball code:

    DC-Code:
<frame> 113 sonic_wave
   pic: 84  state: 3006  wait: 1  next: 114  dvx: 10  dvy: 0 dvz: 550 centerx: 28  centery: 150  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 8  x: 4  y: 50000  w: 37  h: 15  dvx: 112  dvy: 0  fall: 0  arest: 3  bdefend: 0  injury: 0  effect: 0
   itr_end:
<frame_end>
 
<frame> 114 sonic_wave
   pic: 85  state: 3006  wait: 1  next: 113  dvx: 10  dvy: 0 dvz: 550 centerx: 28  centery: 150  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 8  x: 4  y: 50000  w: 37  h: 15  dvx: 112  dvy: 0  fall: 0  arest: 3  bdefend: 0  injury: 0  effect: 0
   itr_end:
<frame_end>


The char's interacting frame:

    DC-Code:
<frame> 269 weapon_switch(sonic)
   pic: 156  state: 15  wait: 1  next: 269  dvx: 0  dvy: 0  dvz: 0  centerx: 28  centery: 77  hit_a: 277  hit_d: 275  hit_j: 270 hit_ja: 1 mp: 80
   bdy:
      kind: 0  x: 8  y: 5  w: 36  h: 72
   bdy_end:
   bdy:
      kind: 0  x: 2  y: 50000  w: 56  h: 72 zwidth: 35
   bdy_end:
   itr:
      kind: 8  x: 8  y: 60000  w: 36  h: 72 dvx: 294
   itr_end:
<frame_end>
Reply
Thanks given by:
#2
they dont overlap - check centery of those frames, height of the areas, and position of the spawned object
Reply
Thanks given by: no one




Users browsing this thread: 1 Guest(s)