Difference between revisions of "Development:VR support"
From PCGamingWiki, the wiki about fixing PC games
(Blanked the page) Tag: Blanking |
(VR only vardefine for test) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <includeonly>{{#switch:{{#var:section}} | ||
+ | |Audio | ||
+ | |Localizations/done | ||
+ | |Network/Multiplayer | ||
+ | |Network/Connections | ||
+ | |Network/Ports={{#vardefine:section|VR support}} | ||
+ | |#Default = [[Category:Invalid section order]] | ||
+ | }}{{#if: {{{htc vive|}}}{{{oculus rift|}}}{{{osvr|}}}{{{windows mixed reality|}}} |{{#switch:{{lc:{{{vr only}}}}} | ||
+ | |true = {{ii}} This game requires a virtual reality headset.<span> | ||
+ | </span>{{#vardefine:Warnings|{{#if:{{#var:Warnings}}|{{#var:Warnings}},VR only|VR only}}}}{{#vardefine:VR only|true}} | ||
+ | |false = | ||
+ | |unknown = {{#vardefine:tickcross unknown|{{#expr:{{#var:tickcross unknown}}+1}}}} | ||
+ | |#Default = {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (VR support)]] }} | ||
+ | }} | ||
+ | }}<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-settings-vr"> | ||
+ | {{#if: {{{native 3d|}}}{{{nvidia 3d vision|}}}{{{tridef 3d|}}}{{{iz3d|}}}{{{vorpx|}}} | | ||
+ | {{#ifeq: {{{native 3d|}}}{{{nvidia 3d vision|}}}{{{tridef 3d|}}}{{{iz3d|}}}{{{vorpx|}}} | unknownunknownunknownunknownunknown | | | ||
+ | <tr class="template-infotable-head table-settings-vr-head-row"> | ||
+ | <th scope="col" style="width: 230px;" class="table-settings-vr-head-parameter">3D modes</th> | ||
+ | <th scope="col" style="width: 50px;" class="table-settings-vr-head-rating">Native</th> | ||
+ | {{#if: {{{gg3d name|}}}|<th scope="col" style="width: 50px;" class="table-settings-vr-head-rating-GG3D">GG3D</th> | ||
+ | <th scope="col" style="width: 490px;" class="table-settings-vr-head-notes">Notes</th>| | ||
+ | <th scope="col" style="width: 540px;" class="table-settings-vr-head-notes">Notes</th>}} | ||
+ | </tr> | ||
+ | |||
+ | <!-- Native 3D support --> | ||
+ | {{#if: {{{native 3d|}}} | | ||
+ | {{#ifeq: {{lc:{{{native 3d|}}}}} | unknown || | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:Native 3D|Native 3D]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{native 3d|}}}||{{{native 3d notes|}}}}} | ||
+ | {{#if:{{{gg3d name|}}}|<td class="table-settings-vr-body-rating-GG3D">{{GG3D|{{{native 3d gg3d award|}}}|{{{gg3d name|}}}|Native 3D GG3D award}}</td>}} | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{native 3d notes|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | <!-- Nvidia 3D Vision support --> | ||
+ | {{#if: {{{nvidia 3d vision|}}} | | ||
+ | {{#ifeq: {{lc:{{{nvidia 3d vision|}}}}} | unknown || | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:Nvidia 3D Vision|Nvidia 3D Vision]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{nvidia 3d vision|}}}||{{{nvidia 3d vision notes|}}}}} | ||
+ | {{#if:{{{gg3d name|}}}|<td class="table-settings-vr-body-rating-GG3D">{{GG3D|{{{nvidia 3d vision gg3d award|}}}|{{{gg3d name|}}}|Nvidia 3D Vision GG3D award}}</td>}} | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{nvidia 3d vision notes|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | <!-- TriDef 3D support --> | ||
+ | {{#if: {{{tridef 3d|}}} | | ||
+ | {{#ifeq: {{lc:{{{tridef 3d|}}}}} | unknown || | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:TriDef 3D|TriDef 3D]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{tridef 3d|}}}||{{{tridef 3d notes|}}}}} | ||
+ | {{#if:{{{gg3d name|}}}|<td class="table-settings-vr-body-rating-GG3D">{{GG3D|{{{tridef 3d gg3d award|}}}|{{{gg3d name|}}}|TriDef 3D GG3D award}}</td>}} | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{tridef 3d notes|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | <!-- iZ3D support --> | ||
+ | {{#if: {{{iz3d|}}} | | ||
+ | {{#ifeq: {{lc:{{{iz3d|}}}}} | unknown || | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:iz3D|iZ3D]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{iz3d|}}}||{{{iz3d notes|}}}}} | ||
+ | {{#if:{{{gg3d name|}}}|<td class="table-settings-vr-body-rating-GG3D">{{GG3D|{{{iz3d gg3d award|}}}|{{{gg3d name|}}}|iZ3D GG3D award}}</td>}} | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{iz3d notes|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | <!-- vorpX support --> | ||
+ | {{#if: {{{vorpx|}}} | | ||
+ | {{#ifeq: {{lc:{{{vorpx|}}}}} | unknown || | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:vorpX|vorpX]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{vorpx|}}}||{{{vorpx notes|}}}}} | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{#if:{{{vorpx modes|}}}|{{#arraymap:{{{vorpx modes|}}}|,|x|x}}{{#if:{{{vorpx notes|}}}|<br>}}}}{{{vorpx notes|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | }} | ||
+ | }}<!-- | ||
+ | |||
+ | -->{{#if: {{{htc vive|}}}{{{oculus rift|}}}{{{osvr|}}}{{{windows mixed reality|}}} |{{#ifeq: {{NAMESPACE}} | | [[Category:VR games]] }} | ||
+ | <tr class="template-infotable-secondhead table-settings-vr-head-row"> | ||
+ | <th scope="col" style="width: 230px;" class="table-settings-vr-head-parameter">Headsets</th> | ||
+ | <th scope="col" style="width: 50px;" class="table-settings-vr-head-rating">Native</th> | ||
+ | <th scope="col" style="width: 540px;" class="table-settings-vr-head-notes" colspan="2">Notes</th> | ||
+ | </tr> | ||
+ | <!-- HTC Vive support --> | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:HTC Vive|HTC Vive]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{htc vive|}}}||{{{htc vive notes|}}}}}</td> | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{#if:{{{htc vive notes|}}}|{{{htc vive notes|}}}|{{#ifeq:{{{htc vive}}}|true||{{VR support/switch|{{{oculus rift}}}}}}}}}</td> | ||
+ | </tr> | ||
+ | |||
+ | <!-- Oculus Rift support --> | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:Oculus Rift|Oculus Rift]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{oculus rift|}}}||{{{oculus rift notes|}}}}}</td> | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{oculus rift notes|}}}</td> | ||
+ | </tr> | ||
+ | |||
+ | <!-- OSVR support --> | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:OSVR|<abbr title="Open Source Virtual Reality">OSVR</abbr>]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{osvr|}}}||{{{osvr notes|}}}}}</td> | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{osvr notes|}}}</td> | ||
+ | </tr> | ||
+ | |||
+ | <!-- Windows Mixed Reality support --> | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:Windows Mixed Reality|Windows Mixed Reality]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{windows mixed reality|}}}||{{{windows mixed reality notes|}}}}}</td> | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{#if:{{{windows mixed reality notes|}}}|{{{windows mixed reality notes|}}}|{{#ifeq:{{{windows mixed reality}}}|true||{{VR support/switch|{{{oculus rift}}}}}}}}}</td> | ||
+ | </tr> | ||
+ | |||
+ | }}<!-- | ||
+ | |||
+ | -->{{#if: {{{htc vive|}}}{{{oculus rift|}}}{{{osvr|}}}{{{windows mixed reality|}}}{{{3rd space gaming vest|}}}{{{novint falcon|}}}{{{trackir|}}}{{{tobii eye tracking|}}} | | ||
+ | <tr class="template-infotable-secondhead table-settings-vr-head-row"> | ||
+ | <th scope="col" style="width: 230px;" class="table-settings-vr-head-parameter">Devices</th> | ||
+ | <th scope="col" style="width: 50px;" class="table-settings-vr-head-rating">Native</th> | ||
+ | <th scope="col" style="width: 540px;" class="table-settings-vr-head-notes" colspan="2">Notes</th> | ||
+ | </tr> | ||
+ | |||
+ | {{#if: {{{htc vive|}}}{{{oculus rift|}}}{{{osvr|}}}{{{windows mixed reality|}}} | | ||
+ | <!-- tracked motion controllers --> | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:Tracked motion controllers|Tracked motion controllers]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{#var:tracked motion controllers|unknown}}||unnecessary}}</td> | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{#var:tracked motion controllers notes|}} {{#switch:{{#var:tracked motion controllers}} | ||
+ | |true | ||
+ | |hackable = {{#if: {{#var:tracked motion controllers notes|}} | <br> }} ''See [[#Input settings|Input]] for details.'' | ||
+ | |#default = | ||
+ | }}</td> | ||
+ | </tr> | ||
+ | |||
+ | <!-- controller support --> | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:Controller|Traditional controller]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{VR support/pad|{{#var:controller support level}}|{{#var:tracked motion controllers}}|{{{keyboard-mouse|}}}}}</td> | ||
+ | </tr> | ||
+ | |||
+ | <!-- keyboard/mouse --> | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:Mouse|Keyboard/Mouse]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{keyboard-mouse|}}}||{{{keyboard-mouse notes|}}}}}</td> | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{keyboard-mouse notes|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | <!-- 3RD Space Gaming Vest --> | ||
+ | {{#if: {{{3rd space gaming vest|}}} | | ||
+ | {{#ifeq: {{{3rd space gaming vest|}}} | false | | | ||
+ | {{#ifeq: {{{3rd space gaming vest|}}} | unknown | | | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:3RD Space Gaming Vest|3RD Space Gaming Vest]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{3rd space gaming vest|}}}||{{{3rd space gaming vest notes|}}}}}</td> | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{3rd space gaming vest notes|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | <!-- Novint Falcon --> | ||
+ | {{#if: {{{novint falcon|}}} | | ||
+ | {{#ifeq: {{{novint falcon|}}} | false | | | ||
+ | {{#ifeq: {{{novint falcon|}}} | unknown | | | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Controller:Novint Falcon|Novint Falcon]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{novint falcon|}}}||{{{novint falcon notes|}}}}}</td> | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{novint falcon notes|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | <!-- TrackIR --> | ||
+ | {{#if: {{{trackir|}}} | | ||
+ | {{#ifeq: {{{trackir|}}} | false | | | ||
+ | {{#ifeq: {{{trackir|}}} | unknown | | | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Controller:TrackIR|TrackIR]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{trackir|}}}||{{{trackir notes|}}}}}</td> | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{trackir notes|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | |||
+ | <!-- Tobii Eye Tracking --> | ||
+ | {{#if: {{{tobii eye tracking|}}} | | ||
+ | {{#ifeq: {{{tobii eye tracking|}}} | false | | | ||
+ | {{#ifeq: {{{tobii eye tracking|}}} | unknown | | | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Controller:Tobii Eye Tracking|Tobii Eye Tracking]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{tobii eye tracking|}}}||{{{tobii eye tracking notes|}}}}}</td> | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{tobii eye tracking notes|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{#if: {{{htc vive|}}}{{{oculus rift|}}}{{{osvr|}}}{{{windows mixed reality|}}} | | ||
+ | {{#if: {{{play area seated|}}}{{{play area standing|}}}{{{play area room-scale|}}} | | ||
+ | <tr class="template-infotable-secondhead table-settings-vr-head-row"> | ||
+ | <th scope="col" style="width: 230px;" class="table-settings-vr-head-parameter">Play area</th> | ||
+ | <th scope="col" style="width: 50px;" class="table-settings-vr-head-rating">Native</th> | ||
+ | <th scope="col" style="width: 540px;" class="table-settings-vr-head-notes" colspan="2">Notes</th> | ||
+ | </tr> | ||
+ | <!-- Seated --> | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:VR play area|Seated]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{play area seated|}}}||{{{play area seated notes|}}}}}</td> | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{play area seated notes|}}}</td> | ||
+ | </tr> | ||
+ | |||
+ | <!-- Standing --> | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:VR play area|Standing]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{play area standing|}}}||{{{play area standing notes|}}}}}</td> | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{play area standing notes|}}}</td> | ||
+ | </tr> | ||
+ | |||
+ | <!-- Room-Scale --> | ||
+ | <tr class="template-infotable-body table-settings-vr-body-row"> | ||
+ | <th scope="row" class="table-settings-vr-body-parameter">[[Glossary:VR play area|Room-scale]]</th> | ||
+ | <td class="table-settings-vr-body-rating">{{Tickcross|{{{play area room-scale|}}}||{{{play area room-scale notes|}}}}}</td> | ||
+ | <td colspan="2" class="table-settings-vr-body-notes">{{{play area room-scale notes|}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | }}<!-- Hidden property | ||
+ | -->{{#if: {{{tracked motion controllers|}}} | [[Category:Invalid template usage (VR support)]] }}<!-- | ||
+ | -->{{#if:{{#var:screenshots}}|{{#vardefine:VR support screenshots|true}}{{#vardefine:screenshots|}}}}<!-- | ||
+ | -->{{#vardefine:VR support|true}}<!-- | ||
+ | --></table></div></includeonly><noinclude>{{#cargo_declare: | ||
+ | _table=VR_support | ||
+ | |Native_3D=String | ||
+ | |Nvidia_3D_Vision=String | ||
+ | |vorpX=String | ||
+ | |vorpX_modes=List (,) of String | ||
+ | |VR_only=String | ||
+ | |HTC_Vive=String | ||
+ | |Oculus_Rift=String | ||
+ | |OSVR=String | ||
+ | |Windows_Mixed_Reality=String | ||
+ | |Keyboard_mouse=String | ||
+ | |3RD_Space_Gaming_Vest=String | ||
+ | |Novint_Falcon=String | ||
+ | |TrackIR=String | ||
+ | |Tobii_Eye_Tracking=String | ||
+ | |Play_area_seated=String | ||
+ | |Play_area_standing=String | ||
+ | |Play_area_room_scale=String | ||
+ | }}</noinclude><includeonly>{{#if:{{#var:Game}}|{{#cargo_store: | ||
+ | _table=VR_support | ||
+ | |Native_3D={{{native 3d|}}} | ||
+ | |Nvidia_3D_Vision={{{nvidia 3d vision|}}} | ||
+ | |vorpX={{{vorpx|}}} | ||
+ | |vorpX_modes={{{vorpx modes|}}} | ||
+ | |VR_only={{{vr only|}}} | ||
+ | |HTC_Vive={{{htc vive|}}} | ||
+ | |Oculus_Rift={{{oculus rift|}}} | ||
+ | |OSVR={{{osvr|}}} | ||
+ | |Windows_Mixed_Reality={{{windows mixed reality|}}} | ||
+ | |Keyboard_mouse={{{keyboard-mouse|}}} | ||
+ | |3RD_Space_Gaming_Vest={{{3rd space gaming vest|}}} | ||
+ | |Novint_Falcon={{{novint falcon|}}} | ||
+ | |TrackIR={{{trackir|}}} | ||
+ | |Tobii_Eye_Tracking={{{tobii eye tracking|}}} | ||
+ | |Play_area_seated={{{play area seated|}}} | ||
+ | |Play_area_standing={{{play area standing|}}} | ||
+ | |Play_area_room_scale={{{play area room-scale|}}} | ||
+ | }}|}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 03:21, 11 November 2021
Error: #cargo_declare must be called from a template page.
Documentation for the above template (sometimes hidden from view).
Visit Development:VR support/Documentation to edit this text. (How does this work?)