07-26-2008, 07:07 PM
This is the attack: explode_healball.dat
I want to make Sorcerer's heal ball a static ball which hits the enemy and explodes. The thing is that the image of the ball does not appear. I can press the input for the attack, the char makes the corresponding moves and then an "invisible nothing" is created (shadow appears) without any effect or else. What's wrong with it ?
-Attack: data\explode_healball.dat
-Data.txt: ID 230 data\explode_healball.dat
-Sprites of the attack: sprite\youngice\exp_healball (corresponding to the explosion frames 8-22) and sprite\youngice\explode_healball (corresponding to the frames of the healing ball 0-7)
PS: oid from hit_Uj in char.dat is set ID 230. (see together with informations above)
Sorry to bother you so many times in a little period of time, but I want to make many things and sometimes I mess things up.
Code:
<bmp_begin>
file(0-7): sprite\youngice\explode_healball.bmp w: 81 h: 82 row: 8 col: 1
file(8-22): sprite\youngice\exp_healball.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: 3 next: 1 dvx: 0 dvy: 0 centerx: 40 centery: 26 hit_a: 6 hit_d: 10 hit_j: 0
itr:
kind: 0 x: 25 y: 13 w: 32 h: 34 dvx: 40 injury: 100
itr_end:
<frame_end>
<frame> 1 flying
pic: 1 state: 3000 wait: 3 next: 2 dvx: 0 dvy: 0 centerx: 40 centery: 26 hit_a: 6 hit_d: 10 hit_j: 0
opoint:
kind: 1 x: 40 y: 39 action: 42 dvx: 0 dvy: 0 oid: 230 facing: 0
opoint_end:
itr:
kind: 0 x: 25 y: 13 w: 32 h: 34 dvx: 40 injury: 100
itr_end:
<frame_end>
<frame> 2 flying
pic: 2 state: 3000 wait: 3 next: 3 dvx: 0 dvy: 0 centerx: 40 centery: 26 hit_a: 6 hit_d: 10 hit_j: 0
opoint:
kind: 1 x: 40 y: 39 action: 44 dvx: 0 dvy: 0 oid: 230 facing: 0
opoint_end:
itr:
kind: 0 x: 25 y: 13 w: 32 h: 34 dvx: 40 injury: 100
itr_end:
<frame_end>
<frame> 3 flying
pic: 4 state: 3000 wait: 3 next: 4 dvx: 0 dvy: 0 centerx: 40 centery: 26 hit_a: 6 hit_d: 10 hit_j: 0
itr:
kind: 0 x: 25 y: 13 w: 32 h: 34 dvx: 40 injury: 100
itr_end:
<frame_end>
<frame> 4 flying
pic: 3 state: 3000 wait: 3 next: 1 dvx: 0 dvy: 0 centerx: 40 centery: 26 hit_a: 6 hit_d: 10 hit_j: 0
opoint:
kind: 1 x: 40 y: 39 action: 42 dvx: 0 dvy: 0 oid: 230 facing: 0
opoint_end:
itr:
kind: 0 x: 25 y: 13 w: 32 h: 34 dvx: 40 injury: 100
itr_end:
<frame_end>
<frame> 10 hiting
pic: 5 state: 3001 wait: 1 next: 11 dvx: 0 dvy: 0 centerx: 40 centery: 26 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 11 hiting
pic: 6 state: 3001 wait: 1 next: 12 dvx: 0 dvy: 0 centerx: 40 centery: 26 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 12 hiting
pic: 6 state: 3001 wait: 1 next: 13 dvx: 0 dvy: 0 centerx: 40 centery: 26 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 13 explosion
sound: data\089.wav
pic: 8 state: 18 wait: 1 next: 111 dvx: 0 dvy: 0 dvz: 0 centerx: 78 centery: 103 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: 75 zwidth: 37
effect: 23
itr_end:
<frame_end>
<frame> 20 hit
pic: 5 state: 3002 wait: 1 next: 21 dvx: 0 dvy: 0 centerx: 40 centery: 26 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 21 hit
pic: 6 state: 3002 wait: 1 next: 22 dvx: 0 dvy: 0 centerx: 40 centery: 26 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 centerx: 40 centery: 26 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 23 explosion
sound: data\089.wav
pic: 8 state: 18 wait: 1 next: 111 dvx: 0 dvy: 0 dvz: 0 centerx: 78 centery: 103 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: 75 zwidth: 37
effect: 23
itr_end:
<frame_end>
<frame> 30 rebounding
pic: 5 state: 3003 wait: 1 next: 31 dvx: 0 dvy: 0 centerx: 40 centery: 26 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 31 rebounding
pic: 6 state: 3003 wait: 1 next: 32 dvx: 0 dvy: 0 centerx: 40 centery: 26 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 centerx: 40 centery: 26 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 33 explosion
sound: data\089.wav
pic: 8 state: 18 wait: 1 next: 111 dvx: 0 dvy: 0 dvz: 0 centerx: 78 centery: 103 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: 75 zwidth: 37
effect: 23
itr_end:
<frame_end>
<frame> 110 explosion
sound: data\089.wav
pic: 8 state: 18 wait: 1 next: 111 dvx: 0 dvy: 0 dvz: 0 centerx: 78 centery: 103 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: 75 zwidth: 37
effect: 23
itr_end:
<frame_end>
<frame> 111 explosion
sound: data\071.wav
pic: 9 state: 18 wait: 1 next: 112 dvx: 0 dvy: 0 dvz: 0 centerx: 78 centery: 103 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: 75 zwidth: 37
effect: 23
itr_end:
<frame_end>
<frame> 112 explosion
pic: 10 state: 18 wait: 1 next: 113 dvx: 0 dvy: 0 dvz: 0 centerx: 78 centery: 103 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: 75 zwidth: 37
effect: 23
itr_end:
<frame_end>
<frame> 113 explosion
pic: 11 state: 18 wait: 1 next: 114 dvx: 0 dvy: 0 dvz: 0 centerx: 78 centery: 103 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: 75 zwidth: 37
effect: 23
itr_end:
<frame_end>
<frame> 114 explosion
pic: 12 state: 18 wait: 1 next: 115 dvx: 0 dvy: 0 dvz: 0 centerx: 78 centery: 105 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: 75 zwidth: 37
effect: 23
itr_end:
<frame_end>
<frame> 115 explosion
pic: 13 state: 18 wait: 1 next: 116 dvx: 0 dvy: 0 dvz: 0 centerx: 78 centery: 110 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: 75 zwidth: 37
effect: 23
itr_end:
<frame_end>
<frame> 116 explosion
pic: 14 state: 18 wait: 1 next: 117 dvx: 0 dvy: 0 dvz: 0 centerx: 78 centery: 112 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: 75 zwidth: 37
effect: 23
itr_end:
<frame_end>
<frame> 117 explosion
pic: 15 state: 18 wait: 1 next: 118 dvx: 0 dvy: 0 dvz: 0 centerx: 78 centery: 119 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: 75 zwidth: 37
effect: 23
itr_end:
<frame_end>
<frame> 118 explosion
pic: 16 state: 18 wait: 1 next: 119 dvx: 0 dvy: 0 dvz: 0 centerx: 78 centery: 126 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 119 explosion
pic: 17 state: 18 wait: 1 next: 120 dvx: 0 dvy: 0 dvz: 0 centerx: 78 centery: 132 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 120 explosion
pic: 18 state: 18 wait: 1 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 76 centery: 127 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
I want to make Sorcerer's heal ball a static ball which hits the enemy and explodes. The thing is that the image of the ball does not appear. I can press the input for the attack, the char makes the corresponding moves and then an "invisible nothing" is created (shadow appears) without any effect or else. What's wrong with it ?
-Attack: data\explode_healball.dat
-Data.txt: ID 230 data\explode_healball.dat
-Sprites of the attack: sprite\youngice\exp_healball (corresponding to the explosion frames 8-22) and sprite\youngice\explode_healball (corresponding to the frames of the healing ball 0-7)
PS: oid from hit_Uj in char.dat is set ID 230. (see together with informations above)
Sorry to bother you so many times in a little period of time, but I want to make many things and sometimes I mess things up.
