Little Fighter Empire - Forums
[solved] Waiting frames - 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] Waiting frames (/showthread.php?tid=2726)

Pages: 1 2


[solved] Waiting frames - Headstrong Warrior - 04-25-2009

well for an move of mine i need to make some waiting frames

like

they should be one frame where he waits until he press a then he starts the attack

or he just wait a little time than he starts the attakc how can i do it ??



RE: Waiting frames - Ramond - 04-25-2009

Erm,

just make an extra frame with the wait value you wish to use (the other attributes of the frame (except next) should be the same), at the frame where he waits use hit_a: xxx (xxx the frame where the attack is)


RE: Waiting frames - Headstrong Warrior - 04-25-2009

and how can i let an frame continue aslong as i stop it like firen“s flame thrower???


RE: Waiting frames - Ramond - 04-25-2009

At the last frame of your attack, put next: xxx (where xxx is the number of the first frame of that attack, i.e. where it should repeat from). Don't forget hit_d: yyy and hit_j: yyy (when mp runs out, which frame to go to).


RE: Waiting frames - Headstrong Warrior - 04-25-2009

okay thanks ^^ and how can i let my char get or lose hp or mp while doing an contiuning attack like im firens flame thrower````?????


RE: Waiting frames - Som1Lse - 04-25-2009

For loosing mp:
Just add mp: -??? in that frame.

For others:
(Im)posible.(that means not imposible but a buggy method is required if posible(I cant think of any))


RE: Waiting frames - Silverthorn - 04-25-2009

To get or lose hp would require another object. I'm trying to not sound offending but this might go a little over the top of your current skill level.
Getting mp is even harder. The easiest way is losing mp. It's the solution Someone else described. It'd look similar to this:
    DC-Code:
<frame> 300 wait
   pic: 0  state: 0  wait: 5  next: 300  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 1  hit_j: 0  mp: -6
   bpoint:
      x: 43  y: 38
   bpoint_end:
   wpoint:
      kind: 1  x: 23  y: 46  weaponact: 35  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>

edit: yay, I was so smart to forget the hit_d-value :D


RE: Waiting frames - no one - 04-26-2009

Losing hp: opoint a ball with a itr/kind:0 and state: 18. The itr must be very high in the air so only your char get hit.

In the move's frames, give it bdys with the same y value so it could get hit.

Bug: you could die if you don't stop in time.


RE: Waiting frames - snorsorbet - 04-26-2009

no one Wrote:very high

That could be misunderstood as "very high damage" :P.
I guess you mean "high up in the air", or am I wrong?


RE: Waiting frames - no one - 04-26-2009

Quote:so only your char get hit.

if it's "very high damage" other will get hit too.

Anyway, edited.