Page 1 of 1

Playing movies in game!!

PostPosted: Sat Jul 07, 12 1:22 am
by DxPlayer

Do you guys know how to play animated cut scenes in game or if there is any documentation about it? I know it is possble after UT2k, but I do not know of any game written in the first Unreal Engine that uses this kind of media. This is for Deranged mod. What do you guys think?

By animations I mean video media, rendered outside the game engine.

PostPosted: Sat Jul 07, 12 7:33 am
by ~DJ~
Nerf Arena Blast.

That's the only Unreal Engine 1 game I think that plays videos.

The way it plays the videos is through this:

Obviously you'll have to purchase and incorporate these into your modification. The price is $8500 only.

--There is no other way... or maybe there is..

OTHER THAN THAT.. Veronika was working on a video player, I told her to keep me informed, but I haven't heard much about it.. I hope it's going good. You'll have to contact her though.

PostPosted: Sat Jul 07, 12 1:07 pm
by Cozmo
DeusExPlayer.ConsoleCommand("Open"); :lol:

On a more serious note, if you absolutely had to, I guess you technically could if you import a short video as animated textures, and have the canvas "play" those in order, along with sounds etc. Not sure if that would be more or less work than an in-game cutscene though.

PostPosted: Sat Jul 07, 12 1:28 pm
by Kalman11
What about using VLC player's source code somehow? It's opensource:

PostPosted: Sat Jul 07, 12 8:02 pm
by DxPlayer
I'm afraid the VLC Player code is too complex and BINK video is too expensive. I've been thinking in something that is similar to Cozmo's suggestions, I will have a look at how the game displays the menus textures at the screen and make some kind of very fast slide show, like 30 scenes (frames) per second synchronized with the audio, in the end it is the very basic principle of movie and cinema . I will try to contact Veronika too. :P

PostPosted: Sun Jul 08, 12 10:28 am
by Kalman11
I think that would be very big and can't use any size (only powers of two) ... ink-video/
Check this link too, I hope it helps :)

PostPosted: Sun Jul 08, 12 3:36 pm
by Poor
I'm not sure if Kalman's links would be useful. I'm not sure it's possible to embed a player into the game. If it is, then it's going to need some crazy native code hack. BINK only works because the Unreal Engine has support for it (though DX's version may not).

The slideshow thing would work but since every frame needs one picture (or more if you want a resolution greater than 256x256!) and there is no video compression, the overall size will be HUGE.

PostPosted: Sun Jul 08, 12 5:26 pm
by Kalman11
Only Unreal Engine 3 has BINK support by default. And I think it's possible only with native coding, but I've found DX library files and headers somewhere.