UGX-Mods

Call of Duty: Black Ops 3 => Tutorial Desk => Scripting => Topic started by: treminaor on October 15, 2016, 08:14:45 pm

Title: [Tutorial] Buyable Ending (customizable)
Post by: treminaor on October 15, 2016, 08:14:45 pm
You can find the script on our wiki here: https://confluence.ugx-mods.com/display/UGXMODS/BO3+%7C+Adding+Buyable+Ending+to+Zombiemode
Title: Re: [Tutorial] Buyable Ending (customizable)
Post by: Megadeth9811 on October 16, 2016, 03:35:34 am
Is there any info on .bik video usage for bo3? If so, can they be triggered via this script?
Title: Re: [Tutorial] Buyable Ending (customizable)
Post by: treminaor on October 16, 2016, 05:09:47 am
Is there any info on .bik video usage for bo3? If so, can they be triggered via this script?
Yes, here's some info.

BO3 does not use Bik anymore, it uses MP4 video (specifically, MKV format).
You can set materials to play video files (look for lit_emissive_mp4_add in APE).
You can play video files in fullscreen using:

Code Snippet
Plaintext
level thread lui::play_movie( <filename_without_extension>, "fullscreen", true );

Video files must be placed in root/video currently.
Title: Re: [Tutorial] Buyable Ending (customizable)
Post by: Megadeth9811 on October 16, 2016, 07:52:12 am
Yes, here's some info.

BO3 does not use Bik anymore, it uses MP4 video (specifically, MKV format).
You can set materials to play video files (look for lit_emissive_mp4_add in APE).
You can play video files in fullscreen using:

Code Snippet
Plaintext
level thread lui::play_movie( <filename_without_extension>, "fullscreen", true );

Video files must be placed in root/video currently.

Excellent. Thanks.
Title: Re: [Tutorial] Buyable Ending (customizable)
Post by: ulraz_viper on October 18, 2016, 09:37:04 pm
doesn't work with this line of code even using one of the pre-videos... could you explain more about playing a video...