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.
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 of rimfrost_steam
its Data ID 300.
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.