Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Development:VR support"

From PCGamingWiki, the wiki about fixing PC games
(test removing SMW)
(VR only vardefine for test)
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|#Default = [[Category:Invalid section order]]
 
|#Default = [[Category:Invalid section order]]
 
}}{{#if: {{{htc vive|}}}{{{oculus rift|}}}{{{osvr|}}}{{{windows mixed reality|}}} |{{#switch:{{lc:{{{vr only}}}}}
 
}}{{#if: {{{htc vive|}}}{{{oculus rift|}}}{{{osvr|}}}{{{windows mixed reality|}}} |{{#switch:{{lc:{{{vr only}}}}}
|true = {{ii}} This game requires a virtual reality headset.
+
|true = {{ii}} This game requires a virtual reality headset.<span>
  
{{#vardefine:Warnings|true}}
+
</span>{{#vardefine:Warnings|{{#if:{{#var:Warnings}}|{{#var:Warnings}},VR only|VR only}}}}{{#vardefine:VR only|true}}
 
|false =  
 
|false =  
 
|unknown = {{#vardefine:tickcross unknown|{{#expr:{{#var:tickcross unknown}}+1}}}}
 
|unknown = {{#vardefine:tickcross unknown|{{#expr:{{#var:tickcross unknown}}+1}}}}
Line 54: Line 54:
 
<tr class="template-infotable-body table-settings-vr-body-row">
 
<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>
 
<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|{{{tridef 3d notes|}}}}}
+
<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>}}
 
{{#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>
 
<td colspan="2" class="table-settings-vr-body-notes">{{{tridef 3d notes|}}}</td>
Line 66: Line 66:
 
<tr class="template-infotable-body table-settings-vr-body-row">
 
<tr class="template-infotable-body table-settings-vr-body-row">
 
<th scope="row" class="table-settings-vr-body-parameter">[[Glossary:iz3D|iZ3D]]</th>
 
<th scope="row" class="table-settings-vr-body-parameter">[[Glossary:iz3D|iZ3D]]</th>
<td class="table-settings-vr-body-rating">{{Tickcross|{{{iz3d|}}}|iZ3D|{{{iz3d notes|}}}}}
+
<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>}}
 
{{#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>
 
<td colspan="2" class="table-settings-vr-body-notes">{{{iz3d notes|}}}</td>
Line 79: Line 79:
 
<th scope="row" class="table-settings-vr-body-parameter">[[Glossary:vorpX|vorpX]]</th>
 
<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 class="table-settings-vr-body-rating">{{Tickcross|{{{vorpx|}}}||{{{vorpx notes|}}}}}
<td colspan="2" class="table-settings-vr-body-notes">{{{vorpx modes|}}}{{#if:{{{vorpx modes|}}}|{{#if:{{{vorpx notes|}}}|<br>}}}}{{{vorpx notes|}}}</td>
+
<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>
 
</tr>
 
}}
 
}}
Line 263: Line 263:
 
|Native_3D={{{native 3d|}}}
 
|Native_3D={{{native 3d|}}}
 
|Nvidia_3D_Vision={{{nvidia 3d vision|}}}
 
|Nvidia_3D_Vision={{{nvidia 3d vision|}}}
|vorpX=String
+
|vorpX={{{vorpx|}}}
|vorpX_modes=List (,) of String
+
|vorpX_modes={{{vorpx modes|}}}
 
|VR_only={{{vr only|}}}
 
|VR_only={{{vr only|}}}
 
|HTC_Vive={{{htc vive|}}}
 
|HTC_Vive={{{htc vive|}}}

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).