Jump to content



Photo

Can't uncheck sounds


  • Please log in to reply
11 replies to this topic

#1 ryesteve

ryesteve

    Enthusiast

  • Members
  • PipPipPip
  • 167 posts

  • Flag: United States of America

  • Favorite Pinball: Attack From Mars

Posted 07 September 2021 - 08:57 PM

I just noticed that when trying to mute the rom in order to try out a pup pack, when I uncheck "use sounds" and then restart the table, the check box is getting re-checked by itself.  Am I missing something, or is this something the vpx table author is doing?



#2 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 07 September 2021 - 09:05 PM

I just noticed that when trying to mute the rom in order to try out a pup pack, when I uncheck "use sounds" and then restart the table, the check box is getting re-checked by itself.  Am I missing something, or is this something the vpx table author is doing?

the table maybe re-enables sounds on exit, which is is SUPPOSED to do if it is a PUP table

You may have to comment that out of Sub table1_exit for testing purposes


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#3 ryesteve

ryesteve

    Enthusiast

  • Members
  • PipPipPip
  • 167 posts

  • Flag: United States of America

  • Favorite Pinball: Attack From Mars

Posted 08 September 2021 - 01:18 AM

Two that I've seen do this are Elvis and Guns 'n Roses, and neither of those were built as PUP tables originally, right?



#4 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,795 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 08 September 2021 - 01:27 AM

Two that I've seen do this are Elvis and Guns 'n Roses, and neither of those were built as PUP tables originally, right?

Check the game for this line comment out

.Games(cGameName).Settings.Value("sound") = 1

Like this

'.Games(cGameName).Settings.Value("sound") = 1

 



#5 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 08 September 2021 - 02:03 AM

Two that I've seen do this are Elvis and Guns 'n Roses, and neither of those were built as PUP tables originally, right?

 

No, but like outthere showed you
some authors make sure their script turns the sound on
because other authors turn the sound off, and then forget to turn it back on in the table1_exit sub

 

For your usage

What you would want to do is, in the vpm init where you see with contoller

DO a line that reads

 

.Games(cGameName).Settings.Value("sound") = 0

 

 

and in the exit sub do like

Sub Table1_exit

Controller.Games(cGameName).Settings.Value("sound") = 1

 

then it turns it back on when the table closes
incase another table shares the rom and needs the sound

 


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#6 ryesteve

ryesteve

    Enthusiast

  • Members
  • PipPipPip
  • 167 posts

  • Flag: United States of America

  • Favorite Pinball: Attack From Mars

Posted 08 September 2021 - 02:07 AM

Thanks guys, this is very helpful; I'll take a look at the scripts when I'm back at the cab.



#7 Roadblock

Roadblock

    Enthusiast

  • Members
  • PipPipPip
  • 165 posts
  • Location:Moncton, NB

  • Flag: Canada

  • Favorite Pinball: Attack from Mars

Posted 07 April 2022 - 12:09 AM

Is it possible to use that command to turn on and off the alt sound mode?

Controller.Games(cGameName).Settings.Value("alt sound") = 1

 

and in the exit sub

 

Sub Table1_exit

Controller.Games(cGameName).Settings.Value("alt sound") = 0



#8 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,115 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 07 April 2022 - 12:38 AM

I do this exact thing in my NFL mods.

 

Use this command to turn the Altsound on..

 

         Controller.Games("nfl").Settings.Value("sound_mode") =1

 

and turn it off on table exit...

 

         Controller.Games("nfl").Settings.Value("sound_mode") =0


CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 

#9 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 07 April 2022 - 12:39 AM

Is it possible to use that command to turn on and off the alt sound mode?

Controller.Games(cGameName).Settings.Value("alt sound") = 1

 

and in the exit sub

 

Sub Table1_exit

Controller.Games(cGameName).Settings.Value("alt sound") = 0

 

No

 

Controller.Games(cGameName).Settings.Value("sound_mode") = X  (valid values for X are 0 to 3)


Edited by wiesshund, 07 April 2022 - 12:40 AM.

If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#10 Roadblock

Roadblock

    Enthusiast

  • Members
  • PipPipPip
  • 165 posts
  • Location:Moncton, NB

  • Flag: Canada

  • Favorite Pinball: Attack from Mars

Posted 07 April 2022 - 10:30 PM

Thanks guys. That's exactly what I was looking for. It works like a charm in the Mod table and doesn't affect the original table.

 

In the Sub Table1_Init I put

 

.Games(cGameName).Settings.Value("sound") = 0 'turn off rom sounds

.Games(cGameName).Settings.Value("sound_mode") =1 'turn on alt sound

 

and at the end of the script I put

 

Sub Table1_Exit()
    Controller.Games(cGameName).Settings.Value("sound") = 1 'turn rom sounds back on
    Controller.Games(cGameName).Settings.Value("sound_mode") = 0 'turn alt sound back off
    Controller.Stop
End Sub



#11 Roadblock

Roadblock

    Enthusiast

  • Members
  • PipPipPip
  • 165 posts
  • Location:Moncton, NB

  • Flag: Canada

  • Favorite Pinball: Attack from Mars

Posted 07 April 2022 - 11:48 PM

Uh oh! after further testing it looks like if you turn off the ROM sounds it also disables the Alt Sound Mode. So leave the ROM sound on.



#12 Dazza1973

Dazza1973

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: Australia

  • Favorite Pinball: Attack From Mars

Posted 19 September 2023 - 07:52 AM

Thanks to Weisshund

 

you helped me out with conflicts Between Elvis with PupPack that still needs the rom sounds that was conflicting with the Grease Table that does not need them at all.

 

Cheers

 

Dazza