Please or Register to create posts and topics.

Button-activated .bik video?

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....

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!

This Signature is Beyond Your Range of Seeing.

Image
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?

Yes, it will start invisible :thumbup:

This Signature is Beyond Your Range of Seeing.

Image
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.

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.

Falsi sumus crusto!