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
#2
This module use g2ext?
[Image: 2_1.png]
Reply
#3
No, I just use IDA...
Reply
#4
Great, so maybe try your skills and do a sound module for Gothic sounds.
[Image: 2_1.png]
Reply
#5
Great Job. I think that your plugin gave more features for creators.
- Sequel RolePlay | Link
- GUI Editor | Link
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)