syd711 / vpin-studio

Competition, table, and player management for VPins.
MIT License
31 stars 2 forks source link

validator for disabled VR rooms #563

Open gorgatron1 opened 2 hours ago

gorgatron1 commented 2 hours ago

Is your feature request related to a problem? Please describe.

A lot of VR tables have hard-coded VR-ness and it is usually off:

const VR_Room = 0 ' usually some explanation

or

const VRRoom = 0 ' usually some explanation

It would be great if these could be detected and flagged. Users can edit the script with something like this:

Dim VR_Room
If RenderingMode = 2 Then
    VR_Room = 1
Else
    VR_Room = 0
End If

and that will make it switch the VR_Room on if in VR mode.

gorgatron1 commented 2 hours ago

another example:

dim VRRoom
VRRoom  = 0 ' 0 - VR Room off, 1 - Minimal VR Room