Videos

Videos can be usefull as intros or cutscenes. To play a video use the scriptcommand playvideo (name). When you start the video within a Cutscene it is important to use a wait command to stop the cutscene for the length of the video.

When you insert videofiles you need to remember that it uses codecs of the system the game is running on. That means you should use a codec that is present on most systems. MP4 with H.264 should do the trick. DivX or Xvid is out of date and not installed on many systems anymore.

Videofiles can only be played in fullscreen mode. If you want to implement a short and non-fullscreen video right into the game you can use the alternative Animations .