Point clientui world movie panel: Difference between revisions
Jump to navigation
Jump to search
Note:As opposed to text-files, video-files are not compiled as part of the map build, rather they are played directly from the source. Due to this, movies should be saved in the directory 
Bjornkrage (talk | contribs) No edit summary |
Le Glaconus (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
In mods/custom maps, all files used in panorama must be placed in the following folder structure: | In mods/custom maps, all files used in panorama must be placed in the following folder structure: | ||
<br> | <br> | ||
{{path|Half-Life Alyx/game/hlvr_addons/<mod name>/panorama/videos/<name of file>|webm}} | |||
<br> | <br> | ||
{{note|As opposed to text-files, video-files are not compiled as part of the map build, rather they are played directly from the source. Due to this, movies should be saved in the directory {{path|Half-Life Alyx/game}}-folder, rather than the {{path|Half-Life Alyx/content}}-folder, which contains uncompiled files.}} | |||
<br> | <br> | ||
From here on out, files can then be accessed in the object by referring to | From here on out, files can then be accessed in the object by referring to {{path|file://{resources}/layout/custom_game/<name of file>|webm}} as the "Source Movie"-variable | ||
<br> | <br> | ||
'''NOTE:''' filenames must all be in lowercase, as uppercase letters will not be recognized by the object | '''NOTE:''' filenames must all be in lowercase, as uppercase letters will not be recognized by the object | ||
<br> | <br> | ||
<br> | <br> | ||
Only .webm | Only [[WEBM|.webm]] files are recognized. There may also be additional requirements for specific encoders and codecs used to encode video. | ||
{{todo|Further specify video requirements}} | {{todo|Further specify video requirements}} |
Latest revision as of 04:25, 20 June 2025
point_clientui_world_panel
is a point entity available in Half-Life: Alyx.
Entity description
Creates a Panorama-type panel that can be used to display videos in-game
Notes
In mods/custom maps, all files used in panorama must be placed in the following folder structure:
Half-Life Alyx/game/hlvr_addons/<mod name>/panorama/videos/<name of file>.webm


Half-Life Alyx/game
-folder, rather than the 
Half-Life Alyx/content
-folder, which contains uncompiled files.
From here on out, files can then be accessed in the object by referring to file://{resources}/layout/custom_game/<name of file>.webm
as the "Source Movie"-variable
NOTE: filenames must all be in lowercase, as uppercase letters will not be recognized by the object
Only .webm files are recognized. There may also be additional requirements for specific encoders and codecs used to encode video.
Todo: Further specify video requirements