Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] how do you make a catching ball
#11
My bad, i just exspected you to know that fact already...

If you want to make a catching ball object you DO NOT start with a ball object and add catching thingys.
Instead, take a char's catching frame and modify it.

As you need state: 9, cpoints and the other stuff that's hardcoded for random reasons..


Your new problem requires hit_j: 50.
Works like a dvz: 550 for T3 objects ^^
My Creations: (Click to View)

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


Greetz,
Alblaka
Reply
Thanks given by:
#12
I guess I'm a total n00b cause I'm not understanding :S
Reply
Thanks given by:
#13
If you want to properly catch things, you should copy the catching frames from characters.
This mainly includes state:9 because that is the official "catching state" (and will enable the cpoint) and a fitting cpoint.

If you are using state:9, tags like "cover:" will work, otherwise they don't ^^


To prevent your bola from running up/downwards, set the hit_j: value of all catching frames to 50.
In T3-objects (balls, bolas, etc) dvz does not work and instead you need to use hit_j. (dunno why it was coded that way).
hit_j: 50 means no z-axis-movement, 49 means 1 px movement upwards, 51 means 1px downwards etc.
hit_j 50 will prevent any movement on the z-axis.
My Creations: (Click to View)

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


Greetz,
Alblaka
Reply
Thanks given by: bashscrazy
#14
Thanks for the help Alblaka :D
I used the Ultimate Dragon Ball Mod - (unfinished - used sprites from Jump Ultimate Stars) Gotenks's galactic donut.. I just needed teh dvz: 550 I believe.. But I added it in the x and y too too lazy to test if it works other wise but styll... it works LIVE TINGZ! YEYE

Code:
<frame> 55 catching
   pic: 16  state: 9  wait: 1  next: 56  dvx: 550  dvy: 550 dvz: 550  centerx: 32  centery: 40  hit_a: 0  hit_d: 0  hit_j: 0
   cpoint:
      kind: 1  x: 30  y: 33
      vaction: 132  throwvz: -842150451  hurtable: 1 throwinjury: -842150451
   cpoint_end:
<frame_end>

<frame> 56 catching
   pic: 17  state: 9  wait: 1  next: 57  dvx: 0  dvy: 550  centerx: 32  centery: 40  hit_a: 0  hit_d: 0  hit_j: 0
   cpoint:
      kind: 1  x: 30  y: 33
      vaction: 132  throwvz: -842150451  hurtable: 1 throwinjury: -842150451
   cpoint_end:
<frame_end>

<frame> 57 catching
   pic: 18  state: 9  wait: 1  next: 58  dvx: 0  dvy: 550  centerx: 32  centery: 40  hit_a: 0  hit_d: 0  hit_j: 0
   cpoint:
      kind: 1  x: 30  y: 33
      vaction: 132  throwvz: -842150451  hurtable: 1 throwinjury: -842150451
   cpoint_end:
<frame_end>
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)