Need help with attack - LF Imperor - 07-26-2008
This is the attack: explode_healball.dat
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.
RE: Need help with attack - MH-Razen - 07-26-2008
LF Imperor Wrote: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. 
Hey this is a forum where everybody can ask as often as he wants as long as he don't ask all the same ...
If nobody have time you'll not get an answer and the forum software is not mad with you if you often use it .gif)
---
For the problem: please shom us the move where you use the ball within. I think it's a mistake within the char-file, not within the attack-file
RE: Need help with attack - LF Imperor - 07-26-2008
Input: hit_Uj (frame 260)
Code: <frame> 260 heal_other
pic: 100 state: 15 wait: 2 next: 261 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 mp: 350
sound: data\050.wav
wpoint:
kind: 1 x: 22 y: 55 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 20 y: 13 w: 37 h: 67
bdy_end:
<frame_end>
<frame> 261 heal_other
pic: 101 state: 15 wait: 2 next: 262 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\052.wav
wpoint:
kind: 1 x: 22 y: 55 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 18 y: 14 w: 39 h: 66
bdy_end:
<frame_end>
<frame> 262 heal_other
pic: 102 state: 15 wait: 2 next: 263 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 22 y: 55 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 18 y: 14 w: 38 h: 66
bdy_end:
<frame_end>
<frame> 263 heal_other
pic: 107 state: 15 wait: 2 next: 264 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 22 y: 55 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 17 y: 16 w: 39 h: 64
bdy_end:
<frame_end>
<frame> 264 heal_other
pic: 108 state: 15 wait: 2 next: 265 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 22 y: 55 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 15 y: 15 w: 42 h: 65
bdy_end:
<frame_end>
<frame> 265 heal_other
pic: 109 state: 15 wait: 2 next: 266 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 78 y: 36 action: 50 dvx: 0 dvy: 0 >>>oid: 230<<< facing: 0
opoint_end:
wpoint:
kind: 1 x: 22 y: 55 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 18 y: 11 w: 37 h: 68
bdy_end:
<frame_end>
<frame> 266 heal_other
pic: 115 state: 15 wait: 2 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 22 y: 55 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 20 y: 10 w: 36 h: 69
bdy_end:
<frame_end>
This plus the code of the attack move I mentioned in the first post. (This one refers to ID 230, which in data.txt is referring to the explode_healball.dat - code shown before) !! So where am I wrong ?
RE: Need help with attack - MH-Razen - 07-27-2008
opoint:
kind: 1 x: 78 y: 36 action: 50 dvx: 0 dvy: 0 >>>oid: 230<<< facing: 0
opoint_end:
Your mistake is at the action-tag: you activate the right dat.-file, but the wrong frame - there is no frame 50. Use 0 and it should work!
RE: Need help with attack - Ascor - 07-29-2008
solved i've done it and it worked
|