Attract-Mode Support Forum
Attract-Mode Support => Themes => Topic started by: strontium on February 14, 2017, 10:43:06 PM
-
@Omegaman
Hi, first things first thanks for the great theme.
I'm using what I think is your latest version V4. There is one thing that I think would enhance this theme and that would be the ability to mute the sounds of videos being played on the screen of the cabinet.
The reason I say this is that I prefer to have video to show the gameplay of the game but the sounds can be a little much if you have the cabinet or display on and your flicking through etc..
I hope you don't mind this suggestion,
Thanks again,
Strontium
-
if you start to read the layout.txt located in the AM root folder
you will be amazed on what you will find. it has inspired me.
line #1396
* `video_flags` - [image & artwork only] Get/set video flags for this
object. These flags allow you to override Attract-Mode's default video
playback behaviour. Can be set to any combination of none or more of the
following (i.e. `Vid.NoAudio | Vid.NoLoop`):
- `Vid.Default`
- `Vid.ImagesOnly` (disable video playback, display images instead)
- `Vid.NoAudio` (silence the audio track)
- `Vid.NoAutoStart` (don't automatically start video playback)
- `Vid.NoLoop` (don't loop video playback)
local cab2 = fe.add_image ("images/forgottn.mp4", flx*0.340, fly*0.348, flw*0.180, flh*0.169);
cab2.video_flags = Vid.NoAudio
hope this help you.
-
Change the volume of the snaps in the sound options in the configuration menu.
-
Many thanks for the help guys I'll have a look at both the suggestions that you posted.