Wecoc
Pinball Wizard
- Joined
- Dec 7, 2021
- Messages
- 66
- Reaction score
- 105
- Points
- 40
- Favorite Pinball Machine
- Cirqus Voltaire
As mentioned here, Visible Cab Parts doesn't always work.
I tested how it works, and it's pretty much like the code for segmented displays.
So here would be some examples of usage:
So far, so good.
Here are the problems I could find:
- It only works well if the machine type is "SolidState". As far as I understand, it works by switching models to an empty version, so on other machine types which use other models (for example the CoinBox in ElectroMech) it doesn't remove them.
- The table glass is not included. If you want to remove those models, probably it's because you want a completely custom cabinet, so I believe the ability to remove the glass would also be useful, either by expanding the list (&H0200) or with an extra parameter.
- The plunger case is not included. This one is not that bad since you could use a "fake Plunger", but it would make things easier.
I tested how it works, and it's pretty much like the code for segmented displays.
Code:
&H0000 (0) = None
&H0001 (1) = Coinbox
&H0002 (2) = Flipper buttons
&H0004 (4) = Legs
&H0008 (8) = Front Rail
&H0010 (16) = Left Rail
&H0020 (32) = Right Rail
&H0040 (64) = Cabinet & Backglass Wood Frame
&H0080 (128) = Backglass Box
&H0100 (256) = Cabinet Box
So here would be some examples of usage:
Code:
xBAM.VisibleCabParts = &H0000 ' Hide everything
xBAM.VisibleCabParts = &H0008 Or &H0010 Or &H0020 ' (&H0038) Show front, left and right rails, hide everything else
So far, so good.
Here are the problems I could find:
- It only works well if the machine type is "SolidState". As far as I understand, it works by switching models to an empty version, so on other machine types which use other models (for example the CoinBox in ElectroMech) it doesn't remove them.
- The table glass is not included. If you want to remove those models, probably it's because you want a completely custom cabinet, so I believe the ability to remove the glass would also be useful, either by expanding the list (&H0200) or with an extra parameter.
- The plunger case is not included. This one is not that bad since you could use a "fake Plunger", but it would make things easier.