|
Category: MiscellaneousMute Buttons on Startbutton |
for some reason, playing with these gives me great deal of satisfaction...
|
|
A Music off/Music on button and a mute all/unmute all button on the left side of the startbutton. great for listening to music while playing.
Talk about it here
|
File Statistics |
User Rating: |
|
Downloads: |
10752 |
Views: |
26881 |
Favorites: |
1 |
Uploaded By: |
|
Last Modified: |
01-09-2005 12:55 AM by insomniac |
|
| |
|
03-13-2005, 12:11 AM
|
|
A Griffon
Server: Blackburrow
Forum posts: 555
File comments: 19
Uploads: 23
|
well? go on.. try the patch feature
Thanks for the fixes guys, I really think i was the insperation for the patch thingy. My stuff is always rough around the edges =/
|
|
|
03-04-2005, 01:43 AM
|
|
A Coastal Crab
Server: Antonia Bayle
Forum posts: 0
File comments: 2
Uploads: 0
|
I have made a few modifications as well. This is almost the same as Insom's modification, but I have fixed the volume values. All of the values for Music_volume and combat_music_volume should be in the range [0, 1.0]. So setting combat music volume like so:
combat_music_volume=75.0000
Will just set it to 100%.
The correct code would be:
combat_music_volume=0.7500
I have included the full modification below (with Insom's double command work around for the click issue). I prefer my music volume to be at 40%, with combat music at 50%. Feel free to change these values to your liking!
=====================================================
<?xml version="1.0" encoding="UTF-8"?>
<Page Activated="true" Location="853,353" MaximumSize="1024,1024" Name="StartButton" PackLocation="left,bottom" PackLocationProp="0853/0001,-415/0001" ScrollExtent="129,56" Size="129,56" UserMovable="true" alwaysonbottom="false" eq2usescomwndcontrols="true" savessettings="true">
<Button LocalText="Mute All" Location="16,29" Name="mute2on" OnPress="Master_Volume=0.00 Master_Volume=0.00 Parent.mute2off.visible=true visible=false" ScrollExtent="62,17" Size="62,17" Style="/ButtonStyles.single_pixel">Mute All</Button>
<Button LocalText="Music Off" Location="16,10" Name="mute1off" OnPress="Music_Volume=0.00 combat_music_volume=0.00 Music_Volume=0.00 combat_music_volume=0.00 Parent.mute1on.visible=true visible=false" ScrollExtent="63,15" Size="63,15" Style="/ButtonStyles.single_pixel">Music Off</Button>
<Button LocalText="Music On" Location="16,10" Name="mute1on" OnPress="Music_Volume=0.40 combat_music_volume=0.50 Music_Volume=0.40 combat_music_volume=0.50 Parent.mute1off.visible=true visible=false" ScrollExtent="63,15" Size="63,15" Style="/ButtonStyles.single_pixel" Visible="false">Music On</Button>
<Button LocalText="Unmute All" Location="5,29" Name="mute2off" OnPress="Master_Volume=1.00 Master_Volume=1.00 Parent.mute2on.visible=true visible=false" ScrollExtent="73,17" Size="73,17" Style="/ButtonStyles.single_pixel" Visible="false">Unmute All</Button>
<Button Location="81,7" Name="Start" PackLocation="left,top" PackLocationProp="0081/0001,0007/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="42,41" Size="42,41" Style="StartButtonStyle"></Button>
<ButtonStyle DisabledTextColor="#A0A0A0" MouseOverTextColor="#FFFF80" Name="StartButtonStyle" NormalTextColor="#F0D080" NormalTextStyle="/Fonts.FontArial14" RStyleActivated="StartButton.RStylePressed" RStyleDefault="StartButton.RStyleNormal" RStyleDisabled="StartButton.RStyleNormal" RStyleMouseOver="StartButton.RStyleMouseover" RStyleMouseOverSelected="StartButton.RStylePressed" RStyleSelected="StartButton.RStylePressed"></ButtonStyle>
<Namespace Name="StartButton">
<RectangleStyle Center="normal" CenterStretchH="false" CenterStretchV="false" EastStretch="false" Name="RStyleNormal" NorthStretch="false" SouthStretch="false" WestShrink="true"></RectangleStyle>
<RectangleStyle Center="pressed" CenterStretchH="false" CenterStretchV="false" EastStretch="false" Name="RStylePressed" NorthStretch="false" SouthStretch="false" WestShrink="true"></RectangleStyle>
<RectangleStyle Center="mouseover" CenterStretchH="false" CenterStretchV="false" EastStretch="false" Name="RStyleMouseover" NorthStretch="false" SouthStretch="false" WestShrink="true"></RectangleStyle>
<ImageStyle Filter="true" Name="mouseover">
<ImageFrame Name="image" Source="images/mugshots_female.dds" SourceRect="442,53,484,95"></ImageFrame>
</ImageStyle>
<ImageStyle Filter="true" Name="pressed">
<ImageFrame Name="image" Source="images/mugshots_female.dds" SourceRect="442,102,484,144"></ImageFrame>
</ImageStyle>
<ImageStyle Filter="true" Name="normal">
<ImageFrame Name="image" Source="images/mugshots_female.dds" SourceRect="442,4,484,46"></ImageFrame>
</ImageStyle>
</Namespace>
<Page AbsorbsInput="false" Name="ButtonImages" ScrollExtent="320,240" Size="320,240" Visible="false"></Page>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="WC_Frame" PackLocation="top,left" PackLocationProp="0000/0001,0000/0001" PackSize="absolute,absolute" PackSizeProp="-004/0001,0000/0001" RStyleDefault="/FrameStyles.win_gold_plain" ScrollExtent="133,56" Size="133,56"></Page>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="2,1" Name="WC_Backdrop" PackLocation="top,left" PackLocationProp="0002/0001,0001/0001" PackSize="absolute,absolute" PackSizeProp="0005/0001,0005/0001" ScrollExtent="124,51" Size="124,51"></Page>
</Page>
|
|
|
03-04-2005, 01:27 AM
|
|
A Coastal Crab
Server: Antonia Bayle
Forum posts: 0
File comments: 2
Uploads: 0
|
Quote:
Originally posted by Kosmos
Insom,
I made the following modification the file to make the buttons work the 'first' time they are clicked.
It might be cheating, but I just repeted the commands.
It works like a charm let me know what you think.
|
It seems to work quite well! I have edited mine similarly (with different values to return the music and combat volume to). Great job!
|
|
|
02-17-2005, 12:45 PM
|
|
A Griffon
Server: Lucan DLere
Forum posts: 581
File comments: 24
Uploads: 6
|
Insom,
I made the following modification the file to make the buttons work the 'first' time they are clicked.
It might be cheating, but I just repeted the commands.
It works like a charm let me know what you think.
<?xml version="1.0" encoding="utf-8"?>
<Page Activated="true" alwaysonbottom="false" eq2usescomwndcontrols="true" Location="853,353" MaximumSize="1024,1024" Name="StartButton" PackLocation="left,bottom" PackLocationProp="0853/0001,-415/0001" savessettings="true" ScrollExtent="129,81" Size="129,81" UserMovable="true">
<Button LocalText="Mute" Location="8,12" Name="mute2on" OnPress="Master_Volume=0.000000 Master_Volume=0.000000 Parent.mute2off.visible=true visible=false" ScrollExtent="60,15" Size="60,15" Style="/ButtonStyles.single_pixel">Mute</Button>
<Button LocalText="MusicOFF" Location="8,32" Name="mute1off" OnPress="Music_Volume=0.0000000 combat_music_volume=00.0000000 Music_Volume=0.0000000 combat_music_volume=00.0000000 Parent.mute1on.visible=true visible=false" ScrollExtent="60,15" Size="60,15" Style="/ButtonStyles.single_pixel">MusicOFF</Button>
<Button LocalText="MusicON" Location="8,32" Name="mute1on" OnPress="Music_Volume=1.000000 combat_music_volume=75.000000 Music_Volume=1.000000 combat_music_volume=75.000000 Parent.mute1off.visible=true visible=false" ScrollExtent="60,15" Size="60,15" Style="/ButtonStyles.single_pixel" Visible="false">MusicON</Button>
<Button LocalText="Un-Mute" Location="8,12" Name="mute2off" OnPress="Master_Volume=1.000000 Master_Volume=1.000000 Parent.mute2on.visible=true visible=false" ScrollExtent="60,15" Size="60,15" Style="/ButtonStyles.single_pixel" Visible="false">Un-Mute</Button>
<Button Location="77,7" Name="Start" PackLocation="left,top" PackLocationProp="0077/0001,0007/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="41,41" Size="41,41" Style="StartButtonStyle"></Button>
<ButtonStyle DisabledTextColor="#A0A0A0" MouseOverTextColor="#FFFF80" Name="StartButtonStyle" NormalTextColor="#F0D080" NormalTextStyle="/Fonts.FontArial14" RStyleActivated="StartButton.RStylePressed" RStyleDefault="StartButton.RStyleNormal" RStyleDisabled="StartButton.RStyleNormal" RStyleMouseOver="StartButton.RStyleMouseover" RStyleMouseOverSelected="StartButton.RStylePressed" RStyleSelected="StartButton.RStylePressed"></ButtonStyle>
<Namespace Name="StartButton">
<RectangleStyle Center="normal" CenterStretchH="false" CenterStretchV="false" EastStretch="false" Name="RStyleNormal" NorthStretch="false" SouthStretch="false" WestShrink="true"></RectangleStyle>
<RectangleStyle Center="pressed" CenterStretchH="false" CenterStretchV="false" EastStretch="false" Name="RStylePressed" NorthStretch="false" SouthStretch="false" WestShrink="true"></RectangleStyle>
<RectangleStyle Center="mouseover" CenterStretchH="false" CenterStretchV="false" EastStretch="false" Name="RStyleMouseover" NorthStretch="false" SouthStretch="false" WestShrink="true"></RectangleStyle>
<ImageStyle Filter="true" Name="mouseover">
<ImageFrame Name="image" Source="images/mugshots_female.dds" SourceRect="442,53,484,95"></ImageFrame>
</ImageStyle>
<ImageStyle Filter="true" Name="pressed">
<ImageFrame Name="image" Source="images/mugshots_female.dds" SourceRect="442,102,484,144"></ImageFrame>
</ImageStyle>
<ImageStyle Filter="true" Name="normal">
<ImageFrame Name="image" Source="images/mugshots_female.dds" SourceRect="442,4,484,46"></ImageFrame>
</ImageStyle>
</Namespace>
<Page AbsorbsInput="false" Name="ButtonImages" ScrollExtent="320,240" Size="320,240" Visible="false"></Page>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="WC_Frame" PackLocation="top,left" PackLocationProp="0000/0001,0000/0001" PackSize="absolute,absolute" PackSizeProp="-004/0001,0000/0001" RStyleDefault="/FrameStyles.win_gold_plain" ScrollExtent="133,81" Size="133,81"></Page>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="2,1" Name="WC_Backdrop" PackLocation="top,left" PackLocationProp="0002/0001,0001/0001" PackSize="absolute,absolute" PackSizeProp="0005/0001,0005/0001" ScrollExtent="124,76" Size="124,76"></Page>
</Page>
Last edited by Kosmos : 02-17-2005 at 12:47 PM.
|
|
|
01-31-2005, 11:37 AM
|
|
A Coastal Crab
Server: Antonia Bayle
Forum posts: 0
File comments: 4
Uploads: 0
|
Wow!
This is one of those things that you wish they had have included in the game from the get-go. Since they didn't, it's also one of those things that makes you glad that there are mod folks out there who take the time to do it.
Thanks! This is much appreciated!!!
|
|
|
01-21-2005, 11:55 PM
|
|
A Young Mystail Rat
Server: Antonia Bayle
Forum posts: 2
File comments: 2
Uploads: 0
|
Shweet
This mod rules, thanks
|
|
|
01-09-2005, 12:56 AM
|
|
Bacon Eater
Forum posts: 2452
File comments: 15
Uploads: 24
|
Very nice mod. Many times I turn on my own music and have to fumble through the options to mute the game sound.
|
|
|
All times are GMT -5. The time now is 10:07 PM.
|
|