Caught Counter Attack - shin hanazumi - 11-14-2011
Damn! why when i do a project, i always meet some problemaa XP
i am on a project making Caught Counter Attack:
I caught by opponent -> i press the buttons -> i directly caught him then do the move.
2 months ago, it work succesfully until i didn't test it again.
When i test it again (yesterday), it didn't work succesfully, why? where is the bug?
DC-Code:
<frame> 130 picked_caught
pic: 166 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 27 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 hit_Dj: 236
cpoint:
kind: 2 x: 42 y: 39
fronthurtact: 132 backhurtact: 131
cpoint_end:
wpoint:
kind: 1 x: 28 y: 54 weaponact: 31 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 26 y: 14 w: 28 h: 66
bdy_end:
<frame_end>
<frame> 131 picked_caught
pic: 166 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 27 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 hit_Dj: 236
cpoint:
kind: 2 x: 43 y: 39
fronthurtact: 132 backhurtact: 132
cpoint_end:
wpoint:
kind: 1 x: 27 y: 52 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 26 y: 14 w: 28 h: 66
bdy_end:
<frame_end>
<frame> 132 picked_caught
pic: 166 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 27 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 hit_Dj: 236
cpoint:
kind: 2 x: 41 y: 39
fronthurtact: 131 backhurtact: 131
cpoint_end:
wpoint:
kind: 1 x: 44 y: 47 weaponact: 30 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 26 y: 14 w: 28 h: 66
bdy_end:
<frame_end>
<frame> 133 picked_caught
pic: 101 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 27 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 hit_Dj: 236
cpoint:
kind: 2 x: 33 y: 36
cpoint_end:
wpoint:
kind: 1 x: 35 y: 37 weaponact: 22 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 134 picked_caught
pic: 31 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 38 centery: 83 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 2 x: 30 y: 37
cpoint_end:
wpoint:
kind: 1 x: 41 y: 29 weaponact: 20 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 135 picked_caught
pic: 32 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 2 x: 35 y: 22
cpoint_end:
wpoint:
kind: 1 x: 39 y: 44 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 136 picked_caught
pic: 33 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 2 x: 27 y: 46
cpoint_end:
wpoint:
kind: 1 x: 35 y: 40 weaponact: 33 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 137 picked_caught
pic: 34 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 71 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 2 x: 28 y: 59
cpoint_end:
wpoint:
kind: 1 x: 41 y: 72 weaponact: 32 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 138 picked_caught
pic: 35 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 2 x: 31 y: 51
cpoint_end:
wpoint:
kind: 1 x: 40 y: 70 weaponact: 31 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 139 picked_caught
pic: 40 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 2 x: 45 y: 32
cpoint_end:
wpoint:
kind: 1 x: 28 y: 48 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 140 picked_caught
pic: 41 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 2 x: 40 y: 39
cpoint_end:
wpoint:
kind: 1 x: 44 y: 42 weaponact: 20 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 141 picked_caught
pic: 42 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 2 x: 44 y: 40
cpoint_end:
wpoint:
kind: 1 x: 42 y: 48 weaponact: 23 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 142 picked_caught
pic: 43 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 2 x: 46 y: 51
cpoint_end:
wpoint:
kind: 1 x: 51 y: 65 weaponact: 24 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 143 picked_caught
pic: 44 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 74 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 2 x: 45 y: 66
cpoint_end:
wpoint:
kind: 1 x: 66 y: 72 weaponact: 24 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 144 picked_caught
pic: 45 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 2 x: 42 y: 55
cpoint_end:
wpoint:
kind: 1 x: 40 y: 67 weaponact: 25 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
|
DC-Code:
<frame> 236 run_attack
pic: 101 state: 3 wait: 1 next: 237 dvx: 0 dvy: 550 dvz: 0 centerx: 27 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 mp: 2000
cpoint:
kind: 3 x: 102 y: 58 w: 71 h: 43 vrest: 10
catchingact: 237 -237 caughtact: 121 121
cpoint_end:
bdy:
kind: 0 x: 11 y: 17 w: 37 h: 62
bdy_end:
<frame_end>
<frame> 237 run_attack
pic: 101 state: 3 wait: 4 next: 238 dvx: 0 dvy: 550 dvz: 0 centerx: 27 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 1 x: 61 y: 39
vaction: 121 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: 7
cpoint_end:
bdy:
kind: 0 x: 11 y: 17 w: 37 h: 62
bdy_end:
<frame_end>
<frame> 238 run_attack
pic: 100 state: 3 wait: 1 next: 239 dvx: 0 dvy: 550 dvz: 0 centerx: 27 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
sound: data\007.wav
itr:
kind: 0 x: 12 y: 51 w: 68 h: 17 dvx: 30 dvy: -5 fall: 70 vrest: 7 bdefend: 16 injury: 150
itr_end:
bdy:
kind: 0 x: 10 y: 16 w: 38 h: 62
bdy_end:
<frame_end>
<frame> 239 run_attack
pic: 100 state: 3 wait: 20 next: 240 dvx: 0 dvy: 550 dvz: 0 centerx: 29 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 hit_Ua: 295 hit_Da: 265 hit_Fj: 280
bdy:
kind: 0 x: 12 y: 16 w: 34 h: 63
bdy_end:
<frame_end>
<frame> 240 run_attack
pic: 106 state: 3 wait: 1 next: 999 dvx: 0 dvy: 550 dvz: 0 centerx: 31 centery: 79 hit_a: 270 hit_d: 0 hit_j: 0 hit_Ua: 295 hit_Da: 265 hit_Fj: 280
bdy:
kind: 0 x: 12 y: 11 w: 36 h: 67
bdy_end:
<frame_end>
|
RE: Caught Counter Attack - Ramond - 11-14-2011
Are you sure that you've not mistaken the cpoint in frame 236 for a normal itr? Would make more sense, all that stuff with catchingact and kind 3.
RE: Caught Counter Attack - shin hanazumi - 11-14-2011
so should i use ck 3?
RE: Caught Counter Attack - Ramond - 11-14-2011
I was suggesting you try to replace the cpoint: and cpoint_end: with itr: and itr_end: (though x: 102 seems to be a lot)
RE: Caught Counter Attack - shin hanazumi - 11-14-2011
(11-14-2011, 11:00 AM)Ramond Wrote: I was suggesting you try to replace the cpoint: and cpoint_end: with itr: and itr_end: (though x: 102 seems to be a lot) I'm yet test your suggestion but when i do that (the test), after press the button, it work succesfully enter the pic of frame 326, but after that, it run to frame 0 and can't move, suddenly, it run to frame 219.
Why?
NP: can you give me the code that i must change? i dun really understand where is cpoint that must i change. And i make he catch opponent first before do the move to make the opponent can't do anything (if opponent perform attack and before the attack damage you, you was pressed the buttons, suddenly, it will cancel the move XP)
RE: Caught Counter Attack - mfc - 11-14-2011
Look. Cpoints cant catch chars.
You catch enemies with itr kind 3.
Then, if itrk3 catches a char, it goes to frames with cpoints and state 9.
Really you should look for some catching tutorials.
And LFE mainsite is pretty ideal for that...
|