You are on page 1of 21

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

Home Home Dota 2 Tutorials Dota 2 Unreleased Heroes Status Live Stream Contact Me

Content

RSS

Search

Dota 2 Source Filmmaker Tutorial


July 11th, 2012 by Cyborgmatt Leave a reply

PREVIOUS ENTRY
Dota 2 4th July Patch Content Analysis

NEXT ENTRY
Dota 2 11th July Patch Content Analysis

Advertisement

LATEST TWEET
No public Twitter messages.

Contents
1. Source Filmmaker Tutorial 1. SFM Step 1 2. SFM Step 2 3. SFM Step 3 4. SFM Step 4 5. SFM Step 5 6. SFM Step 6 7. SFM Step 7 8. SFM Step 8 9. SFM Step 9 10. SFM Step 9 (Part 2) 11. SFM Step 10 12. SFM Step 11 2. Applying Hero Animations 1. Animations Step 1 2. Animations Step 2 3. Animations Step 3 3. Dealing With Multiple Hero Parts 1. Hero Parts Step 1 2. Hero Parts Step 2 3. Hero Parts Step 3 4. Hero Parts Step 4 4. Using The Dota 2 Particles 1. Particles Step 1 2. Particles Step 2 3. Particles Step 3 4. Particles Step 4 5. Particles Step 5 5. Other Helpful Material

YOUTUBE
Subscribe to my Youtube channel.

SUBSCRIBE
Subscribe to my blog's feed.

STEAM
Contact me via Steam or join the Steam Group.

LIVE STREAM
Watch my live stream (Green icon = online).

SUPPORT CYBORGMATT

ARCHIVES
January 2013 December 2012 November 2012 October 2012 September 2012 August 2012 July 2012 June 2012 May 2012 April 2012 March 2012 February 2012 January 2012

Followers of my Twitter account will know that I have spent the last week or so messing around with Valves newly released Source Filmmaker tool which has now entered open beta, which I thought would be a good time to put together a tutorial on how to get the Dota 2 content working inside of the SFM.

CATEGORIES
Content Analysis Dota 2 Item Schema Update Tutorial

FRIENDS

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

DOTABUFF TF2B - Dota 2 Backpacks Jimo's Blog Dota 2 Traders Beyond The Summit DotaInsight Podcast

Source Filmmaker Tutorial


SFM Step 1
Download the latest version of GCFScape: http://nemesis.thewavelength.net/index.php?p=26

SFM Step 2
Launch GCFScape and open the dota 2 beta\dota\pak01_dir.vpk file:

SFM Step 3
Extract the root directory to somewhere on your hard drive:

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

SFM Step 4
Get the Source Filmmaker tool from the Steam Store: http://store.steampowered.com/app/1840/ Once youve installed it, launch the Source Filmmaker from the Steams game list, making sure to select the Launch SDK option:

SFM Step 5
Inside the Source Filmmaker SDK, under the mod category, press Create New Mod link and enter dota 2 as the mod name:

Once the mod has been created youll see the following (you can hit OK once you see this window):

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

SFM Step 6
Change the Selected Mod to dota 2 and click the Set Selected Mod link:

SFM Step 7
Go back to the Dota 2 content that we extracted from the VPK files. Copy across the following folders: materials, models, particles, sound into the Steam\steamapps\common\SourceFilmmaker\game\dota 2 folder:

SFM Step 8
Next you need to mass edit the vmt material files, for this I suggest using Notepad++ using the Find in Files feature, which you can find under Search > Find in Files:

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

SFM Step 9
Using Notepad++s Find in Files feature you need to find CustomHero and replace with VertexLitGeneric, filter for *.vmt and choose the directory Steam\steamapps\common\SourceFilmmaker\game\dota 2\materials making sure In all subfolders is also selected:

Press Replace in Files when youve your options setup like above and you should see the following:

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

SFM Step 9 (Part 2)


It has come to my attention that more edits need to be made to the VMT files which will fix the problem with some props having texture issues when lighting hits them:

This extra step is basically a copy of the previous step but with one slight difference. Using Notepad++s Find in Files feature you need to find GlobalLitSimple and replace with VertexLitGeneric, filter for *.vmt and choose the directory Steam\steamapps\common\SourceFilmmaker\game\dota 2\materials making sure In all subfolders is also selected:

SFM Step 10
Youre now setup for using the Dota 2 content inside of the SFM tool. On the SDK panel press the Source Filmmaker link under the Applications category (Make sure dota 2 is set as the selected

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

mod):

Create a new session:

Load in a map:

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

I recommend TF2s itemtest map for a quick/small map:

SFM Step 11
To load a Dota 2 model into the SFM youll see to create a new animation set:

Choose dota 2 as the mod and hit Rescan:

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

Using the navigation tree, expand the heroes folder and select a heroes` folder (if the hero is made up of multiple parts, you can find a guide on how to deal with those later on in the tutorial):

Pressing open will now place that heroes` model in the map:

And youre done, you can find more advanced tutorials below.

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

Applying Hero Animations


Animations Step 1
Now that youve a hero model in the SFM, you can import their sequences via their animation set:

Animations Step 2
A Select Sequence/Activity window will now open, you can use this to pick an animation:

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

Animations Step 3
The sequence will then be played out during the current shot:

Dealing With Multiple Hero Parts


Hero Parts Step 1
A number of Dota 2 heroes have multiple parts to their models, in order to get them to work youll need to do some extra work. For this example Ill load in Natures Prophets (furion in the files) model and his horn model:

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

As you can see the horns are not attached to his head.

Hero Parts Step 2


Under the Animation Set Editor section, open the models tree and the unknown trees:

Hero Parts Step 3


You now need to connect the joints together, you can do this by dragging the matching joint from the base model to the one on the extra part:

Which will give you:

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

Do this for the rest of the joints (you can ignore attack_1):

Hero Parts Step 4


Once all the joints are connected you now need to switch to the Motion Editor (F3 is the shortcut), select the model part in the animation set editor and drag the Zero procedural all the way to the right.

Once youve done that, the part should now be in the correct position:

Using The Dota 2 Particles


Particles Step 1
Create a new animation set for a particle system:

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

Particles Step 2
Once the particle dialogue is open youll need to browse to the Steam\steamapps\common\SourceFilmmaker\game\dota 2\particles\units\heroes folder:

Particles Step 3
Once youve selected the heroes` particle file youll now need to pick which particle you want to use:

In this example I will pick Nature Prophets staff particle effect and set the Emission Duration + Particle System Lifetime to 9999.

Particles Step 4
Move the timeline half way through your shot and see if you particle effect is visible, if its not then youll need to disable/reenable the lighting in the preview window:

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

Particles Step 5
In this example I will need the lock the particle effect onto the staff once its in position:

Once in position you can lock it in a similar fashion to how we dealt with multiple hero parts:

If youve done it correctly the effect will follow the hero through what ever animation is playing:

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

Other Helpful Material


The official SFM Wiki: https://developer.valvesoftware.com/wiki/Source_Filmmaker SFM Tutorial videos: http://www.sourcefilmmaker.com/post.php?id=8065&p=1
Previous Entry: Dota 2 4th July Patch Content Analysis Next Entry: Dota 2 11th July Patch Content Analysis

Posted in Dota 2 , Tutorial

Advertisement

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

Dota 2 Source Filmmaker Tutorial Cyborgmatt's Blog

2013 Cyborgmatt's Blog Proudly powered by WordPress. Theme Green Park 2 (Modified).

Back to Top

http://www.cyborgmatt.com/2012/07/dota-2-sfm-tutorial/[08/01/2013 06:33:34]

You might also like