This article relates to the game "Team Fortress 2". Click here for more information.

Team Fortress 2/Adding an Introductory Video: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Undo revision 357944 by Equalizer5118 (talk) I am stupid)
Tag: Undo
 
(21 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{TF2 topicon}} {{lang|title=Adding an Introductory Video}}
== Overview ==
== Overview ==


In this tutorial you will learn how to convert a video into the required .BIK format and to be played ingame. You will not learn how to record a video, only to embed it ingame.
In this tutorial you will learn how to convert a video into the required .BIK format and to be played in game.


== Record your video ==  
== Record your video ==  


To record your video you will need a video recording tool such as [http://www.fraps.com/ FRAPS] or the built in '''Source Recorder'''.
To record your video you will need a video recording tool such as [https://www.fraps.com/ FRAPS] , [https://obsproject.com/ OBS Studio] or the built in '''Source Recorder''' (Most recommended as it makes the best quality and almost no slowdown).


If you want to add the TV tuned music from the VALVe video files You can find three TV tuned sound files in Steam\steamapps\username\team fortress 2\tf\sound\ui.
If you want to add the TV tuned music from the Valve video files You can find three TV tuned sound files in ''Steam\steamapps\username\team fortress 2\tf\sound\ui.''


== Converting the file ==
== Converting the file ==


TF2 will only play .BIK (Bink) files. You will need to use RAD video tools to convert the video, you can get the RAD Video Tools [http://www.radgametools.com/bnkdown.htm here].
TF2 will only play .BIK (Bink) files. You will need to use RAD video tools to convert the video, you can get the RAD Video Tools [http://www.radgametools.com/bnkdown.htm here].
{{note|RAD Tools is a commercial product and can't be used legally without purchasing a licence for its use in your Source mods.}}


== Embedding the video .BIK ==
== Embedding the .BIK ==


Once you have converted the file, place the .BIK video into Steam\steamapps\username\team fortress 2\tf\media. Make sure you name your video file the same name as your map, so the engine knows what map the video belongs to. For example if it was for dustbowl the video would be named cp_dustbowl.BIK.
Once you have converted the file, place the .BIK video into Steam\steamapps\username\team fortress 2\tf\media. Make sure you name your video file the same name as your map, so the engine knows what map the video belongs to. For example if it was for <code>cp_dustbowl</code> the video would be named <code>cp_dustbowl.BIK</code> 
-----------------------------------------------------------------------------------------------------
{{note|When distributing your map, the video will not work if embedded in the bsp, it must be included separately from the map}}
 
== Testing ==
Now when you launch the map, it will have a '''Watch Movie''' option for you to watch your video.
Now when you launch the map, it will have a '''Watch Movie''' option for you to watch your video.
[[Category:Team Fortress 2|Adding]]

Latest revision as of 13:12, 28 November 2023

English (en)Translate (Translate)

Overview

In this tutorial you will learn how to convert a video into the required .BIK format and to be played in game.

Record your video

To record your video you will need a video recording tool such as FRAPS , OBS Studio or the built in Source Recorder (Most recommended as it makes the best quality and almost no slowdown).

If you want to add the TV tuned music from the Valve video files You can find three TV tuned sound files in Steam\steamapps\username\team fortress 2\tf\sound\ui.

Converting the file

TF2 will only play .BIK (Bink) files. You will need to use RAD video tools to convert the video, you can get the RAD Video Tools here.

Note.pngNote:RAD Tools is a commercial product and can't be used legally without purchasing a licence for its use in your Source mods.

Embedding the .BIK

Once you have converted the file, place the .BIK video into Steam\steamapps\username\team fortress 2\tf\media. Make sure you name your video file the same name as your map, so the engine knows what map the video belongs to. For example if it was for cp_dustbowl the video would be named cp_dustbowl.BIK

Note.pngNote:When distributing your map, the video will not work if embedded in the bsp, it must be included separately from the map

Testing

Now when you launch the map, it will have a Watch Movie option for you to watch your video.