Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Shoot balls that only go straight.
#3
(01-17-2014, 10:22 AM)Ramond Wrote:  That Firzen's ball and Bat's laser can only be cast straight is id-hardcoded, I believe.

In the frames of your ice ball (especially the first frame it's being created in), try using hit_j: 50. hit_j controls movement on the z-axis for type 3 objects, and 50 is the value for no z movement.

Welcome to LFE btw!

Thanks! I'll prolly be posting more questions in the future if that's ok :D

Hmm... It isn't working. I can still move it up or down. I put hit_j: 50 in my first 5 frames of ice ball. Here's the first 3:

<frame> 210 flying
pic: 0 state: 3000 wait: 2 next: 211 dvx: 0 dvy: 0 dvz: 0 centerx: 40 centery: 41 hit_a: 0 hit_d: 0 hit_j: 50
itr:
kind: 0 x: 22 y: 27 w: 55 h: 27 dvx: 7 fall: 20 vrest: 10 bdefend: 16 injury: 45
effect: 3
itr_end:
bdy:
kind: 0 x: 22 y: 27 w: 55 h: 27
bdy_end:
<frame_end>

<frame> 211 flying
pic: 1 state: 3000 wait: 2 next: 212 dvx: 0 dvy: 0 dvz: 0 centerx: 40 centery: 41 hit_a: 0 hit_d: 0 hit_j: 50
itr:
kind: 0 x: 22 y: 27 w: 55 h: 27 dvx: 7 fall: 20 vrest: 10 bdefend: 16 injury: 45
effect: 3
itr_end:
bdy:
kind: 0 x: 22 y: 27 w: 55 h: 27
bdy_end:
<frame_end>

<frame> 212 flying
pic: 2 state: 3000 wait: 2 next: 213 dvx: 0 dvy: 0 dvz: 0 centerx: 40 centery: 41 hit_a: 0 hit_d: 0 hit_j: 50
itr:
kind: 0 x: 22 y: 27 w: 55 h: 27 dvx: 7 fall: 20 vrest: 10 bdefend: 16 injury: 45
effect: 3
itr_end:
bdy:
kind: 0 x: 22 y: 27 w: 55 h: 27
bdy_end:
<frame_end>

Maybe something else I'm doing wrong?

Reply
Thanks given by:


Messages In This Thread
RE: Shoot balls that only go straight. - by Justfight - 01-17-2014, 11:44 AM



Users browsing this thread: 1 Guest(s)