[solved] Trouble with a ball - Madara Uchiha - 05-16-2009
yeah i am having trouble with a ball i opoint out and when the character does the specail move, ends up holding and invisble weapon 0.o
anyway here's the specail attack for the character:
Code: <frame> 265 Earth_fowards
pic: 117 state: 15 wait: 3 next: 266 dvx: 0 dvy: 0 centerx: 42 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 mp: 100
bdy:
kind: 0 x: 20 y: 11 w: 37 h: 68
bdy_end:
wpoint:
kind: 1 x: 22 y: 99999 weaponact: 20 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 266 Earth_fowards
pic: 118 state: 15 wait: 3 next: 267 dvx: 0 dvy: 0 centerx: 37 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 15 y: 17 w: 32 h: 62
bdy_end:
wpoint:
kind: 1 x: 24 y: 99999 weaponact: 33 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 267 Earth_fowards
pic: 119 state: 15 wait: 2 next: 268 dvx: 0 dvy: 0 centerx: 37 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 15 y: 17 w: 32 h: 62
bdy_end:
wpoint:
kind: 1 x: 24 y: 99999 weaponact: 33 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 268 Earth_fowards
pic: 120 state: 15 wait: 3 next: 269 dvx: 0 dvy: 0 centerx: 37 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 20 y: 19 w: 32 h: 59
bdy_end:
wpoint:
kind: 1 x: 33 y: 99999 weaponact: 23 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 269 Earth_fowards
pic: 121 state: 15 wait: 5 next: 270 dvx: 0 dvy: 0 centerx: 37 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\021.wav
bdy:
kind: 0 x: 20 y: 19 w: 32 h: 59
bdy_end:
opoint:
kind: 1 x: 40 y: 79 action: 95 dvx: 5 dvy: 0 oid: 515 facing: 0
opoint_end:
wpoint:
kind: 1 x: 33 y: 99999 weaponact: 23 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 270 Earth_fowards
pic: 61 state: 15 wait: 3 next: 271 dvx: 0 dvy: 0 centerx: 37 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 27 y: 21 w: 27 h: 58
bdy_end:
wpoint:
kind: 1 x: 33 y: 99999 weaponact: 23 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 271 Earth_fowards
pic: 61 state: 15 wait: 0 next: 999 dvx: 0 dvy: 0 centerx: 37 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 27 y: 21 w: 27 h: 58
bdy_end:
wpoint:
kind: 1 x: 33 y: 99999 weaponact: 23 attacking: 0 cover: 0 dvx: 99999 dvy: 99999 dvz: 0
wpoint_end:
<frame_end>
and here's the ball, it supposed to opoint out itself again and again. Please note that i haven't used the frame 10,20,30. i am going to i wanted to code this move first because it easier.:
Code: <bmp_begin>
file(0-11): other\burst_up_rocks.bmp w: 159 h: 159 row: 5 col: 2
weapon_hit_sound: data\020.wav
weapon_drop_sound: data\020.wav
weapon_broken_sound: data\020.wav
<bmp_end>
<frame> 95 rocks_up
pic: 0 state: 3005 wait: 0 next: 96 dvx: 25 dvy: 550 dvz: 550 centerx: 70 centery: 158 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 96 rocks_up
pic: 1 state: 3005 wait: 1 next: 97 dvx: 25 dvy: 550 dvz: 550 centerx: 80 centery: 158 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 60 y: 21 w: 48 h: 136 dvx: 0 dvy: -18 fall: 70 arest: 3 bdefend: 70 injury: 85 effect: 0
itr_end:
opoint:
kind: 1 x: 40 y: 79 action: 95 dvx: 5 dvy: 0 oid: 515 facing: 0
opoint_end:
<frame_end>
<frame> 97 rocks_up
pic: 2 state: 3005 wait: 1 next: 98 dvx: 25 dvy: 550 dvz: 550 centerx: 80 centery: 158 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 60 y: 21 w: 48 h: 136 dvx: 0 dvy: -18 fall: 70 arest: 3 bdefend: 70 injury: 85 effect: 0
itr_end:
<frame_end>
<frame> 98 rocks_up
pic: 3 state: 3005 wait: 0 next: 99 dvx: 25 dvy: 550 dvz: 550 centerx: 84 centery: 158 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 60 y: 21 w: 48 h: 136 dvx: 0 dvy: -18 fall: 70 arest: 3 bdefend: 70 injury: 85 effect: 0
itr_end:
<frame_end>
<frame> 99 rocks_up
pic: 4 state: 3005 wait: 1 next: 100 dvx: 25 dvy: 550 dvz: 550 centerx: 84 centery: 158 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 60 y: 21 w: 48 h: 136 dvx: 0 dvy: -18 fall: 70 arest: 3 bdefend: 70 injury: 85 effect: 0
itr_end:
<frame_end>
<frame> 100 rocks_up
pic: 5 state: 3005 wait: 0 next: 101 dvx: 25 dvy: 550 dvz: 550 centerx: 82 centery: 158 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 60 y: 21 w: 48 h: 136 dvx: 0 dvy: -18 fall: 70 arest: 3 bdefend: 70 injury: 85 effect: 0
itr_end:
<frame_end>
<frame> 101 rocks_up
pic: 6 state: 3005 wait: 1 next: 102 dvx: 25 dvy: 550 dvz: 550 centerx: 77 centery: 158 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 60 y: 21 w: 48 h: 136 dvx: 0 dvy: -18 fall: 70 arest: 3 bdefend: 70 injury: 85 effect: 0
itr_end:
<frame_end>
<frame> 102 rocks_up
pic: 7 state: 3005 wait: 0 next: 1000 dvx: 25 dvy: 550 dvz: 550 centerx: 77 centery: 158 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 60 y: 21 w: 48 h: 136 dvx: 0 dvy: -18 fall: 70 arest: 3 bdefend: 70 injury: 85 effect: 0
itr_end:
<frame_end>
<frame> 105 rocks_up
pic: 7 state: 3005 wait: 0 next: 1000 dvx: 25 dvy: 550 dvz: 550 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 60 y: 21 w: 48 h: 136 dvx: 0 dvy: -18 fall: 70 arest: 3 bdefend: 70 injury: 85 effect: 0
itr_end:
<frame_end>
yeah could you please just tell me were i went wrong and higlight it please ^^
i forgot to mention that the probelm is, when he summons out the ball it goes invisble and shadows go forward
RE: Trouble with a ball - WoodySmasher - 05-16-2009
For the invisible weapon
wpoint:
kind: 1 x: 33 y: 99999 weaponact: 23 attacking: 0 cover: 0 dvx: 99999 dvy: 99999 dvz: 0
wpoint_end:
here u put the weapon is at a point 99999 from the char. And it's moved to a distance of horizontal axis 99999 and vertical axis 99999. In short terms u throwed the weapon away. If u don't wanna throw weapon put these values dvx: 0 dvy: 0. And for the invisible weapon change the y: 99999 according to the coordinates of where the weapon should be.
For the ball part i don't understand what ur saying.
RE: Trouble with a ball - Madara Uchiha - 05-16-2009
The probelm for the ball is that when i summon it out, a couple of shadows fly foward. I want to make it so that it opoints out something and continues opointing it out, any ideas?
and about the invisble weapon, i want to throw it away, but instead she ends up holding it.
RE: Trouble with a ball - TheNave - 05-16-2009
weaponact: 1000 removes the weapon
about the ball opoint thingy, you sure the id is correct?
RE: Trouble with a ball - Madara Uchiha - 05-16-2009
yeah 100% the id is correct, i dunno why the shadow goes forward through?
RE: Trouble with a ball - TheNave - 05-16-2009
w00t? maybe because you used a dvx: 25 in the ball frames, and a dvx: 5 in the opoint? isn't that a reason for the ball going forward?
RE: Trouble with a ball - Madara Uchiha - 05-16-2009
it's supposed to go foward, the thing i am confused with, is that the picture doesn't show of the sprites.
RE: Trouble with a ball - no one - 05-16-2009
Are you sure you give it the right pic/centery/x,y,col,row?
RE: Trouble with a ball - Reaper - 05-16-2009
I don't know wether it helps, but
file(0-11): other\burst_up_rocks.bmp w: 159 h: 159 row: 5 col: 2
is wrong. it should be 0-9 if you have row: 5 and col: 2
RE: Trouble with a ball - Madara Uchiha - 05-16-2009
OK since no one can find a solution, i will just re-code , it won't take that much time anyway.
|