SFM Videos in Portal 2 Maps

Avatar
Ace Ryder
45 Posts
Posted Dec 11, 2013
Hello TWP Community,
I was wondering if there was any way to insert a custom SFM video into a Portal 2 map. Kind of like the one at the end of Art Therapy. My sources say no on this one. But I was wondering if anyone has any ideas for an alternate route.
Thanks all
And Happy Holidays!
Advertisement
Registered users don’t see ads! Register now!
Avatar
FelixGriffin
2,680 Posts
Posted Dec 11, 2013
Replied 35 minutes later
Hello, Ace,

In fact, there is! You need to convert your final video to a BIK using the Rad Video Tools, then insert it into a map with the logic_playmovie entity.

Unfortunately, it is not possible to do this on the Workshop. You will need to distribute your map the old way.

Avatar
CamBen
973 Posts
Posted Dec 12, 2013
Replied 3 hours later
Alternatively, you can split your video into frames and use it as an animated texture that displays in front of a view control entity.
Avatar
Gemarakup
1,183 Posts
Posted Dec 12, 2013
Replied 10 minutes later
But what about audio?
Avatar
Arachnaphob
412 Posts
Posted Dec 12, 2013
Replied 31 minutes later
Extract the audio from the movie and make an ambient_generic.
Avatar
Ace Ryder
45 Posts
Posted Feb 02, 2014
Replied 1 month later
Thank you for all your ideas. However the video I have the intention of creating and adding is flexibly a minute long. And either it would go in a workshop map or not at all. I don't see how I could fit a minute's worth of video of 24 fps in an animated texture, or even in the map. :notwant:
Avatar
iWork925
1,080 Posts
Posted Feb 05, 2014
Replied 2 days later

Ace Ryder wrote:
...a minute long.

Distribute via http://youtube.com

We're here to play maps, not watch movies.

Avatar
Dafflewoctor
415 Posts
Posted Feb 05, 2014
Replied 6 hours later

iWork925 wrote:
Ace Ryder wrote:

...a minute long.

Distribute via http://youtube.com

We're here to play maps, not watch movies.

http://www.youtube.com/watch?v=qdpvj_iVAFk

Two minutes long. Did you get bored?

Avatar
laakkone
47 Posts
Posted Feb 05, 2014
Replied 1 hour later

Dr.Toaster Waffles wrote:
iWork925 wrote:

Distribute via http://youtube.com

We're here to play maps, not watch movies.

[Portal 2 ending video]

Two minutes long. Did you get bored?

:potd:

Avatar
Ace Ryder
45 Posts
Posted Feb 05, 2014
Replied 2 hours later
To be honest I'm not proposing this idea to entertain everybody. I'm proposing it because I want to try something that I have not seen thus far, and it works for the idea I have in mind. I don't know why you think I have a target audience. If it appeases you in any way, I was planning on giving the option to skip.
Avatar
FelixGriffin
2,680 Posts
Posted Feb 05, 2014
Replied 1 hour later
Logic_playmovie should automatically do that. A BIK is really the best choice for showing a video, unless you want to painstakingly rebuild your SFM setup in Hammer with tracktrains and func_rotatings.
Avatar
Ace Ryder
45 Posts
Posted Feb 05, 2014
Replied 54 minutes later
But, Felix, I was told logic_playmovie's can't be included in maps exported to the workshop...
Avatar
FelixGriffin
2,680 Posts
Posted Feb 05, 2014
Replied 2 hours later
No, they can't. But it's really your only option, other than using a script to pop up an overlay with a YouTube link.
Avatar
iWork925
1,080 Posts
Posted Feb 05, 2014
Replied 5 hours later

FelixGriffin wrote:
:blah: ...YouTube link.

:thumbup:

Avatar
FelixGriffin
2,680 Posts
Posted Feb 05, 2014
Replied 22 minutes later
If you really want to do it that way, I can explain it. But it won't look nearly as nice and will be limited to about 1/4 of the player's screen space (I have no idea what would happen if you used fullscreen mode on the video).
Avatar
Ace Ryder
45 Posts
Posted Feb 06, 2014
Replied 1 hour later
Ya, I'd really rather not do the youtube idea :razz: I'd either have to find some other way or abandon it completely
Avatar
iWork925
1,080 Posts
Posted Feb 06, 2014
Replied 1 hour later

Ace Ryder wrote:
abandon it completely

:potd:

Avatar
Ace Ryder
45 Posts
Posted Feb 06, 2014
Replied 1 hour later
Well as long as I have the approval of the great iWork925, then I suppose I can give up. :boring:
Avatar
Ace Ryder
45 Posts
Posted Feb 06, 2014
Replied 12 minutes later
Advertisement
Registered users don’t see ads! Register now!
Avatar
iWork925
1,080 Posts
Posted Feb 06, 2014
Replied 32 minutes later
1