Extra damage problem - basement2 - 07-23-2010
Okay... It's been a long time since I posted on this forum.
I have a problem with John. He is supposed to get injured in his injured frame, as i want him to take extra damage from attacks. However, he gets stuck in the injured frames instead.
Here is the data:
DC-Code:
<frame> 220 injured
pic: 120 state: 11 wait: 2 next: 221 dvx: 0 dvy: 0 dvz: 0 centerx: 35 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 37 y: 52 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 25 y: 17 w: 29 h: 61
bdy_end:
<frame_end>
<frame> 221 injured
pic: 121 state: 11 wait: 0 next: 390 dvx: 0 dvy: 0 dvz: 0 centerx: 35 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 38 y: 51 weaponact: 22 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 32 y: 16 w: 27 h: 63
bdy_end:
bdy:
kind: 0 x: 22 y: 37 w: 26 h: 42
bdy_end:
opoint:
kind: 1 x: 35 y: 79 action: 300 dvx: 0 dvy: 0 oid: 200 facing: 0
opoint_end:
<frame_end>
<frame> 390 injured
pic: 121 state: 11 wait: 2 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 35 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 38 y: 51 weaponact: 22 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 32 y: 16 w: 27 h: 63
bdy_end:
bdy:
kind: 0 x: 22 y: 37 w: 26 h: 42
bdy_end:
<frame_end>
<frame> 222 injured
pic: 123 state: 11 wait: 2 next: 223 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 41 y: 30 weaponact: 33 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 11 y: 24 w: 39 h: 31
bdy_end:
bdy:
kind: 0 x: 25 y: 53 w: 40 h: 27
bdy_end:
<frame_end>
<frame> 223 injured
pic: 124 state: 11 wait: 0 next: 391 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 43 y: 30 weaponact: 33 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 12 y: 23 w: 40 h: 37
bdy_end:
bdy:
kind: 0 x: 27 y: 56 w: 36 h: 24
bdy_end:
opoint:
kind: 1 x: 39 y: 79 action: 300 dvx: 0 dvy: 0 oid: 200 facing: 0
opoint_end:
<frame_end>
<frame> 391 injured
pic: 124 state: 11 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: 43 y: 30 weaponact: 33 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 12 y: 23 w: 40 h: 37
bdy_end:
bdy:
kind: 0 x: 27 y: 56 w: 36 h: 24
bdy_end:
<frame_end>
<frame> 224 injured
pic: 130 state: 11 wait: 2 next: 225 dvx: 0 dvy: 0 dvz: 0 centerx: 48 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 30 y: 60 weaponact: 22 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 32 y: 18 w: 28 h: 60
bdy_end:
bdy:
kind: 0 x: 52 y: 38 w: 20 h: 19
bdy_end:
<frame_end>
<frame> 225 injured
pic: 131 state: 11 wait: 0 next: 392 dvx: 0 dvy: 0 dvz: 0 centerx: 44 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 39 y: 57 weaponact: 22 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 24 y: 18 w: 35 h: 63
bdy_end:
opoint:
kind: 1 x: 44 y: 79 action: 300 dvx: 0 dvy: 0 oid: 200 facing: 0
opoint_end:
<frame_end>
<frame> 392 injured
pic: 131 state: 11 wait: 2 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 44 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 39 y: 57 weaponact: 22 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 24 y: 18 w: 35 h: 63
bdy_end:
<frame_end>
<frame> 226 injured
pic: 120 state: 16 wait: 6 next: 227 dvx: 0 dvy: 0 dvz: 0 centerx: 36 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 39 y: 52 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
itr:
kind: 6 x: 6 y: 12 w: 85 h: 68 vrest: 1
itr_end:
bdy:
kind: 0 x: 27 y: 22 w: 42 h: 58
bdy_end:
<frame_end>
<frame> 227 injured
pic: 122 state: 16 wait: 6 next: 228 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 43 y: 52 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
itr:
kind: 6 x: 6 y: 12 w: 85 h: 68 vrest: 1
itr_end:
bdy:
kind: 0 x: 28 y: 24 w: 39 h: 57
bdy_end:
<frame_end>
<frame> 228 injured
pic: 121 state: 16 wait: 6 next: 229 dvx: 0 dvy: 0 dvz: 0 centerx: 37 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 41 y: 53 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
itr:
kind: 6 x: 6 y: 12 w: 85 h: 68 vrest: 1
itr_end:
bdy:
kind: 0 x: 28 y: 23 w: 37 h: 58
bdy_end:
opoint:
kind: 1 x: 37 y: 79 action: 300 dvx: 0 dvy: 0 oid: 200 facing: 0
opoint_end:
<frame_end>
<frame> 229 injured
pic: 122 state: 16 wait: 6 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: 44 y: 52 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
itr:
kind: 6 x: 6 y: 12 w: 85 h: 68 vrest: 1
itr_end:
bdy:
kind: 0 x: 29 y: 26 w: 37 h: 53
bdy_end:
<frame_end>
|
and the opoint opoints...
DC-Code:
<frame> 300 gay #haha
pic: 999 state: 18 wait: 1 next: 1000 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 22 y: 27 w: 55 h: 27 dvx: 0 fall: 1 arest: 1 bdefend: 16 injury: 1 effect: 5
itr_end:
<frame_end>
|
RE: Extra damage problem - Whaat - 07-23-2010
Well in John heal ball, there is injury: 100 in itr so maybe you should try to add injury: -?? (<- hp you want to lose) to itr, haven´t tested but that´s what i would try.
RE: Extra damage problem - basement2 - 07-23-2010
Okay sorry but your method doesn't work... so sad.
RE: Extra damage problem - MH-Razen - 07-23-2010
nah, the problem is the arest in the itr - arest means that the itr can hurt one person and the itr can rehurt this person after 1 TU - and this means 30 times per second!!!
Change this to another value and it should help...
RE: Extra damage problem - Ramond - 07-23-2010
I think arest or vrest in an itr from 1-3 would cause the attack to get stuck because of the itr lag, 4 allows 2 to 3 hits, and from 5 on it's just one... I think.
So yeah, try something along the lines of 5 - 10.
RE: Extra damage problem - basement2 - 07-23-2010
What value do i change it to? I tried 5 and 10 but it doesn't work.
RE: Extra damage problem - MH-Razen - 07-23-2010
what does "doesnt work" mean - still stuck ? then how about tring another value or change arest to vrestz just for secure 
edit: nah wait - these injkured frames you posted are nearly unmodified, right? ok, then please show us how you activated this extra-damage frame, cause with a wait: 1 the object should already disappear. Somehow i guess you activated it several times or so...
RE: Extra damage problem - basement2 - 07-23-2010
When he gets hit he does into the same injured frame. So the opoint keeps coming out. I nedd to know how to stop him from going back to the injured frame. Fall: -1?
RE: Extra damage problem - MH-Razen - 07-23-2010
fall and bdefend -1 should stop him from going to injured
RE: Extra damage problem - basement2 - 07-23-2010
DC-Code:
<frame> 300 gay
pic: 999 state: 18 wait: 1 next: 1000 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 22 y: 27 w: 55 h: 27 dvx: 0 fall: -1 arest: -1 bdefend: -1 injury: 5 effect: 5
itr_end:
<frame_end>
|
I changed it. It still doesn't work.
DC-Code:
<frame> 301 gay
pic: 999 state: 3005 wait: 1 next: 1000 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 8 x: 22 y: 27 w: 55 h: 27 dvx: 57 fall: 1 arest: 1 bdefend: 16 injury: -5 effect: 5
itr_end:
<frame_end>
|
Is this an altenative.
|