Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Draining
#1
Future Kyuubi Naruto
how do you make your character drain other people energy?


[...]


Blue Phoenix
Well, there is a possibility, but that requires to edit every character...

Add certain frames into every caracter, for example, use frame 390 for that mp-thingy...
Code:
<frame> 390 picked_caught
pic: 53 state: 10 wait: 3 next: 0 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 mp: -4
cpoint:
kind: 2 x: 42 y: 39
fronthurtact:132 backhurtact: 131
cpoint_end:
wpoint:
kind: 1 x: 19 y: 53 weaponact: 25 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>

Now, your character (that drains the mp) has to catch that poor guy and make him go to frame 390.

use this itr:
[/code]
itr:
kind: 3 x: 40 y: 16 w: 25 h: 65
catchingact: 350 350 caughtact: 390 390
itr_end:[/code]
Frame 350 is just an example, edit like it fits you :)


I'm not sure if this theory works, I've never tested this...
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

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

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#2
Well I'm not much into data changing yet so I may be saying completely stupid things now, but I have a question about this draining: Can it be solved by using fixed numbers?
I mean what if we make the attack cost negative mp(-50), and an effect that'll destroy the same amount of mp of an enemy. Just cause I'm planning on a character that would have a drain move, and I want to know if I'll be able to do this without changing all characters or not.
So,
Is negative mp a possible option?
Can attacks remove mp, instead of hp?
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)