02-22-2009, 11:06 AM
Normal ball:
The ball will be opointed when hit_a:
Code:
<frame> 20 hit
pic: 4 state: 3002 wait: 1 next: 21 dvx: 0 dvy: 0 dvz: 0 centerx: 90 centery: 16 [b]hit_a: 70[/b] hit_d: 0 hit_j: 0
itr:
kind: 8 x: 29 [b]y: 100000[/b] w: 98 h: 24 dvx: <the hit effect frame>
itr_end:
<frame_end>
<frame> 70 <insert something sound cool here>
pic: 4 state: 3002 wait: 0 [b]next: 71[/b] dvx: 0 dvy: 0 dvz: 0 centerx: 90 centery: 16 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 71 <insert something sound cool here>
pic: 4 state: 3002 wait: 0 next: 21 dvx: 0 dvy: 0 dvz: 0 centerx: 90 centery: 16 [i]hit_a: 70[/i] hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 150 y: 29 action: 0 dvx: 0 dvy: 0 oid: [i]<id of the ball>[/i] facing: 0
opoint_end:
<frame_end>
The ball will be opointed when hit_a:
Code:
<frame> 0 flying
pic: 0 state: 3000 wait: 1 next: 1 dvx: 19 dvy: 0 dvz: 0 centerx: 90 centery: 16 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 29 y: 4 w: 98 h: 24 dvx: 15 dvy: -8 fall: 40 vrest: 10 bdefend: 16 injury: 40
itr_end:
<frame_end>
<frame> 1 flying
pic: 0 state: 3000 [b]wait: xxx[/b] next: 1 dvx: 19 dvy: 0 dvz: 0 centerx: 90 centery: 16 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 29 y: 4 w: 98 h: 24 dvx: 15 dvy: -8 fall: 40 vrest: 10 bdefend: 16 injury: 40
itr_end:
opoint:
kind: 1 x: 150 y: 29 action: 0 dvx: 0 dvy: 0 oid: [i]<id of the type: 0 object>[/i] facing: 0
opoint_end:
<frame_end>