Little Fighter Empire - Forums
Problem about revive - 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: Problem about revive (/showthread.php?tid=9338)

Pages: 1 2


Problem about revive - feiterry - 08-02-2014

How can I revive this object(new char)

    DC-Code:
<frame> 230 lying
   pic: 34  state: 14  wait: 15  next: 219  dvx: 0  dvy: 0  dvz: 0  centerx: 78 centery: 150  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 64  y: 148  weaponact: 32  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 0  y: 10000  w: 50  h: 50
   bdy_end:
<frame_end>
 
<frame> 231 lying
   pic: 44  state: 14  wait: 15  next: 219  dvx: 0  dvy: 0  dvz: 0  centerx: 78  centery: 150  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 126  y: 148  weaponact: 24  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 0  y: 10000  w: 50  h: 50
   bdy_end:
<frame_end>


Because my old data is not working for it~~seem that the centerx,y make affect it~
    DC-Code:
<frame> 280 revive
   pic: 132  state: 18  wait: 12  next: 999  dvx: 0  dvy: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
 wpoint:
      kind: 1  x: 45  y: -999  weaponact: 35  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
 itr:
      kind: 0  x: -10 y: 10000 w: 200 h: 0 dvx: 0 dvy: 0 fall: -1 arest: 100 bdefend: 0 injury: -150 zwidth: 37 
   effect: -1
   itr_end:
   bdy:
      kind: 0  x: 19  y: 15  w: 28  h: 65
   bdy_end:
<frame_end>



RE: Problem about revive - AmadisLFE - 08-02-2014

The ITR is probably a bit too far away if you didn't notice, its -10, while the BDY is in the middle

Except that, I can't find any problems, maybe also increase the height of the ITR?


RE: Problem about revive - STM1993 - 08-03-2014

Try increasing your revive frame ITR's "h: 0" to at least "h: 1". Nothing wrong with the rest of the data, its just being unfamiliar with coordinates. Don't worry about centerx/y, they only change where the game determines your sprite's center is.

@Amadis: Effect -1 will act just like Effect 5. And no, effect 4 is used to hit only weapons & projectiles.


RE: Problem about revive - Alapottra - 08-03-2014

Like STM said...change 'h:0' and cant find anyting wrong...


RE: Problem about revive - feiterry - 08-03-2014

I changed the ITR to x:0 y:10000 w:200 h:10 but still not work~

The object body land on x: 0 y: 10000 w: 50 h: 50 why I can not revive it?



RE: Problem about revive - STM1993 - 08-03-2014

Try bdefend 100. If that still doesn't work, try vrest instead of arest.

If it still doesn't work, just give your ITR a bigger w and h until it works.


RE: Problem about revive - Nyamaiku - 08-03-2014

maybe, just maybe...
the only thing that went wrong is the fall value? i think lying count as some kind of falling thing...
try giving it a fall: 60 or fall: 70


RE: Problem about revive - bashscrazy - 08-03-2014

(08-03-2014, 05:16 PM)Nyamaiku Wrote:  maybe, just maybe...
the only thing that went wrong is the fall value? i think lying count as some kind of falling thing...
try giving it a fall: 60 or fall: 70

nah it should be fine. One time I gave a char a bdy in the lying frames. And he got hit by everything. Each time he got hit he would just fall again from falling frames. Even when he was dead he could still get hurt. It was pretty hilarious. Rather than your ball attacks going through them and hitting the enemy on the other side, they would basically be shields just lying there blocking all the attacks xD

edit: but it wouldn't hurt to try.


RE: Problem about revive - feiterry - 08-03-2014

this is one of my old char :
    DC-Code:
<frame> 230 lying
   pic: 34  state: 14  wait: 30  next: 219  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 72  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 39  y: 74  weaponact: 32  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 0  y: 10000  w: 50  h: 50
   bdy_end:
<frame_end>
 
<frame> 231 lying
   pic: 44  state: 14  wait: 30  next: 219  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 75  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 41  y: 74  weaponact: 24  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 0  y: 10000  w: 50  h: 50
   bdy_end:
<frame_end>

and It works with using that ITR
    DC-Code:
itr:
      kind: 0  x: -10 y: 10000 w: 200 h: 0 dvx: 0 dvy: 0 fall: -1 arest: 100 bdefend: 0 injury: -150 zwidth: 37 
   effect: -1
   itr_end:


so that I don't know this time not success.


RE: Problem about revive - Nyamaiku - 08-04-2014

try changing the itr to this:
    DC-Code:
itr:
      kind: 0  x: -4999 y: -100 w: 9999 h: 9999 fall: 70
   itr_end:

and see if this will hit your character...
if it does, the problem is the itr cant hit the character's bdy