Little Fighter Empire - Forums
[solved] itr/kind8 not working - 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)
+---- Forum: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=14)
+---- Thread: [solved] itr/kind8 not working (/showthread.php?tid=3097)



[solved] itr/kind8 not working - vandesdelca - 06-19-2009

hi, may i ask a help again?
its about damn, annoying itr kind 8 that doesn't heal me.
i'm trying to make a move that can only be done when HP is low, that part has worked succesfull, but my char doesn't heal if the HP aren't low enough to do the move

here's the data
    DC-Code:
DECREASE HP
<frame> 394 standing
   pic: 0  state: 15  wait: 0  next: 396  dvx: 0  dvy: 0  centerx: 39  centery: 76  hit_a: 0  hit_d: 0  hit_j: 0 mp: 20000
<frame_end>
-----------------------------------------------------------------------------------------------
OPOINT ITR/K8
 
<frame> 396 standing
   pic: 2  state: 15  wait: 0  next: 397  dvx: 0  dvy: 0  centerx: 39  centery: 76  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 39  y: 79  action: 37  dvx: 0  dvy: 0  oid: 242  facing: 0
   opoint_end:
<frame_end>
----------------------------------------------------------------------------------------------
 
THE OPOINTED THING
<frame> 37 flying
   pic: 12  state: 15  wait: 7  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 8  x: 10000  y: 10000  w: 2599 dvx: 1000  h: 2550  injury: -200
   itr_end:
<frame_end>
-----------------------------------------------------------------------------------------------
 
THE SPECIAL BODY FRAME
 
<frame> 397 standing
   pic: 3  state: 15  wait: 3  next: 999  dvx: 0  dvy: 0  centerx: 39  centery: 76  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 9000  y: 9000  w: 2000  h: 2000
   bdy_end:
<frame_end>



RE: itr/kind8 not working - no one - 06-19-2009

First: If I remember right, you need hit_d and hit_j tag in frame 394 to be something beside 0. But since you said it's fine so....

Second: itr/kind: 8 doesn't need negative injury value to heal.

Third: the itr/kind: 8 has y: 10000. The special bdy has y: 9000

That's all I could see for now.


RE: itr/kind8 not working - vandesdelca - 06-19-2009

(06-19-2009, 07:33 AM)no one Wrote:  First: If I remember right, you need hit_d and hit_j tag in frame 394 to be something beside 0. But since you said it's fine so....

Second: itr/kind: 8 doesn't need negative injury value to heal.

Third: the itr/kind: 8 has y: 10000. The special bdy has y: 9000

That's all I could see for now.

oh, thx the heal's working without neg. injury but... it heal slowly, but i mean an instant heal, without flashing dark red ball.


RE: itr/kind8 not working - no one - 06-19-2009

Then why do you need itr/kind: 8? A normal itr/kind: 0 with state: 18 shall do the trick (negative injury value require).


RE: itr/kind8 not working - Azriel - 06-19-2009

    DC-Code:
<frame> 396 standing
   pic: 2  state: 15  wait: 0  next: 397  dvx: 0  dvy: 0  centerx: 39  centery: 76  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 39  y: 79  action: 37  dvx: 0  dvy: 0  oid: 242  facing: 0
   opoint_end:
<frame_end>


I'd actually change the opoint y: to 76.

the -ve injury thing, u'll get a gain in dark red hp, but that can't be helped.



Azriel~



RE: itr/kind8 not working - Drahcir - 06-19-2009

By the way, with what you've got there, it'll ONLY heal your character if he DOESN'T have low health. (I think)


RE: itr/kind8 not working - TheNave - 06-19-2009

sorry for posting here in a solved thread, but:
    DC-Code:
<frame> 37 flying
   pic: 12  state: 15  wait: 7  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 8  x: 10000  y: 10000  w: 2599 dvx: 1000  h: 2550  injury: -200
   itr_end:
<frame_end>
x: 10000 & w: 2599? that can't work, it's totaly wrong... it should be like x: -10000 & w: 20000

'nd for instant healing you should do it like this:
    DC-Code:
OPOINT ITR/K8
 
<frame> 396 standing
   pic: 2  state: 15  wait: 0  next: 397  dvx: 0  dvy: 0  centerx: 39  centery: 76  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 39  y: 9500  action: 37  dvx: 0  dvy: 0  oid: 242  facing: 0
   opoint_end:
<frame_end>
----------------------------------------------------------------------------------------------
 
THE OPOINTED THING
<frame> 37 flying
   pic: 12  state: 18  wait: 7  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: -10000  y: 0  w: 20000 dvx: 1000  h: 2550  injury: -200 fall: -1 bdefend: 0  effect: 5
   itr_end:
<frame_end>


didn't test it but should work