06-24-2012, 03:13 PM
So i already downloaded the move after death example from the mainsite but
my problem now is that the char should only be able to revive if I press a special button and it should cost mp ... but then i added the mp tags it doesnt work at all
here's my code
char:
ball:
Thats the first problem, the second is that i dont want it to happen automatically so my idea was something like this: If I add hit_a : 309
it goes to this certain frame and then it activates
i would be grateful to any help ;)
my problem now is that the char should only be able to revive if I press a special button and it should cost mp ... but then i added the mp tags it doesnt work at all
here's my code
char:
DC-Code:
<frame> 230 lying pic: 34 state: 14 wait: 30 next: 219 dvx: 0 dvy: 0 dvz: 0 centerx: 38 centery: 73 hit_a: 0 hit_d: 0 hit_j: 0 wpoint: kind: 1 x: 39 y: 74 weaponact: 32 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 0 y: 400 w: 80 h: 80 bdy_end: <frame_end> <frame> 231 lying pic: 44 state: 14 wait: 30 next: 219 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 75 hit_a: 0 hit_d: 0 hit_j: 0 wpoint: kind: 1 x: 57 y: 74 weaponact: 24 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 0 y: 600 w: 80 h: 80 bdy_end: opoint: kind: 1 x: 40 y: 75 action: 110 dvx: 0 dvy: 0 oid: 207 facing: 0 opoint_end: <frame_end> |
ball:
DC-Code:
<frame> 110 transform pic: 1000 state: 3000 wait: 0 next: 111 dvx: 0 dvy: 0 centerx: 0 centery: 0 hit_a: 0 hit_d: 0 hit_j: 0 <frame_end> <frame> 111 transform pic: 1000 state: 18 wait: 0 next: 112 dvx: 0 dvy: 0 centerx: 0 centery: 0 hit_a: 0 hit_d: 0 hit_j: 0 itr: kind: 0 x: 0 y: 600 w: 80 h: 80 dvx: 0 fall: -100 bdefend: -100 injury: -300 itr_end: <frame_end> <frame> 112 transform pic: 1000 state: 18 wait: 3 next: 1000 dvx: 0 dvy: 0 centerx: 0 centery: 73 hit_a: 0 hit_d: 0 hit_j: 0 itr: kind: 3 x: 0 y: 600 w: 80 h: 80 vrest: 7 catchingact: 113 113 caughtact: 310 310 itr_end: <frame_end> |
Thats the first problem, the second is that i dont want it to happen automatically so my idea was something like this: If I add hit_a : 309
it goes to this certain frame and then it activates
DC-Code:
<frame> 231 lying pic: 44 state: 14 wait: 30 next: 219 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 75 hit_a: 309 hit_d: 0 hit_j: 0 wpoint: kind: 1 x: 57 y: 74 weaponact: 24 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 0 y: 600 w: 80 h: 80 bdy_end: <frame_end> . . . <frame> 309 lying pic: 44 state: 14 wait: 30 next: 219 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 75 hit_a: 309 hit_d: 0 hit_j: 0 wpoint: kind: 1 x: 57 y: 74 weaponact: 24 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 0 y: 600 w: 80 h: 80 bdy_end: opoint: kind: 1 x: 40 y: 75 action: 110 dvx: 0 dvy: 0 oid: 207 facing: 0 opoint_end: <frame_end> |
i would be grateful to any help ;)