Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem about revive
#1
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>
Reply
Thanks given by:
#2
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?
Spoilered Spoilers (Click to View)

You're just dying if you're living and thinking about a betrayal, revive yourself.
Think about that one person that has trusted you forever, not the thousand people that have betrayed you.
Reply
Thanks given by: feiterry
#3
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.
[Image: uMSShyX.png]
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza
Reply
Thanks given by: AmadisLFE , feiterry
#4
Like STM said...change 'h:0' and cant find anyting wrong...
Quit Playing LF2 But Still Love LF-EMPIRE....          
Reply
Thanks given by: feiterry
#5
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?
Reply
Thanks given by:
#6
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.
[Image: uMSShyX.png]
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza
Reply
Thanks given by:
#7
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
back from the dead.....kinda
Reply
Thanks given by: feiterry
#8
(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.
Reply
Thanks given by: feiterry , Nyamaiku
#9
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.
Reply
Thanks given by:
#10
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
back from the dead.....kinda
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)