I figured out the previous question. Could you please tell me how to create a video on a custom map, not a built-in one? How do you create a map specifically for a video? Thank you in advance.
Next, we need two files: map.xdb and GroundTerrain.bin (+UndergroundTerrain.bin if you need an underground area) from the archive of the .h5m file of the created map. Extract them and put them in the archive with the map for which the video is being created.
All that remains is to enter the path to the map.xdb file in the Map field when creating the video. Or change this field in the video properties. For example, mine looks like this:
AdvMapDesc:DialogScenes\Scenes\StartScene\map