Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
draining problem
#1
i want my character to drain the opponets energy with every hit(ive got this) but on a catching frame(EX:<frame> 306 catching
pic: 138 state: 9 wait: 4 next: 307 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 1 x: 58 y: 38
vaction: 390 throwvz: -842150451 hurtable: 0 throwinjury: -842150451 decrease: -1
cpoint_end:
wpoint:
kind: 1 x: 56 y: 40 weaponact: 35 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>

<frame> 307 Eight Trigrams 64 Palms
pic: 139 state: 9 wait: 3 next: 308 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 1 x: 58 y: 38
vaction: 130 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -1
cpoint_end:
wpoint:
kind: 1 x: 45 y: 51 weaponact: 35 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
itr:
kind: 0 x: 45 y: 34 w: 50 h: 30 dvx: 20 dvy: -7 fall: 70 vrest: 15 bdefend: 100 injury: 35 effect: 0
itr_end:
<frame_end>
and this is the draining frames

<frame> 390 mp_drain
pic: 30 state: 15 wait: 0 next: 391 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 57 y: 48 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 25 y: 26 w: 37 h: 53
bdy_end:
<frame_end>

<frame> 391 mp_drain
pic: 31 state: 15 wait: 10 next: 999 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 mp: -500
wpoint:
kind: 1 x: 57 y: 48 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 25 y: 26 w: 37 h: 53
bdy_end:
<frame_end>

whenever i get to the frame to drain the enemy's energy they end up under me and stuck in the ground how can i fix this?
Reply
Thanks given by:
#2
cpoint:
kind: 1 x: 58 y: 38

try make the y coordinate 8 or something.

also, I'm assuming frame 390 in all the chars has a proper cpoint right? (when the cpoints line up, the centery of the caught char must be above ground otherwise he'll be stuck)



Azriel~
Reply
Thanks given by:
#3
are you sure that this is possible at all? I mean, what makes you sure that the opponent will go to frame 391 at all? There is one vaction: 390; ok, I admit that. But is he afterwards really going to frame 391, and then being held at frame 130? Cpoint is always a little strange story, but I think, you missed the state: 10 in the last two frames.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

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

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#4
BluePhoenix Wrote:but I think, you missed the state: 10 in the last two frames.

Wait, all of the frames above is state: 9.

and..

KyuubiNaruto(FKN) Wrote:pic: 31 state: 15 wait: 10 next: 999 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 mp: -500

Why is that mp: -500? In the last frame?
Reply
Thanks given by:
#5
(11-02-2008, 04:29 PM)~Zhyhm~ Wrote:  
BluePhoenix Wrote:but I think, you missed the state: 10 in the last two frames.

Wait, all of the frames above is state: 9.
Nope, the last two are running with state: 15. Oh, and the cpoint is missing in these last two.

(11-02-2008, 04:29 PM)~Zhyhm~ Wrote:  and..

KyuubiNaruto(FKN) Wrote:pic: 31 state: 15 wait: 10 next: 999 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 mp: -500

Why is that mp: -500? In the last frame?
It's supposed to make the enemy lose all his mp when he is in that frame ;)
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

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

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#6
Oh, yeah, didn't see this line:

Quote:and this is the draining frames

And i see another problem:

Quote:<frame> 307 Eight Trigrams 64 Palms
pic: 139 state: 9 wait: 3 next: 308 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 1 x: 58 y: 38
vaction: 130 throwvz: -842150451 hurtable: 1 throwinjury: -842150451 decrease: -1
cpoint_end:
wpoint:
kind: 1 x: 45 y: 51 weaponact: 35 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
itr:
kind: 0 x: 45 y: 34 w: 50 h: 30 dvx: 20 dvy: -7 fall: 70 vrest: 15 bdefend: 100 injury: 35 effect: 0
itr_end
:
<frame_end>

So the enemy is hurt before being mana-drained
Reply
Thanks given by:
#7
Yeah... first of all try to change fall to 30 or something like this ;)
Reply
Thanks given by:
#8
shadowM?
nap
the character is still hurt if the fall is 30
it has to be 0 or -10
and the bdefend has to be 0 or -10^^
and the hurtable has to be 0
Reply
Thanks given by:
#9
just a small note: moved to advanced,
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)