Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] An DC problem
#1
How can my character recover his mp continuosly until I press defense?
Reply
Thanks given by:
#2
Opoint out an invisible beer and make your char drink it (change the pic to make it fit), your mp will be recover very fast. Put an hit_d: 999 in all of the mp recover frame so you could stop it when you press D.
Reply
Thanks given by:
#3
but I want different character to recover in different speed...is that possible?
Oh! and one more thing... I tried your solution but the beer bottle won't disappear .... here it is


Code:
<frame> 390 energy_recover
   pic: 152  state: 3  wait: 1  next: 391  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79 hit_d: 394 hit_j: 394 hit_a: 394
   sound: data\018.wav
   wpoint:
      kind: 3  x: 27  y: 54  weaponact: 23  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>

<frame> 391 energy_recover
   pic: 152  state: 3  wait: 0  next: 392  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79 hit_d: 394 hit_j: 394 hit_a: 394
   sound: data\018.wav
    opoint:
      kind: 2  x: 40  y: 40  action: 20  dvx: 0  dvy: 0  oid: 123  facing: 0
   opoint_end:
   wpoint:
      kind: 1  x: 40  y: 40  weaponact: 20  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>

<frame> 392 energy_recover
   pic: 152  state: 17  wait: 3  next: 393  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79 hit_d: 394 hit_j: 394 hit_a: 394
   sound: data\018.wav
   wpoint:
      kind: 1  x: 40  y: 40  weaponact: 20  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>

<frame> 393 energy_recover
   pic: 152  state: 17  wait: 3  next: 391  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79 hit_d: 394 hit_j: 394 hit_a: 394
   sound: data\018.wav
   wpoint:
      kind: 1  x: 40  y: 40  weaponact: 20  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>

<frame> 394 energy_recover
   pic: 0  state: 3  wait: 1  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 59
   hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 40  y: 40  weaponact: 1000  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>

This is how code works. 'Edit' this post to see how it's done. ~DON/Ramond
Reply
Thanks given by:
#4
you can use a very simple but yet effective way. Just set the coordinates somewhere over the bg-borders, like x: 10000.
I took this from Julian's Light_weapon_thw-frames and edited it a little:
Code:
wpoint:
      kind: 1  x: 10000  y: 60  weaponact: 35  attacking: 0  cover: 0  dvx: 1  dvy: 1  dvz: 1
   wpoint_end:

Oh, and please use the code-tag next time, will you?
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

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

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#5
Your thread don't work either...bottles of wine just kept felling out...

Code:
<frame> 390 energy_recover
   pic: 152  state: 3  wait: 1  next: 391  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 69 hit_d: 394 hit_j: 394 hit_a: 394
   sound: data\018.wav  
wpoint:
      kind: 3  x: 27  y: 54  weaponact: 23  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>

<frame> 391 energy_recover
   pic: 152  state: 3  wait: 0  next: 392  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 69 hit_d: 394 hit_j: 394 hit_a: 394
   sound: data\018.wav
   opoint:
      kind: 2  x: 40  y: 40  action: 20  dvx: 0  dvy: 0  oid: 123  facing: 0
   opoint_end:
   wpoint:
      kind: 1  x: 40  y: 40  weaponact: 20  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>

<frame> 392 energy_recover
   pic: 152  state: 17  wait: 3  next: 393  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 69 hit_d: 394 hit_j: 394 hit_a: 394
   sound: data\018.wav
  wpoint:
      kind: 1  x: 40  y: 40  weaponact: 20  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>

<frame> 393 energy_recover
   pic: 152  state: 17  wait: 3  next: 391  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 69 hit_d: 394 hit_j: 394 hit_a: 394
   sound: data\018.wav
   wpoint:
      kind: 1  x: 40  y: 40  weaponact: 20  attacking: 0  cover: 1  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>

<frame> 394 energy_recover
   pic: 0  state: 3  wait: 1  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 69
   hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 10000  y: 60  weaponact: 35  attacking: 0  cover: 0  dvx: 1  dvy: 1  dvz: 1
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
<frame_end>

uh...sorry about not using the code tag...I typed [/code]...but it seems that I made a mistake....sorry

I fixed it. It's [ code]text bla bla[/code] - Noir
Reply
Thanks given by:
#6
my guess is, opoint it with the x coordinates way far out, and in the last frame, make it wpoint kind: 3 (drops it) and dvx/y/z all 0.



Azriel~
Reply
Thanks given by:
#7
I change the second frame's opoint x: 100000 and I change the last frame's wpoint kind: 3, it still don't work...
Reply
Thanks given by:
#8
Did you make a disappear frame for the beer yet? It will fall if you don't get rid of it.
Reply
Thanks given by:
#9
(02-02-2009, 01:49 PM)THE tricker of 蒼 Wrote:  but I want different character to recover in different speed...is that possible?

just add a mp: -xx in the mp regaining frames. Different values for different characters depending on how fast/slow you want it.


Making the last frame weaponact: 1000 deletes the beer too
Reply
Thanks given by:
#10
Quote:just add a mp: -xx
But with that method you can only DECREASE the regeneration rate...

Could some frames with wait: 0 increase the reg speed? Would be worth a try..
My Creations: (Click to View)

Return (String) System.getNewsOfTheDay();
Barely active, expect slow responses. If at all.


Greetz,
Alblaka
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)