Little Fighter Empire - Forums
Control over a ball probelm - 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)
+--- Thread: Control over a ball probelm (/showthread.php?tid=3051)



Control over a ball probelm - Madara Uchiha - 06-13-2009

Yo ( cool greeting)

OK i am having a probelm with a move which uses itrkind8.

here's what's it supposed to do:

when you summon out a ball which doesn't move, and has a itrkind8 body.

my character clicks a key combination which should opoint out a ball which has a body which is supposed to hit the itrkind8 of the ball and make it the ball go to a frame where it summons outs more balls.

here's the code for the ball:


    DC-Code:
<frame> 0 Katsuyu_Summoned 
   pic: 999  state: 3000  wait: 0  next: 1  dvx: 550  dvy: 550  dvz: 550  centerx: 69  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 1 Katsuyu_Summoned  
   pic: 999  state: 3000  wait: 3  next: 2  dvx: 550  dvy: 550  dvz: 550  centerx: 69  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 3  x: 84 y: 79  action: 55  dvx: 0  dvy: 0  oid: 407  facing: 0
   opoint_end:
<frame_end>
 
<frame> 2 Katsuyu_Summoned 
   pic: 999  state: 3005  wait: 0  next: 3  dvx: 550  dvy: 550  dvz: 550  centerx: 69  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 3 Katsuyu_Summoned 
   pic: 0  state: 3000  wait: 22  next: 4  dvx: 550  dvy: 550  dvz: 550  centerx: 69  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 75  y: 77  w: 50  h: 82
   bdy_end:
   bdy:
      kind: 0  x: 45  y: 115  w: 34  h: 45
   bdy_end:
   bdy:
      kind: 0  x: 23  y: 129  w: 25  h: 32
   bdy_end:
   itr:
      kind: 8 x: -588546 y: -86545345234 w: 999999998  h: 80 zwidth: 999 dvx: 3
   itr_end:
   opoint:
      kind: 3  x: 122  y: 128  action: 0  dvx: 0  dvy: 0  oid: 516  facing: 0
   opoint_end:
<frame_end>
 
<frame> 4 Katsuyu_Summoned 
   pic: 0  state: 3000  wait: 24  next: 5  dvx: 550  dvy: 550  dvz: 550  centerx: 69  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 75  y: 77  w: 50  h: 82
   bdy_end:
   bdy:
      kind: 0  x: 45  y: 115  w: 34  h: 45
   bdy_end:
   bdy:
      kind: 0  x: 23  y: 129  w: 25  h: 32
   bdy_end:
   bdy:
      kind: 0  x: -19  y: -9999999  w: 45  h: -55 
   bdy_end:
   opoint:
      kind: 3  x: 122  y: 128  action: 0  dvx: 0  dvy: 0  oid: 516  facing: 0
   opoint_end:
<frame_end>
 
<frame> 5 Katsuyu_Summoned 
   pic: 0  state: 3000  wait: 17  next: 6  dvx: 550  dvy: 550  dvz: 550  centerx: 69  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 75  y: 77  w: 50  h: 82
   bdy_end:
   bdy:
      kind: 0  x: 45  y: 115  w: 34  h: 45
   bdy_end:
   bdy:
      kind: 0  x: 23  y: 129  w: 25  h: 32
   bdy_end:
   bdy:
      kind: 0  x: 23  y: 543000  w: 41  h: 60 
   bdy_end:
   opoint:
      kind: 3  x: 122  y: 128  action: 0  dvx: 0  dvy: 0  oid: 516  facing: 0
   opoint_end:
<frame_end>
 
<frame> 6 Katsuyu_Disappear
   pic: 0  state: 3000  wait: 6  next: 1000  dvx: 550  dvy: 550  dvz: 550  centerx: 69  centery: 159  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 3  x: 84 y: 79  action: 55  dvx: 0  dvy: 0  oid: 407  facing: 0
   opoint_end:
<frame_end>


here's the code for the character who does the key combination and is supposed to make the slug go to a certain frame:

    DC-Code:
<frame> 334 Summoner_Slug
   pic: 114  state: 3  wait: 8  next: 335  dvx: 0  dvy: 0  dvz: 0  centerx: 35  centery: 79   hit_a: 335   hit_d: 335   hit_j: 999 
   bdy:
      kind: 0  x: 20  y: 12  w: 30  h: 66
   bdy_end:
   bdy:
      kind: 0  x: 21  y: 80000  w: 43  h: 62
   bdy_end:
   wpoint:
   kind: 1  x: 99999  y: 99999   weaponact: 20  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
<frame_end>
 
<frame> 335 Summoner_Slug
   pic: 115  state: 3  wait: 5  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 35  centery: 79   hit_a: 999  hit_d: 999  hit_j: 999
   bdy:
      kind: 0  x: 20  y: 12  w: 30  h: 66
   bdy_end:
   bdy:
      kind: 0  x: 21  y: 80000  w: 43  h: 62
   bdy_end:
   wpoint:
   kind: 1  x: 99999  y: 99999   weaponact: 20  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
 opoint:
      kind: 1  x: -588546 y: -86545345234 action: 336  dvx: 0  dvy: 0  oid: 26   facing: 0
   opoint_end: 
<frame_end>
 
<frame> 336 Summoner_Slug
   pic: 999  state: 18  wait: 5  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 35  centery: 79   hit_a: 999  hit_d: 999  hit_j: 999
   bdy:
      kind: 0  x: -588546 y: -86545345234 w: 999999998  h: 80
   bdy_end:
<frame_end>


The problem is that the body doesn't seem to hit the itrkind8. can someone tell me where i went wrong and how to fix it. Thanks ^^


RE: Control over a ball probelm - TheNave - 06-13-2009

    DC-Code:
opoint:
      kind: 1  x: -588546 y: -86545345234 action: 336  dvx: 0  dvy: 0  oid: 26   facing: 0
   opoint_end: 
<frame_end>
 
<frame> 336 Summoner_Slug
   pic: 999  state: 18  wait: 5  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 35  centery: 79   hit_a: 999  hit_d: 999  hit_j: 999
   bdy:
      kind: 0  x: -588546 y: -86545345234 w: 999999998  h: 80
   bdy_end:
<frame_end>
that doesn't work
if you summon that bdy at y: -86545345234, and it itselfe also has an y: -86545345234
then the bdy would be completly at the wrong position
better would be
    DC-Code:
opoint:
      kind: 1  x: 39 y: -86545345234 action: 336  dvx: 0  dvy: 0  oid: 26   facing: 0
   opoint_end: 
<frame_end>
 
<frame> 336 Summoner_Slug
   pic: 999  state: 18  wait: 5  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 35  centery: 79   hit_a: 999  hit_d: 999  hit_j: 999
   bdy:
      kind: 0  x: -588546 y: 0 w: 999999998  h: 80
   bdy_end:
<frame_end>



RE: Control over a ball probelm - Azriel - 06-13-2009

ik8 only reacts to t0 objects



Azriel~



RE: Control over a ball probelm - Madara Uchiha - 06-13-2009

Still have a problem, i want to make it so when she opoints out the ball which reacts with the itrkind8 she can do it any where, and she doesn't need to be near the ball. Also i don't want it so that the ball will move towards the opoint out body.


RE: Control over a ball probelm - JossuaDC - 06-13-2009

Character summons initial ball with ik:8 (that opoints a t:0 every frame).
Character later summons another ball that has an ik:8 that corresponds with the bdy of the t:0 summoned by the initial ik:8 ball.
The second ball teleports to the initial ball and opoints a second t:0 that corresponds to the initial ball's ik:8.

Easy.