Alien Swarm uses bik movies for the backgrounds in the menus and briefing, if you want to see some example code doing this.
The CASW_Background_Movie class in nb_header_footer.cpp maintains and updates the current bik material. CNB_Header_Footer::PaintBackground draws it. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Harry Jeffery Sent: Tuesday, July 20, 2010 6:18 AM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Playing bik files mid level Yes, that is whay I am going to do. Thanks. On 20 July 2010 01:09, Tony "omega" Sergi <[email protected]> wrote: > Again, I refer back to what I said in the first place. > Make a hud element that you can turn on and play a video on with surface() > calls. > make a bik handle, create a texture id for it, and paint that texture and > tell it to play. > it's really simple. > > > On Tue, Jul 20, 2010 at 5:18 AM, Harry Jeffery < > [email protected]> wrote: > >> I've tried AVI materials already, I was unable to make them work in >> the orangebox engine and others have been unsuccessful before me, see >> the discussion page of the wiki article. >> >> On 19 July 2010 20:17, Adam "amckern" McKern <[email protected]> wrote: >> > http://developer.valvesoftware.com/wiki/AVI_Materials >> > >> > -------- >> > Owner Nigredo Studios http://www.nigredostudios.com >> > >> > --- On Tue, 20/7/10, Jonas 'Sortie' Termansen <[email protected]> wrote: >> > >> > From: Jonas 'Sortie' Termansen <[email protected]> >> > Subject: Re: [hlcoders] Playing bik files mid level >> > To: "Discussion of Half-Life Programming" < >> [email protected]> >> > Received: Tuesday, 20 July, 2010, 2:12 AM >> > >> > You should find the vgui code that the bik system is based upon. It >> creates a panel with a special bik material. Though, bik support in the >> source engine is horribly hacked together, and has lots of limitations. >> > >> > Sent from my endlessly awesome Nokia N900, take that damn iPhone owners >> on this list! >> > _______________________________________________ >> > To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> > http://list.valvesoftware.com/mailman/listinfo/hlcoders >> > >> > >> > >> > >> > >> > _______________________________________________ >> > To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> > http://list.valvesoftware.com/mailman/listinfo/hlcoders >> > >> > >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> > > > -- > -Tony > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

