Startup Videos: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Tutorials]]You can change the Valve startup video when playing HL2 by placing a valid avi file called "valve.avi" in the <code>youremail\half-life 2\hl2\media</code> folder.  
[[Category:Tutorials]]You can change the Valve startup video when playing HL2 by placing a valid avi file called "valve.avi" in the <code>youremail\half-life 2\hl2\media</code> folder.  


Or if you are making a mod for HL2 you can place any avi file in your <code>SourceMods\yourmodname\media</code> folder. In order for the video to play when you start your mod you will need to create a StartupVids.txt file in the <code>SourceMods\yourmodname\media</code> folder. Inside the StartupVids.txt file you simply specify the filename(s) of the video you want to be played on a seperate line. For example ...
Or if you are making a mod for HL2 you can place any avi file in your <code>SourceMods\yourmodname\media</code> folder. In order for the video to play when you start your mod you will need to create a StartupVids.txt file in the <code>SourceMods\yourmodname\media</code> folder. Inside the StartupVids.txt file you simply specify the filename(s) of the video you want to be played on a separate line. For example ...
<pre>
<pre>
media/vid1.avi
media/vid1.avi

Revision as of 15:41, 31 October 2005

You can change the Valve startup video when playing HL2 by placing a valid avi file called "valve.avi" in the youremail\half-life 2\hl2\media folder.

Or if you are making a mod for HL2 you can place any avi file in your SourceMods\yourmodname\media folder. In order for the video to play when you start your mod you will need to create a StartupVids.txt file in the SourceMods\yourmodname\media folder. Inside the StartupVids.txt file you simply specify the filename(s) of the video you want to be played on a separate line. For example ...

media/vid1.avi
media/vid2.avi

Keep in mind that the avi video will probably need be be encoded using the Cinepak codec. (XVid does not seem to work) Also I am not sure what other audio codecs are supported, other then Microsoft ADPCM.

If you want to suppress the startup videos, you can add the -novideo parameter to your Command Line.

--Created by: X 02:40, 31 Aug 2005 (PDT)