Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] can some help me fix this itrkind3 cpointkind1
#1
can some please help i not sure we i went wrong and i have been checking for ages
and i am now asking for help and this is the first time i have used itrkind3
and cpointkind1 ok i will explain what the attacks supposed to do chracter goes foward a dvx: 5
and he supposed to catch oppenet when he catched oppenet he summons out an whirlwind attack then on
the last frame punched them away but when i do it it only catches them and doesnt summon anything anyway
heres codes:
codes for my chracter attack(when he grabs oppenet):
<frame> 235 whirlwind
pic: 84 state: 15 wait: 2 next: 236 dvx: 5 dvy: 0 dvz: 0 centerx: 28 centery: 80 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 13 y: 33 w: 27 h: 45
bdy_end:
wpoint:
kind: 1 x: 31 y: 72 weaponact: 20 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>

<frame> 236 whirlwind
pic: 85 state: 15 wait: 2 next: 237 dvx: 0 dvy: 0 dvz: 0 centerx: 28 centery: 80 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 13 y: 32 w: 31 h: 45
bdy_end:
wpoint:
kind: 1 x: 31 y: 74 weaponact: 20 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>

<frame> 237 whirlwind
pic: 86 state: 9 wait: 3 next: 238 dvx: 10 dvy: 0 dvz: 0 centerx: 27 centery: 80 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 13 y: 41 w: 35 h: 37
bdy_end:
wpoint:
kind: 1 x: 40 y: 79 weaponact: 20 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
itr:
kind: 3 x: 14 y: 33 w: 59 h: 32
catchingact: 238 238 caughtact: 132 132
itr_end:
<frame_end>

<frame> 238 whirlwind
pic: 87 state: 9 wait: 12 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 27 centery: 80 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 11 y: 37 w: 37 h: 44
bdy_end:
wpoint:
kind: 1 x: 42 y: 76 weaponact: 20 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
cpoint:
kind: 1 x: 29 y: 45
vaction: 132 aaction: 122 taction: 232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: 0 cover: 11
cpoint_end:
opoint:
kind: 1 x: 30 y: 75 action: 0 dvx: 0 dvy: 0 oid: 235 facing: 0
opoint_end:
<frame_end>

<frame> 239 whirlwind
pic: 88 state: 9 wait: 5 next: 240 dvx: 0 dvy: 0 dvz: 0 centerx: 27 centery: 80 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 13 y: 36 w: 36 h: 42
bdy_end:
wpoint:
kind: 1 x: 40 y: 77 weaponact: 20 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>

<frame> 240 whirlwind
pic: 89 state: 9 wait: 3 next: 241 dvx: 0 dvy: 0 dvz: 0 centerx: 27 centery: 80 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 13 y: 35 w: 28 h: 42
bdy_end:
wpoint:
kind: 1 x: 36 y: 77 weaponact: 20 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>

<frame> 241 whirlwind
pic: 84 state: 15 wait: 2 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 28 centery: 80 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 14 y: 31 w: 29 h: 47
bdy_end:
wpoint:
kind: 1 x: 38 y: 76 weaponact: 20 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>

code for when he summons ot the whirlwind to hit them:
<bmp_begin>
file(0-19): sprite\sys\whirlwind.bmp w: 159 h: 159 row: 5 col: 4
<bmp_end>

<frame> 0 flying
pic: 0 state: 3006 wait: 1 next: 1 dvx: 550 dvy: 550 centerx: 76 centery: 152 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\073.wav

<frame_end>

<frame> 1 flying
pic: 1 state: 3006 wait: 2 next: 2 dvx: 550 dvy: 550 centerx: 76 centery: 152 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>

<frame> 2 flying
pic: 2 state: 3006 wait: 2 next: 1000 dvx: 550 dvy: 550 centerx: 76 centery: 152 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 46 y: 76 w: 67 h: 87 dvx: 0 dvy: 0 fall: 20 vrest: 2 bdefend: 20 injury: 50 effect: 1
itr_end:
<frame_end>

<frame> 3 flying
pic: 3 state: 3006 wait: 3 next: 4 dvx: 550 dvy: 550 centerx: 76 centery: 152 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 46 y: 76 w: 67 h: 87 dvx: 0 dvy: 0 fall: 0 vrest: 3 bdefend: 0 injury: 50 effect: 1
itr_end:
<frame_end>

<frame> 4 flying
pic: 4 state: 3006 wait: 3 next: 5 dvx: 550 dvy: 550 centerx: 76 centery: 152 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 50 y: 69 w: 65 h: 93 dvx: 0 dvy: 0 fall: 0 vrest: 3 bdefend: 0 injury: 50 effect: 1
itr_end:
<frame_end>

<frame> 5 flying
pic: 5 state: 3006 wait: 2 next: 6 dvx: 550 dvy: 550 centerx: 76 centery: 152 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 44 y: 42 w: 73 h: 76 dvx: 20 dvy: -2 fall: 70 vrest: 3 bdefend: 70 injury: 0 effect: 1
itr_end:
<frame_end>
please tell me were i went wrong and just fix mine up thanks for the help ^_^
[Image: variaboss.png]
SUPER B*NER: :3
Reply
Thanks given by:
#2
add a filling frame before you're opointing the whirlwind. catchingact works similar to hit_x, both won't activate an object.
Solution: create a dummy-frame where the character is still caught, and go with a "next:" to the opoint-frame. Boom.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#3
so in other words i catch the oppenet make him go to aflling frames make my chracter go to a next frame the object point out the whril wind and why doesnt mine work anyway?
[Image: variaboss.png]
SUPER B*NER: :3
Reply
Thanks given by:
#4
no. simply no.

take this and try to spot your mistake with the corrected version
Code:
<frame> 237 whirlwind
pic: 86 state: 9 wait: 3 next: 238 dvx: 10 dvy: 0 dvz: 0 centerx: 27 centery: 80 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 13 y: 41 w: 35 h: 37
bdy_end:
wpoint:
kind: 1 x: 40 y: 79 weaponact: 20 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
itr:
kind: 3 x: 14 y: 33 w: 59 h: 32
catchingact: 238 238 caughtact: 132 132
itr_end:
<frame_end>

<frame> 238 whirlwind
pic: 87 state: 9 wait: 12 next: 242 dvx: 0 dvy: 0 dvz: 0 centerx: 27 centery: 80 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 11 y: 37 w: 37 h: 44
bdy_end:
wpoint:
kind: 1 x: 42 y: 76 weaponact: 20 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
cpoint:
kind: 1 x: 29 y: 45
vaction: 132 aaction: 122 taction: 232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: 0 cover: 11
cpoint_end:
<frame_end>

<frame> 242 whirlwind
pic: 87 state: 9 wait: 12 next: 239 dvx: 0 dvy: 0 dvz: 0 centerx: 27 centery: 80 hit_a: 0 hit_d: 0 hit_j: 0
bdy:
kind: 0 x: 11 y: 37 w: 37 h: 44
bdy_end:
wpoint:
kind: 1 x: 42 y: 76 weaponact: 20 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
cpoint:
kind: 1 x: 29 y: 45
vaction: 132 aaction: 122 taction: 232 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: 0 cover: 11
cpoint_end:
opoint:
kind: 1 x: 30 y: 75 action: 0 dvx: 0 dvy: 0 oid: 235 facing: 0
opoint_end:
<frame_end>
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by: Madara Uchiha
#5
oh i understand were i went wrong thanks Blue Phoenix
[Image: variaboss.png]
SUPER B*NER: :3
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)