Thread Rating:
  • 3 Vote(s) - 2.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VideoPlayer
#1
Function:
Code:
int PlayVideo(string FileName, int ScreenBlend, int ExitSession);



Comments:
The file name will be searched in: Gothic II\_Work\Data\video
Video must have .bik format



Examples:
Code:
function onInit()
{
  PlayVideo("intro.bik", 1, 0);
}

Code:
function onCommand(cmd, params)
{
    switch (cmd)
    {        
     case "play":
        local scan = sscanf("s", params);
        if(scan)
        {
           PlayVideo(scan[0], 0,  0);
        }
        return 1;
    }
}



Download for Dev 8:
http://www.mediafire.com/file/v176ctqp62...Player.nud

Download for *.5:
http://www.mediafire.com/file/szxg62u6wq...Player.zip
Reply


Messages In This Thread
VideoPlayer - by Dharak - 11.10.2016, 22:28
RE: VideoPlayer - by Nubzior - 11.10.2016, 22:34
RE: VideoPlayer - by Dharak - 11.10.2016, 22:34
RE: VideoPlayer - by Nubzior - 12.10.2016, 00:08
RE: VideoPlayer - by Kladvey - 14.10.2016, 23:33

Forum Jump:


Users browsing this thread: 1 Guest(s)