Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Two Questions
#11
What I meant was:

Ball:
< frame 1> state: 18 next:0
ik3 caughtact :<mp regeneration frames > catchingact :<frame2>

<frame 2> wait: 10 next: <frame 3>

<frame 3>
state : 18
ik3 caughtact: 1 catchingact wait : 10 next: 1000

character:

mp frames <1> --> mp frames <2> spawn beer --->

mp frames state 17 <3> --> mp frames state 17 <3>

Frame 3 has special bdy that interact with the ik3 so the ball stop this action. Or you could just make frame 3 last longer but end by itself.
Reply
Thanks given by: A-Man
#12
even though this is much more sensible it didn't work.
here is my ball code:
    DC-Code:
<frame> 0 flying
   pic: 0  state: 18  wait: 0  next: 0  dvx: 0  dvy: 0  dvz: 0  centerx: 35  centery: 50  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 3  x: 30  y: 41  w: 15  h: 14    catchingact: 1  caughtact: 391
   itr_end:
<frame_end>
 
<frame> 1 asdf
   pic: 0  state: 15  wait: 10  next: 2  dvx: 0  dvy: 0  centerx: 39  centery: 79  
 
<frame_end>
 
 
<frame> 2 asdf
   pic: 0  state: 18  wait: 2  next: 1000  dvx: 0  dvy: 0  centerx: 39  centery: 79  
   itr:
      kind: 3  x: 30  y: 41  w: 15  h: 14    catchingact: 999  caughtact: 1
   itr_end:
<frame_end>



and here is the characters'
    DC-Code:
<frame> 391 asdf
   pic: 0  state: 15  wait: 0  next: 392  dvx: 0  dvy: 0  centerx: 39  centery: 79  
<frame_end>
 
<frame> 392 asdf
   pic: 0  state: 15  wait: 0  next: 393  dvx: 0  dvy: 0  centerx: 39  centery: 79  
   opoint:
      kind: 1  x: 39 y: 79 action: 0 dvx: 0 dvy: 0 oid: 123 facing: 0
   opoint_end:
<frame_end>
 
 
<frame> 393 asdf
   pic: 0  state: 17  wait: 3  next: 393  dvx: 0  dvy: 0  centerx: 39  centery: 79  
   bdy:
      kind: 0  x: 21  y: 79  w: 43  h: 62
   bdy_end:
   wpoint:
      kind: 1  x: 39  y: 79  weaponact: 31  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
<frame_end>


what is the mistake in here?
one more thing can I make the ball with the id 123 so it's just gonna have the beer's property of restoring energy?


THNX.
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:
#13
I fixed it. Its look kinda funny ,but its does work.
edit:
I just made it to last a bit longer like john heal ball.

You need to use only the mp character I made. Its would only work for
a mod .



Attached Files
.zip   mp ball.zip (Size: 20.2 KB / Downloads: 47)
Reply
Thanks given by: A-Man
#14
Yes it worked! But the problem is that my character goes down a little bit when caught.
Why does that happen.
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)