Button-activated .bik video?

Avatar
metroid101
79 Posts
Posted Aug 19, 2013
Okay, so I was thinking for my first chamber I was going to have the player walk over to a spot, press a button, and all of a sudden the reactor core explosion .bik video plays. (also starting dramatic music)

Is there a way to do this and have the video invisible until the player activates it? I also want to make it the size of the room and have the player able to walk through it like a hologram....

Advertisement
Registered users don’t see ads! Register now!
Avatar
Tmast98
210 Posts
Posted Aug 19, 2013
Replied 5 minutes later
Yes, there is!

So what you want to do is make a vgui_movie_display entity with the following properties:

Movie Filename: media/bluescreen.bik
Loop Movie:Yes
Stretch to Fill: Yes (Make sure based on your size it still looks nice)

Now change the height and width of the screen in the properties.

Next to trigger the movie on with a button, make the output:

Onpressed, screen name, enable.

To be on the safe side I would also add this output to the button as well:

Onpressed, !self, lock

Hope that helps you out!

Avatar
metroid101
79 Posts
Posted Aug 19, 2013
Replied 4 minutes later

Tmast98 wrote:
Yes, there is!

So what you want to do is make a vgui_movie_display entity with the following properties:

Movie Filename: media/bluescreen.bik
Loop Movie:Yes
Stretch to Fill: Yes (Make sure based on your size it still looks nice)

Now change the height and width of the screen in the properties.

Next to trigger the movie on with a button, make the output:

Onpressed, screen name, enable.

To be on the safe side I would also add this output to the button as well:

Onpressed, !self, lock

Hope that helps you out!

yes, this helps quite a lot :3

I wish there were demonstration videos for all the test elements.
it would be a lot easier than making those custom signs and whatnot...

Will the video itself be invisible until i activate it?

Avatar
Tmast98
210 Posts
Posted Aug 19, 2013
Replied 3 minutes later
Yes, it will start invisible :thumbup:
Avatar
Gemarakup
1,183 Posts
Posted Aug 19, 2013
Replied 8 minutes later

metroid101 wrote:
I wish there were demonstration videos for all the test elements.
it would be a lot easier than making those custom signs and whatnot...

I also, but you can't make tutorials for every single thing. You sometimes have to figure out by yourself.

Advertisement
Registered users don’t see ads! Register now!
Avatar
FelixGriffin
2,680 Posts
Posted Aug 19, 2013
Replied 7 hours later
I'm trying to learn AfterEffects so I can make videos like that, but until then you're stuck with ones like in the Shadows of Time.