PlayBink

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

PlayBink opens a Bink video file.

Syntax

[help]
PlayBink fileName:string interruptable:bool(default=0) muteAudio:bool(default=1) pauseMusic:bool(default=1) letterboxed:bool(default=1)

Example

PlayBink "MyNew.bik"

(above example plays Fallout3\data\video\MyNew.bik)

Example

PlayBink "Mymod\MyNew.bik"

(above example plays Fallout3\data\video\Mymod\MyNew.bik)

Example

PlayBink "..\sound\videos\Mynew.bik"

(above example plays Fallout3\sound\videos\MyNew.bik)

Example

PlayBink "MyNew.bik" 0 1

(above example plays Fallout3\data\video\MyNew.bik, non-interruptable, with sounds muted)

Example

PlayBink "MyNew.bik" 1 1 1 1

(above example plays Fallout3\data\video\MyNew.bik, interruptable with ESC key, game sound muted, game music paused, and video in letterbox style)

Notes

  • Playing a video via the PlayBink command in any way appears to stop game time, even if the flags are set to keep ingame noises going.
  • The Bink files need to be on your harddisk, they can't be packaged into a BSA File.
  • The filename needs to be in quotes.
  • The path to the filename is relative to Fallout3\Data\Video\
  • If Interruptable is non-zero, the user can interrupt the Bink by hitting the escape key. Otherwise, they have to wait for it to play all the way to the end.
  • If Mute Audio is set to zero, the game's world sounds will continue to play during the Bink movie, otherwise they will be muted.
  • If Pause Music is set to zero, the game's music will continue to play while the movie is running, otherwise it will be paused.
  • If Letterboxed is set to zero, the bink will not be letterboxed if it is widescreen and is showing on a 4:3 screen.