point_clientui_world_panel
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 
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