(06-03-2009, 02:10 PM)Alblaka Wrote: wtf? If you put a effect:5 into the itr, the attack WILL BE SILENT, cuz exactly that is the entire reason for this effect...
I use that effect in kinda every char (for example as a slow-down move, which of course doesn't makes any sounds).
If you still have a sound whereas you used effect:5 : remove the "sound: ...wav" XD
Code?
the ball code . i used only the second frame.
Code:
<bmp_begin>
file(0-7): sprite\sys\justin_ball.bmp w: 81 h: 82 row: 4 col: 2
<bmp_end>
<frame> 0 revive
pic: 999 state: 18 wait: 5 next: 1000 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 10 y: 1 w: 999 h: 999 dvx: 0 fall: 0 vrest: 7 bdefend: 0 injury: -50
itr_end:
<frame_end>
<frame> 1 Hit User
pic: 999 state: 18 wait: 5 next: 1000 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 999 y: 0 w: 999 h: 999 dvx: 0 fall: -1 vrest: 7 bdefend: 0 injury: 490 Effect: 5
itr_end:
<frame_end>
body code
Code:
<frame> 320 set clone hp
pic: 999 state: 3005 wait: 0 next: 321 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 3 x: 27 y: 54 weaponact: 23 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 999 y: 999 w: 999 h: 999
bdy_end:
<frame_end>
<frame> 321 set clone hp
pic: 999 state: 3005 wait: 30 next: 322 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 990 y: 990 action: 1 dvx: 0 dvy: 0 oid: 5214 facing: 0
opoint_end:
bdy:
kind: 0 x: 999 y: 999 w: 999 h: 999
bdy_end:
bdy:
kind: 0 x: 999 y: 999 w: 999 h: 999
bdy_end:
<frame_end>
<frame> 322 set clone hp
pic: 999 state: 3005 wait: 30 next: 323 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 990 y: 990 action: 1 dvx: 0 dvy: 0 oid: 5214 facing: 0
opoint_end:
wpoint:
kind: 1 x: 40 y: 40 weaponact: 20 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 999 y: 999 w: 999 h: 999
bdy_end:
<frame_end>
<frame> 323 set clone hp
pic: 999 state: 3005 wait: 1 next: 324 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 40 y: 40 weaponact: 20 attacking: 0 cover: 1 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 999 y: 999 w: 999 h: 999
bdy_end:
<frame_end>
<frame> 324 set clone hp
pic: 999 state: 3005 wait: 0 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 41 y: 70 action: 70 dvx: 0 dvy: 0 oid: 204 facing: 0
opoint_end:
wpoint:
kind: 1 x: 40 y: 40 weaponact: 20 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 999 y: 999 w: 999 h: 999
bdy_end:
<frame_end>
(06-03-2009, 02:26 PM)TheNave Wrote: if the effect: 5 does not work remove these sounds from your data header
lol u just post before i post my code
nope. there no sound in this ball. kinda werid. check the spolier.
btw i also used normal state 3 in body frames just to see if it that the problom.