YesNoOk
avatar

Lets try this again... Power bar sounds. (Read 454 times)

Started by Geese, September 04, 2008, 09:35:48 am
Share this topic:
Lets try this again... Power bar sounds.
#1  September 04, 2008, 09:35:48 am
  • **
Look at these.

See the lifebars? I sure do. I do love but i do not have time for custom portraits.. anyways.


now look at this.
[mcode]; Definition of fight screen

; *** DO NOT MODIFY OR OVERWRITE THIS FILE ***
; To customize, make a copy of this file in a subdirectory of your
; motif's name. See readme.txt for details on motifs.

; *2001.11.01 NEW* symbolizes any new parameters added for the 2001.11.01
; version of M.U.G.E.N.

; Notes about fonts:
;   - do not index fonts greater than 9 (crash)
;   - fonts indexed here do not refer to the ones in
;     system.def
;
; See the section "How to Customize" at the end of
; this file.

;-----------------------------------------------------------
;Directories are checked in this order:
;1. current directory fight.def is in
;2. data/
;3. your MUGEN directory

[Files]
sff = data/fight.sff
snd = data/fight.snd
font1 = font/jg.fnt
font2 = font/powerfont2.fnt
font3 = font/nameA.fnt
font4 = font/combofont1.fnt
font5 = font/timer2.fnt
font6 = font/combofont2.fnt
fightfx.sff = fightfx.sff
fightfx.air = fightfx.air
common.snd = common.snd

;-----------------------------------------------------------
[lifebar]
;Player 1
p1.pos    = 160,11
p1.bg0.anim = 10
p1.bg0.scale = .5,.5
p1.bg0.offset = -160,-11
p1.bg1.spr = 999, 1
p1.bg1.scale = .5, .5
p1.bg1.offset = 0, 8
p1.bg2.spr = 11,0
p1.bg2.scale = .5,.5
p1.bg2.offset = 1, 12
p1.mid.anim = 999
p1.mid.scale = .5,.5
p1.mid.facing = -1
p1.mid.offset = 0,15
p1.front.spr = 13,0
p1.front.scale = .5,.5
p1.front.facing = -1
p1.front.offset = 0,15
p1.range.x  = -17,-154
;Player 2
p2.pos    = 160,11
p2.bg0.anim = 10
p2.bg0.scale = .5,.5
p2.bg0.offset = 160,-11
p2.bg0.facing = -1
p2.bg1.spr = 11,0
p2.bg1.scale = .5,.5
p2.bg1.facing = -1
p2.bg1.offset = -1, 12
p2.mid.anim = 999
p2.mid.scale = .5,.5
p2.mid.offset = 0,15
p2.front.spr = 13,0
p2.front.scale = .5,.5
p2.front.offset = 0,15
p2.range.x  = 16,154

[Begin Action 10] ;Darkened face background
999,3, 0,0, 1, , A

[Begin Action 999] ;Darkened face background
12,0, 0,0, 1, , AS128D128

[Simul Lifebar]
;Player 1
p1.pos    = 160,11
p1.bg0.anim = 10
p1.bg0.scale = .5,.5
p1.bg0.offset = -160,-11
p1.bg1.spr = 999, 1
p1.bg1.scale = .5, .5
p1.bg1.offset = 0, 8
p1.bg2.spr = 11,0
p1.bg2.scale = .5,.5
p1.bg2.offset = 1, 12
p1.mid.anim = 999
p1.mid.scale = .5,.24
p1.mid.facing = -1
p1.mid.offset = 0,15
p1.front.spr = 13,0
p1.front.scale = .5,.24
p1.front.facing = -1
p1.front.offset = 0,15
p1.range.x  = -17,-154

;Player 2
p2.pos    = 160,11
p2.bg0.anim = 10
p2.bg0.scale = .5,.5
p2.bg0.offset = 160,-11
p2.bg0.facing = -1
p2.bg1.spr = 11,0
p2.bg1.scale = .5,.5
p2.bg1.facing = -1
p2.bg1.offset = -1, 12
p2.mid.anim = 999
p2.mid.scale = .5,.24
p2.mid.offset = 0,15
p2.front.spr = 13,0
p2.front.scale = .5,.24
p2.front.offset = 0,15
p2.range.x  = 16,154

;Player 3
p3.pos    = 160,15
p3.mid.anim = 999
p3.mid.scale = .5,.24
p3.mid.facing = -1
p3.mid.offset = 0,15
p3.front.spr = 13,0
p3.front.scale = .5,.24
p3.front.facing = -1
p3.front.offset = 0,15
p3.range.x  = -17,-154

;Player 4
p4.pos    = 160,15
p4.mid.anim = 999
p4.mid.scale = .5,.24
p4.mid.offset = 0,15
p4.front.spr = 13,0
p4.front.scale = .5,.24
p4.front.offset = 0,15
p4.range.x  = 16,154

[Begin Action 20] ;Darkened lifebar background (team)
20,0, 0,0, 1, , S

[Turns Lifebar]
;Player 1
p1.pos    = 160,11
p1.bg0.anim = 10
p1.bg0.scale = .5,.5
p1.bg0.offset = -160,-11
p1.bg1.spr = 999, 1
p1.bg1.scale = .5, .5
p1.bg1.offset = 0, 8
p1.bg2.spr = 11,0
p1.bg2.scale = .5,.5
p1.bg2.offset = 1, 12
p1.mid.anim = 999
p1.mid.scale = .5,.5
p1.mid.facing = -1
p1.mid.offset = 0,15
p1.front.spr = 13,0
p1.front.scale = .5,.5
p1.front.facing = -1
p1.front.offset = 0,15
p1.range.x  = -17,-154

;Player 2
p2.pos    = 160,11
p2.bg0.anim = 10
p2.bg0.scale = .5,.5
p2.bg0.offset = 160,-11
p2.bg0.facing = -1
p2.bg1.spr = 11,0
p2.bg1.scale = .5,.5
p2.bg1.facing = -1
p2.bg1.offset = -1, 12
p2.mid.anim = 999
p2.mid.scale = .5,.5
p2.mid.offset = 0,15
p2.front.spr = 13,0
p2.front.scale = .5,.5
p2.front.offset = 0,15
p2.range.x  = 16,154

;-----------------------------------------------------------
[Powerbar]

;Player 1
p1.pos    = 161,33
p1.bg0.spr = 999, 4
p1.bg0.scale = .45,.45
p1.bg0.offset = -100,-2
p1.bg1.spr = 41,0
p1.bg1.scale = .5,.5
p1.mid.anim = 998
p1.mid.scale = .5,.5
p1.mid.facing = -1
p1.front.spr = 43,0
p1.front.scale = .5,.5
p1.front.offset = -112,1
p1.range.x = -19,-111
p1.counter.offset = -85,9
p1.counter.layerno = 1
p1.counter.font = 2,0, 0

;Player 2
p2.pos    = 159,33
p2.bg0.spr = 999, 4
p2.bg0.scale = .45,.45
p2.bg0.facing = -1
p2.bg0.offset = 100,-2
p2.bg1.spr = 41,0
p2.bg1.facing = -1
p2.bg1.scale = .5,.5
p2.front.spr = 43,0
p2.front.scale = .5,.5
p2.front.offset = 1,1
p2.range.x = 17,111
p2.counter.offset = 85,9
p2.counter.layerno = 1
p2.counter.font = 2,0, 0

[Begin Action 998] ;Darkened face background
42,0, 0,0, 1;AS128D128


; --level sounds---
level1.snd = 21,0
level2.snd = 21,0
level3.snd = 21,0

[Begin Action 40] ;Darkened powerbar background
40,0, 0,0, 1, , S

;-----------------------------------------------------------
[Face]
Player 1
p1.pos    = 0,0
p1.bg.spr = 999, 5
p1.bg.scale = .45,.45
p1.bg.offset = 61,31
p1.face.spr = 9000,999
p1.face.scale = .5,.5
p1.face.facing = 1
p1.face.offset = 0,0
Player 2
p2.pos    = 320,0
p2.bg.spr = 999, 5
p2.bg.scale = .45,.45
p2.bg.offset = -61,31
p2.bg.facing = -1
p2.face.spr = 9000,999
p2.face.scale = .5,.5
p2.face.facing = -1
p2.face.offset = 0,0

[Simul Face]
;Player 1
p1.pos    = 0,0
p1.bg.spr = 999, 5
p1.bg.scale = .45,.45
p1.bg.offset = 61,31
p1.face.spr = 9000,999
p1.face.scale = .5,.5
p1.face.facing = 1
p1.face.offset = 0,0

;Player 2
p2.pos    = 320,0
p2.bg.spr = 999, 5
p2.bg.scale = .45,.45
p2.bg.offset = -61,31
p2.bg.facing = -1
p2.face.spr = 9000,999
p2.face.scale = .5,.5
p2.face.facing = -1
p2.face.offset = 0,0

;Player 3
p3.pos    = -5,42
p3.face.spr = 9000,998
p3.face.scale = 0.5,0.5
p3.face.facing = 1
p3.face.offset = 11,10

;Player 4
p4.pos    = 326,42
p4.bg.facing = -1
p4.face.spr = 9000,998
p4.face.scale = 0.5,0.5
p4.face.facing = -1
p4.face.offset = -11,10

[Turns Face]
;Player 1
p1.pos    = 0,0
p1.bg.spr = 999, 5
p1.bg.scale = .45,.45
p1.bg.offset = 61,31
p1.face.spr = 9000,999
p1.face.scale = .5,.5
p1.face.facing = 1
p1.face.offset = 0,0
p1.teammate.pos = 25,42
p1.teammate.spacing = -25,0
p1.teammate.bg.spr = 999,10
p1.teammate.bg.offset = -57,-26
p1.teammate.bg.scale = .5, .5
;p1.teammate.ko.spr = 71,0
p1.teammate.face.spr = 9000,998
p1.teammate.face.scale = 0.5,0.5
p1.teammate.face.facing = 1
p1.teammate.face.offset = 11,10

;Player 2
p2.pos    = 320,0
p2.bg.spr = 999, 5
p2.bg.scale = .45,.45
p2.bg.offset = -61,31
p2.bg.facing = -1
p2.face.spr = 9000,999
p2.face.scale = .5,.5
p2.face.facing = -1
p2.face.offset = 0,0
p2.teammate.pos = 296,42
p2.teammate.spacing = 25,0
p2.teammate.bg.spr = 999,10
p2.teammate.bg.facing = -1
p2.teammate.bg.offset = 57,-26
p2.teammate.bg.scale = .5, .5
;p2.teammate.ko.spr = 71,0
p2.teammate.face.spr = 9000,998
p2.teammate.face.scale = 0.5,0.5
p2.teammate.face.facing = -1
p2.teammate.face.offset = -11,10

;-----------------------------------------------------------
[Name]
p1.pos = 30,21
p1.bg.spr = 999,2
p1.bg.offset = -51,-7
p1.bg.scale = .5,.5
p1.name.font = 3,0, 0
p2.pos = 290,21
p2.bg.spr = 999,2
p2.bg.offset = 51,-7
p2.bg.scale = .5,.5
p2.bg.facing = -1
p2.name.font = 3,0,0

[Simul Name]
p1.pos = 30,21
p1.bg.spr = 999,2
p1.bg.offset = -51,-7
p1.bg.scale = .5,.5
p1.name.font = 3,0, 0

p2.pos = 290,22
p2.bg.spr = 999,2
p2.bg.offset = 51,-7
p2.bg.scale = .5,.5
p2.bg.facing = -1
p2.name.font = 3,0,0

p3.pos = 30,52
p3.bg.spr = 999,10
p3.bg.offset = -80,-7
p3.bg.scale = .5,.5
p3.name.font = 3,0, 0

p4.pos = 290,52
p4.bg.spr = 999,10
p4.bg.offset = 80,-7
p4.bg.scale = .5,.5
p4.bg.facing = -1
p4.name.font = 3,0,0

[Turns Name]
p1.pos = 30,21
p1.bg.spr = 999,2
p1.bg.offset = -51,-7
p1.bg.scale = .5,.5
p1.name.font = 3,0, 0
p2.pos = 290,21
p2.bg.spr = 999,2
p2.bg.offset = 51,-7
p2.bg.scale = .5,.5
p2.bg.facing = -1
p2.name.font = 3,0,0

;-----------------------------------------------------------
[Time]
;999 Digit Option
;Change time count to '999' in mugen.cfg
;pos = 160,25
;bg.spr = 999, 0
;bg.scale = .5, .5
;bg.offset = 0, -2
; Time count display
;counter.offset = -25,2
;counter.font = 5,0,1
; Ticks for each count
;framespercount = 6

;99 Digit Option
pos = 160,37
bg.spr = 999, 0
bg.scale = .5, .5
bg.offset = 0, -2
; Time count display
counter.offset = 0,2
counter.font = 5,0,0
; Ticks for each count
framespercount = 60[/mcode]

My lifebar level sounds do not work. No sound comes out at all. They dont come out unedited from Glassboxes screenpack either...Ive tried multiple .snd files. I've quadruple checked to see if the sound and the group match and they do. Is there any idea on how i can fix this? Is everyhting in the .def correct?
"If there is a god he pities you. If there is no god I pity you."
Re: Lets try this again... Power bar sounds.
#2  September 04, 2008, 10:50:53 am
  • ******
    • Philippines
    • moogen.piiym.net

  • Online
By any chance did you try testing the snd file in an editor and see if it plays each sound correctly?
Re: Lets try this again... Power bar sounds.
#3  September 04, 2008, 07:41:42 pm
  • **
yes I tried the snd file in FF. all the sounds are there. I tried changing the sounds and using alternate .snd files. These bars just dont wanna play that ONE sound. Ive even redownloaded them and put them in a fresh mugen.  ???
"If there is a god he pities you. If there is no god I pity you."
Re: Lets try this again... Power bar sounds.
#4  September 05, 2008, 12:41:08 am
  • ****
  • English fluency I am swear!
    • Canada
I had this problem to untill I fixed it.

do you see this part?

[mcode]

[Begin Action 998] ;Darkened face background
42,0, 0,0, 1;AS128D128

; --level sounds---
level1.snd = 21,0
level2.snd = 21,0
level3.snd = 21,0

[Begin Action 40] ;Darkened powerbar background
40,0, 0,0, 1, , S


[/mcode]

it should look like this.

[mcode]



; --level sounds---
level1.snd = 21,0
level2.snd = 21,0
level3.snd = 21,0

[Begin Action 998] ;Darkened face background
42,0, 0,0, 1;AS128D128

[Begin Action 40] ;Darkened powerbar background
40,0, 0,0, 1, , S


[/mcode]

a [mcode][Begin Action][/mcode] should never be infront of the level sounds.

Quote
And "Reality" is unveiled.
What did it want . . .
What did it see . . .
What did it hear . . .
What did it think . . .
What did it do . . .
Last Edit: September 05, 2008, 12:45:01 am by vgmaster2.0
Re: Lets try this again... Power bar sounds.
#5  September 05, 2008, 04:46:21 am
  • **
I had this problem to untill I fixed it.

do you see this part?

[mcode]

[Begin Action 998] ;Darkened face background
42,0, 0,0, 1;AS128D128

; --level sounds---
level1.snd = 21,0
level2.snd = 21,0
level3.snd = 21,0

[Begin Action 40] ;Darkened powerbar background
40,0, 0,0, 1, , S


[/mcode]

it should look like this.

[mcode]



; --level sounds---
level1.snd = 21,0
level2.snd = 21,0
level3.snd = 21,0

[Begin Action 998] ;Darkened face background
42,0, 0,0, 1;AS128D128

[Begin Action 40] ;Darkened powerbar background
40,0, 0,0, 1, , S


[/mcode]

a [mcode][Begin Action][/mcode] should never be infront of the level sounds.



*screams like a school girl* +10,000  You have no idea how long ive spent trying to fix this. You good sir, are my hero. Thanks!
"If there is a god he pities you. If there is no god I pity you."