Welcome, Guest! Login | Register

Adding startup movies to your Steam mods [Print this Article]
Posted by: Doofus
Date posted: Jul 24 2004
User Rating: 5 out of 5.0
Number of views: 7097
Number of comments: 10
Description: Simpler than you might think
So you want a movie to play, right before your Steam mod loads? Did you know that you can actually do it very simply with Steam?

Video File Info
First thing you'll need to get is an .avi (video) file. This is the only filetype that works, and it needs to be compressed with the Cinepak Codec, sorry DivX fans. I'm pretty sure pixel size doesn't matter, because it just plays the video fullscreen.

Steam + Video(s)
So now you want to put them in your mod. Make a new text document (.txt) and name it "StartupVids" inside this file you'll have a list, of all the video's you want to play at the startup of your mod. Place the "StartupVids.txt" inside your mods/media folder. An example of the contents of the StartupVids.txt would be this:

 CODE  
media/mycompany.avi
media/modintro.avi


That's all that is required, now load up your mod (making sure the video files are in the "media" folder of your mod) and watch as the play fullscreen as your mod starts up.

Rate This Article
This article is currently rated: 5 out of 5.0 (3 Votes)

You have to register to rate this article.
User Comments Showing comments 1-10

Posted By: Mazor on Jul 31 2004 at 14:22:41
Has anybody gotten this to work? I can't seem to get it right for some reason. It just goes directly into Steam, no vid playing.

Posted By: Doofus on Aug 01 2004 at 13:17:32
Apparently there must be something in the liblist.gam or somewhere I haven't checked that you need to do in addition to the steps above. Sorry for not doing more extensive testing, I'll see if I can figure out what's needed and post back asap.

Posted By: Mazor on Aug 02 2004 at 05:41:49
I looked around in the liblist.gam file for something that might trigger it, didn't find anything. I figured it was only on single player games so I just (for gags n giggles) set it for single player only, still nothing. So thats not what it is, it must be something else.

Posted By: cct on Aug 23 2004 at 21:10:27
for me it works

where did u put the txt file in?

Posted By: Doofus on Sep 11 2004 at 00:03:00
Sounds like someone else got it to work, so possibly your video file, or your text file are out of place, or not named right?

Posted By: amckern on Sep 12 2004 at 03:04:05
what version of cenipack do u run

i think the old 4.x use to be the only version that worked with in won, for the logo.avi

amkern

Posted By: BlueWolf72 on Oct 30 2004 at 01:07:59
anyone know a good place to get avi movies made. Im wanting a nice one made.

Posted By: Damli on Oct 30 2004 at 23:36:58
This is an example of my startupvids.txt in mod\medie:

"media\beta4.avi"

Notice the " symbols.

The video does NOT play it's resolution in full screen. The video is either stretched or shrinked depending on the resolution you run Steam in.

So if you're running Steam in 1280x1024, a 640x480 video is gonna look very bad.

The video also has to be in the mod\media folder, but I think that was already mentioned in the tutorial.

Posted By: Zavaro on May 10 2005 at 00:46:23
Does this only work for Half-Life 2?

Posted By: Doofus on May 18 2005 at 06:44:45
No, I originally discovered how to do it with Condition Zero (I believe) which is a HL1 mod. I'm almost positive this will work for HL1 mods. (Infact, it's been so long, but I think I made this tutorial for HL1 mods... ?)


You must register to post a comment. If you have already registered, you must login.

Latest Articles
3rd person View in Multiplayer
Half-Life 2 | Coding | Client Side Tutorials
How to enable it in HL2DM

By: cct | Nov 13 2006

Making a Camera
Half-Life 2 | Level Design
This camera is good for when you join a map, it gives you a view of the map before you join a team

By: slackiller | Mar 05 2006

Making a camera , Part 2
Half-Life 2 | Level Design
these cameras are working monitors that turn on when a button is pushed.

By: slackiller | Mar 04 2006

Storing weapons on ladder
Half-Life 2 | Coding | Snippets
like Raven Sheild or BF2

By: British_Bomber | Dec 24 2005

Implementation of a string lookup table
Half-Life 2 | Coding | Snippets
A string lookup table is a set of functions that is used to convert strings to pre-defined values

By: deathz0rz | Nov 13 2005


Latest Comments
knock knock
General | News
By: omega | Dec 22 2016
 
knock knock
General | News
By: MIFUNE | Oct 10 2015
 
New HL HUD Message System
Half-Life | Coding | Shared Tutorials
By: chbrules | Dec 31 2011
 
knock knock
General | News
By: Whistler | Nov 05 2011
 
Particle Engine tutorial part 4
Half-Life | Coding | Client Side Tutorials
By: darkPhoenix | Feb 18 2010
 
Particle Engine tutorial part 2
Half-Life | Coding | Client Side Tutorials
By: darkPhoenix | Feb 11 2010
 
Particle Engine tutorial part 3
Half-Life | Coding | Client Side Tutorials
By: darkPhoenix | Feb 11 2010
 
Game Movement Series #2: Analog Jumping and Floating
Half-Life 2 | Coding | Shared Tutorials
By: mars3554 | Oct 26 2009
 
Particle Engine tutorial part 5
Half-Life | Coding | Client Side Tutorials
By: Deadpool | Aug 02 2009
 
Particle Engine tutorial part 5
Half-Life | Coding | Client Side Tutorials
By: Persuter | Aug 02 2009
 

Site Info
297 Approved Articless
8 Pending Articles
3940 Registered Members
0 People Online (8 guests)
About - Credits - Contact Us

Wavelength version: 3.0.0.9
Valid XHTML 1.0! Valid CSS!