Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 problems (Exp and falling state)
#1
Yo, it's me again, so, here i got a 2 problems that i want to solve.

I made a character that when is hited by fire he melts (cause he's from ice)
and i added a few frames, but theres 2 problems.

1. That falling makes him lying when he hits ground, and
he didnt dying from that fire cause animation stops when he hits ground.
Code:
<frame> 350 falling
   pic: 210  state: 11  wait: 2  next: 351  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 34  y: 40  weaponact: 21  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   itr:
      kind: 4  x: 21  y: 14  w: 29  h: 44  dvx: 2  fall: 70  vrest: 20  bdefend: 10  injury: 30  
   itr_end:
   bdy:
      kind: 0  x: 25  y: 25  w: 21  h: 20
   bdy_end:
<frame_end>

<frame> 351 falling
   pic: 211  state: 11  wait: 1  next: 352  dvx: 0  dvy: 0  dvz: 0  centerx: 37  centery: 85  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 40  y: 28  weaponact: 20  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   itr:
      kind: 4  x: 8  y: 15  w: 30  h: 32  dvx: 2  fall: 70  vrest: 20  bdefend: 10  injury: 30  
   itr_end:
   itr:
      kind: 4  x: 27  y: 35  w: 28  h: 21  dvx: 2  fall: 70  vrest: 20  bdefend: 10  injury: 30  
   itr_end:
   bdy:
      kind: 0  x: 22  y: 20  w: 24  h: 23
   bdy_end:
<frame_end>

<frame> 352 falling
   pic: 212  state: 11  wait: 1  next: 353  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 37  y: 44  weaponact: 21  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   itr:
      kind: 4  x: 13  y: 18  w: 46  h: 26  dvx: 2  fall: 70  vrest: 20  bdefend: 10  injury: 30  
   itr_end:
   bdy:
      kind: 0  x: 27  y: 22  w: 20  h: 18
   bdy_end:
<frame_end>

<frame> 353 falling
   pic: 213  state: 11  wait: 1  next: 354  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 29  y: 37  weaponact: 33  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   itr:
      kind: 4  x: 32  y: 18  w: 33  h: 27  dvx: 2  fall: 70  vrest: 20  bdefend: 10  injury: 30  
   itr_end:
   itr:
      kind: 4  x: 10  y: 38  w: 38  h: 21  dvx: 2  fall: 70  vrest: 20  bdefend: 10  injury: 30  
   itr_end:
   bdy:
      kind: 0  x: 22  y: 30  w: 27  h: 21
   bdy_end:
<frame_end>

<frame> 354 falling
   pic: 214  state: 11  wait: 1  next: 355  dvx: 0  dvy: -1  dvz: 0  centerx: 39  centery: 72  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 48  y: 81  action: 0  dvx: 0  dvy: 0  oid: 300  facing: 1
   opoint_end:
   wpoint:
      kind: 1  x: 40  y: 71  weaponact: 32  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
<frame_end>

<frame> 355 falling
   pic: 215  state: 12  wait: 3  next: 400  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 40  y: 61  weaponact: 31  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
<frame_end>

it's code of this frames.

and
2. there is an Opoint which makes a firen like explosion, but it doenst work, only shadow on ground i dunno why.

Code:
<bmp_begin>
file(0-14): sprite\sys\rimfrost_steam.bmp  w: 159  h: 159  row: 5  col: 3
weapon_hit_sound: data\068.wav
weapon_drop_sound: data\068.wav
weapon_broken_sound: data\068.wav
<bmp_end>

<frame> 0 explosion
   pic: 0  state: 3000  wait: 1  next: 1  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

<frame> 1 explosion
   pic: 1  state: 18  wait: 1  next: 2  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 23  y: 36  w: 112  h: 110  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 30  zwidth: 37  
   itr_end:
<frame_end>

<frame> 2 explosion
   pic: 2  state: 18  wait: 1  next: 3  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 20  y: 16  w: 122  h: 135  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 30  zwidth: 37  
   itr_end:
<frame_end>

<frame> 3 explosion
   pic: 3  state: 18  wait: 1  next: 4  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 19  y: 18  w: 127  h: 131  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 30  zwidth: 37  
   itr_end:
<frame_end>

<frame> 4 explosion
   pic: 4  state: 18  wait: 1  next: 5  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 7  y: 16  w: 146  h: 132  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 30  zwidth: 37  
   itr_end:
<frame_end>

<frame> 5 explosion
   pic: 5  state: 18  wait: 1  next: 6  dvx: 0  dvy: 0  centerx: 78  centery: 150  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 13  y: 13  w: 137  h: 132  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 30  zwidth: 37  
   itr_end:
<frame_end>

<frame> 6 explosion
   pic: 6  state: 18  wait: 1  next: 7  dvx: 0  dvy: 0  centerx: 78  centery: 155  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 7  y: 14  w: 145  h: 117  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 30  zwidth: 37  
   itr_end:
<frame_end>

<frame> 7 explosion
   pic: 7  state: 18  wait: 1  next: 8  dvx: 0  dvy: 0  centerx: 78  centery: 157  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 15  y: 6  w: 128  h: 123  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 30  zwidth: 37  
   itr_end:
<frame_end>

<frame> 8 explosion
   pic: 8  state: 18  wait: 1  next: 9  dvx: 0  dvy: 0  centerx: 78  centery: 164  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 15  y: 6  w: 128  h: 123  dvx: -12  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 30  zwidth: 37  
   itr_end:
<frame_end>

<frame> 9 explosion
   pic: 9  state: 18  wait: 1  next: 10  dvx: 0  dvy: 0  centerx: 78  centery: 171  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

<frame> 10 explosion
   pic: 10  state: 18  wait: 1  next: 11  dvx: 0  dvy: 0  centerx: 78  centery: 177  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

<frame> 11 explosion
   pic: 11  state: 18  wait: 1  next: 1000  dvx: 0  dvy: 0  centerx: 76  centery: 172  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

code of rimfrost_steam
its Data ID 300.

Reply
Thanks given by:
#2
try adding dvy: 550 and dvx: 550 at the ice frames
550 stops all movement, so no matter whether the character is launched into the air or whatever, he can still finish the animation.

about the explosion, might be you opoint it too high above or too low in the ground.
back from the dead.....kinda
Reply
Thanks given by: Onyx
#3
ty :) and dat explosion i just added explosion2 in firen_flame and it works xd
Reply
Thanks given by:
#4
Onyx, using the state in Louis's Dash Attack might help, 1so after falling, the animation happens on ground like body parts turning into Water and, well, you get it right? And for the Explosion, look at this code which is Coming in my LF2 Mod ( Demon Sorcerer Explosion )

    DC-Code:
<bmp_begin>
file(0-11): sprite\sys\Demon_mage_ball2.bmp  w: 81  h: 82  row: 4  col: 3
file(12-26): sprite\sys\Demon_mage_exp.bmp  w: 159  h: 159  row: 5  col: 3
weapon_hit_sound: data\020.wav
weapon_drop_sound: data\020.wav
weapon_broken_sound: data\020.wav
<bmp_end>
 
 
<frame> 0 flying
   pic: 0  state: 3000  wait: 0  next: 1  dvx: 5  dvy: 0  dvz: 0  centerx: 40  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 22  y: 27  w: 55  h: 27  dvx: 7  fall: 50  vrest: 10  bdefend: 200  injury: 75  
   itr_end:
   bdy:
      kind: 0  x: 22  y: 27  w: 55  h: 27
   bdy_end:
<frame_end>
 
<frame> 1 flying
   pic: 1  state: 3000  wait: 0  next: 2  dvx: 5  dvy: 0  dvz: 0  centerx: 40  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 22  y: 27  w: 55  h: 27  dvx: 7  fall: 50  vrest: 10  bdefend: 200  injury: 75  
   itr_end:
   bdy:
      kind: 0  x: 22  y: 27  w: 55  h: 27
   bdy_end:
<frame_end>
 
<frame> 2 flying
   pic: 2  state: 3000  wait: 0  next: 3  dvx: 5  dvy: 0  dvz: 0  centerx: 40  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 22  y: 27  w: 55  h: 27  dvx: 7  fall: 50  vrest: 10  bdefend: 200  injury: 75  
   itr_end:
   bdy:
      kind: 0  x: 22  y: 27  w: 55  h: 27
   bdy_end:
<frame_end>
 
<frame> 3 flying
   pic: 3  state: 3000  wait: 0  next: 4  dvx: 5  dvy: 0  dvz: 0  centerx: 40  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 22  y: 27  w: 55  h: 27  dvx: 7  fall: 50  vrest: 10  bdefend: 200  injury: 75  
   itr_end:
   bdy:
      kind: 0  x: 22  y: 27  w: 55  h: 27
   bdy_end:
<frame_end>
 
<frame> 4 flying
   pic: 8  state: 3000  wait: 0  next: 5  dvx: 5  dvy: 0  dvz: 0  centerx: 40  centery: 43  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 22  y: 27  w: 55  h: 27  dvx: 7  fall: 50  vrest: 10  bdefend: 200  injury: 75  
   itr_end:
   bdy:
      kind: 0  x: 22  y: 27  w: 55  h: 27
   bdy_end:
<frame_end>
 
<frame> 5 flying
   pic: 9  state: 3000  wait: 0  next: 999  dvx: 5  dvy: 0  dvz: 0  centerx: 40  centery: 43  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 22  y: 27  w: 55  h: 27  dvx: 7  fall: 50  vrest: 10  bdefend: 200  injury: 75  
   itr_end:
   bdy:
      kind: 0  x: 22  y: 27  w: 55  h: 27
   bdy_end:
<frame_end>
 
<frame> 10 hiting
   pic: 4  state: 3001  wait: 1  next: 11  dvx: 0  dvy: 0  dvz: 0  centerx: 44  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 11 hiting
   pic: 5  state: 3001  wait: 1  next: 12  dvx: 0  dvy: 0  dvz: 0  centerx: 44  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 28  y: 82  action: 109  dvx: 0  dvy: 0  oid: 986  facing: 0
   opoint_end:
<frame_end>
 
<frame> 12 hiting
   pic: 6  state: 3001  wait: 1  next: 13  dvx: 0  dvy: 0  dvz: 0  centerx: 44  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 13 hiting
   pic: 7  state: 3001  wait: 1  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 44  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 20 hit
   pic: 4  state: 3002  wait: 1  next: 21  dvx: 0  dvy: 0  dvz: 0  centerx: 46  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 21 hit
   pic: 5  state: 3002  wait: 1  next: 22  dvx: 0  dvy: 0  dvz: 0  centerx: 46  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 22 hit
   pic: 6  state: 3002  wait: 1  next: 23  dvx: 0  dvy: 0  dvz: 0  centerx: 46  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 23 hit
   pic: 7  state: 3002  wait: 1  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 46  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 30 rebounding
   pic: 4  state: 3003  wait: 1  next: 31  dvx: 0  dvy: 0  dvz: 0  centerx: 43  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 31 rebounding
   pic: 5  state: 3003  wait: 1  next: 32  dvx: 0  dvy: 0  dvz: 0  centerx: 43  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 32 rebounding
   pic: 6  state: 3003  wait: 1  next: 33  dvx: 0  dvy: 0  dvz: 0  centerx: 43  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 33 rebounding
   pic: 7  state: 3003  wait: 1  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 43  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 40 rebounding
   pic: 4  state: 3003  wait: 1  next: 41  dvx: 0  dvy: 0  dvz: 0  centerx: 43  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 41 rebounding
   pic: 5  state: 3003  wait: 1  next: 42  dvx: 0  dvy: 0  dvz: 0  centerx: 43  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 42 rebounding
   pic: 4  state: 3003  wait: 1  next: 31  dvx: 0  dvy: 0  dvz: 0  centerx: 43  centery: 41  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 109 explosion
   pic: 26  state: 3000  wait: 1  next: 110  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 110 explosion
   pic: 12  state: 15  wait: 1  next: 111  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 23  y: 36  w: 112  h: 110  dvx: 40  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 75  zwidth: 37  
   itr_end:
<frame_end>
 
<frame> 111 explosion
   pic: 13  state: 15  wait: 1  next: 112  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 20  y: 16  w: 122  h: 135  dvx: 40  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 75  zwidth: 37  
   itr_end:
<frame_end>
 
<frame> 112 explosion
   pic: 14  state: 15  wait: 1  next: 113  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 19  y: 18  w: 127  h: 131  dvx: 40  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 75  zwidth: 37  
   itr_end:
<frame_end>
 
<frame> 113 explosion
   pic: 15  state: 15  wait: 1  next: 114  dvx: 0  dvy: 0  centerx: 78  centery: 148  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 7  y: 16  w: 146  h: 132  dvx: 40  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 75  zwidth: 37  
   itr_end:
<frame_end>
 
<frame> 114 explosion
   pic: 16  state: 15  wait: 1  next: 115  dvx: 0  dvy: 0  centerx: 78  centery: 150  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 13  y: 13  w: 137  h: 132  dvx: 40  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 75  zwidth: 37  
   itr_end:
<frame_end>
 
<frame> 115 explosion
   pic: 17  state: 15  wait: 1  next: 116  dvx: 0  dvy: 0  centerx: 78  centery: 155  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 7  y: 14  w: 145  h: 117  dvx: 40  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 75  zwidth: 37  
   itr_end:
<frame_end>
 
<frame> 116 explosion
   pic: 18  state: 15  wait: 1  next: 117  dvx: 0  dvy: 0  centerx: 78  centery: 157  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 15  y: 6  w: 128  h: 123  dvx: 40  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 75  zwidth: 37  
   itr_end:
<frame_end>
 
<frame> 117 explosion
   pic: 19  state: 15  wait: 1  next: 118  dvx: 0  dvy: 0  centerx: 78  centery: 164  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 15  y: 6  w: 128  h: 123  dvx: 40  dvy: -18  fall: 70  vrest: 300  bdefend: 16  injury: 75  zwidth: 37  
   itr_end:
<frame_end>
 
<frame> 118 explosion
   pic: 20  state: 15  wait: 1  next: 119  dvx: 0  dvy: 0  centerx: 78  centery: 171  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 119 explosion
   pic: 21  state: 15  wait: 1  next: 120  dvx: 0  dvy: 0  centerx: 78  centery: 177  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 120 explosion
   pic: 22  state: 15  wait: 1  next: 1000  dvx: 0  dvy: 0  centerx: 76  centery: 172  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 399 dummy
   pic: 0  state: 0  wait: 0  next: 0  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>


Up is the Ball, which, when hits a Character Summons the Explosion on that area. ( Normal Firen sized Explosion )
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:




Users browsing this thread: 1 Guest(s)