Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] MP recharge script-Help needed
#11
Put in a simple "weaponact: 1000" at the last frame...

Frames with more then 3 numbers crash the object and make it immeadeantly disappearing ^^

(Awww.... somewhen i was working on Oni's Shadow Strike and misstiped... He meditated, some cloak and he disappeared... but instead appearing behind enemy he deleted himself XD 3669=/=369 XD)
My Creations: (Click to View)

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


Greetz,
Alblaka
Reply
Thanks given by: Alonless
#12
(02-19-2009, 08:10 PM)Alblaka Wrote:  Frames with more then 3 numbers crash the object and make it immeadeantly disappearing ^^

need to correct that statement: Rudolf's having a 4-digit next-value, too. Disappearing works with next: 1280
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

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

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by: Alonless
#13
In my mod, 1000 and 9999 works also ^^
Mayve only special numbers work...
My Creations: (Click to View)

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


Greetz,
Alblaka
Reply
Thanks given by: Alonless
#14
k works very very well heres the code:

Code:
<frame> 302 charge
   pic: 1  state: 17  wait: 1  next: 303  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 306  hit_d: 306  hit_j: 306
   bpoint:
      x: 40  y: 34
   bpoint_end:
   wpoint:
      kind: 1  x: 17  y: 56  weaponact: 31  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> 303 charge
   pic: 78  state: 17  wait: 1  next: 304  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 306  hit_d: 306  hit_j: 306
   opoint:
      kind: 2  x: 38  y: 100000  action: 31  dvx: 0 dvy: 0  oid: 123  facing: 0
   opoint_end:
   wpoint:
      kind: 1  x: 44  y: 50  weaponact: 31  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> 304 charge
   pic: 0  state: 17  wait: 1  next: 305  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 306  hit_d: 306  hit_j: 306
   bpoint:
      x: 40  y: 34
   bpoint_end:
   wpoint:
      kind: 1  x: 17  y: 57  weaponact: 31  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> 305 charge
   pic: 1  state: 17  wait: 1  next: 304  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 306  hit_d: 306  hit_j: 306
   bpoint:
      x: 40  y: 34
   bpoint_end:
   wpoint:
      kind: 1  x: 17  y: 56  weaponact: 31  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> 306 charge
   pic: 1  state: 17  wait: 1  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 999  hit_d: 999  hit_j: 999
   bpoint:
      x: 40  y: 34
   bpoint_end:
   wpoint:
      kind: 1  x: 17  y: 56  weaponact: 1000  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>

k everything works fine mp is recovering and no beer is dropped around me .
Only thing left is to get rid of falling bottle sound and sprites so the beer wont appear near my butt when mp charging is performed xD
but its only a matter of minutes ( need to copy weapon8 , edit it and save at other name eq: mp charge and i will not use beer bottle ,but obly mp charge script) am i rite?
hmmm?
BTW: ty Noir for showing me how to use the code thingy xD

and im soooo happy thats everybody is helping me i feel so...so....happy :D

__________EDIT_________

oh and i forgot to add also id (of mp recharge script) in the data.txt (LOL?)
Reply
Thanks given by:
#15
You can simply put the X and the Y from "wpoint" to 10000, too, then the sprite won't be visible and the sound will be played with nearly volume 0... (cuz the bottle would break damn far of you)
My Creations: (Click to View)

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


Greetz,
Alblaka
Reply
Thanks given by: Alonless
#16
oh i didnt thinked about that thanks i will try that rite away (lol rite away got it?) xD


(another smallest post)

_______EDIT_________

Yes Works fine aswell you were right like everyone else in here i think its solved now .
Now i will thank everyone for any post and click solved ^^ here i will give code so if someone will looking for it he will have completed one

Script for Mp recharge (combination DJA)

Code:
<frame> 302 charge
   pic: 1  state: 17  wait: 1  next: 303  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 306  hit_d: 306  hit_j: 306
   bpoint:
      x: 40  y: 34
   bpoint_end:
   wpoint:
      kind: 1  x: 100000  y: 100000  weaponact: 31  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> 303 charge
   pic: 78  state: 17  wait: 1  next: 304  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 306  hit_d: 306  hit_j: 306
   opoint:
      kind: 2  x: 38  y: 100000  action: 31  dvx: 0 dvy: 0  oid: 123  facing: 0
   opoint_end:
   wpoint:
      kind: 1  x: 100000  y: 100000  weaponact: 31  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> 304 charge
   pic: 0  state: 17  wait: 1  next: 305  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 306  hit_d: 306  hit_j: 306
   bpoint:
      x: 40  y: 34
   bpoint_end:
   wpoint:
      kind: 1  x: 100000  y: 100000  weaponact: 31  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> 305 charge
   pic: 1  state: 17  wait: 1  next: 304  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 306  hit_d: 306  hit_j: 306
   bpoint:
      x: 40  y: 34
   bpoint_end:
   wpoint:
      kind: 1  x: 100000  y: 100000  weaponact: 31  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> 306 charge
   pic: 1  state: 17  wait: 1  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 999  hit_d: 999  hit_j: 999
   bpoint:
      x: 40  y: 34
   bpoint_end:
   wpoint:
      kind: 1  x: 100000  y: 100000  weaponact: 1000  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>

still only thing left is make the mp charging frames look cooler xD

!!!!Thank You All Problem Solved ^^!!!!
Reply
Thanks given by: Silverthorn
#17
Maybe a mod could this tread mark somehow...
I guess it's a PERFECT answer on all "how i can make my char healing mp" question ^^
My Creations: (Click to View)

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


Greetz,
Alblaka
Reply
Thanks given by:
#18
Posting an example that works perfectly.... a very exemplary behavior!

~moved to solved
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

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

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)