func_screenmovie
A brush model that plays back a video (AVI) file without sound on its surface.
Spawnflags
| SF_SCREENMOVIE_START_ON | 1 (initially turned on) |
| SF_SCREENMOVIE_PASSABLE | 2 (intangible) |
| SF_SCREENMOVIE_LOOPED | 4 (the video is looped) |
| SF_SCREENMOVIE_MONOCRHOME | 8 (black-and-white movie) |
Option
| movie | Path to the AVI file in the media folder. |
Usage Details
- The brush side where the “movie” is played back must be assigned a texture whose name starts with movie.
- The AVI file can have an arbitrary duration, but make sure it uses no rare codecs that are avaialble only on your system.
- Activation with the < prefix (without a parameter) pauses playback. A subsequent activation resumes it. Activation with the < prefix and a parameter instantly skips to the specified frame. The parameter stands for the number of frames from the start of the video file.
- Activation with the > prefix rewinds to the beginning.
- Regular activation with the + and - prefixes either disables the screen and stops playback or enables them again.