Difference between revisions of "Help:Unusual and Killstreak renders"

From Team Fortress Wiki
Jump to: navigation, search
m
 
(63 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Help navbar}}
 
{{Help navbar}}
  
This '''Unusual Renders''' tutorial will show you how to render images of [[Unusual effects]] in [[Source Filmmaker]], for use in update or Unusual related pages. Only minimal Source Filmmaker knowledge is required.
+
This '''Unusual & Killstreak renders''' tutorial will show you how to render images of [[Unusual|Unusual effects]], [[Killstreak_Kit#Specialized_Killstreak_Kit|Killstreak Sheens]], and [[Killstreak_Kit#Professional_Killstreak_Kit|Killstreaker effects]] in [[Source Filmmaker]], for use in Unusual, Killstreak, and/or update related pages. Average Source Filmmaker and particle system knowledge is required.
  
 
== Getting Started ==
 
== Getting Started ==
The following process will provide you with all of the tools you need to open the original project file use for renders from late 2019 and onward. Vanilla SFM is missing a lot of files required for the project to work, and also uses incorrect versions of other files. Following these instructions should fix all of that.
+
The following process will provide you with all of the tools you need to open the original project file used to make renders consistent with all current Unusual and Killstreak image renders. Standard installs of SFM lack a lot of files required for the project file to work, and also use incorrect versions of other files. Following these instructions should fix all of that.
  
# First off, download SFM if you haven't already. You'll also want [[vdc:GCFScape|GCFScape]] and [[vdc:VTFEdit|VTFEdit]].
+
# First off, [steam://install/1840 download and install SFM] if you haven't already.
# Once SFM is installed, you'll first want to download the '''[https://www.mediafire.com/file/t8nmsnp97coch06/unusualdemo.dmx/file original project file]''' used for current renders. Place this file in {{code|\SourceFilmmaker\game\usermod\elements\sessions}}.
+
# Download [https://www.mediafire.com/file/q2v6bagd11gcmzc/unusual.zip/file this .zip file], containing the project file and other required materials. <small>(Version 24; last updated December 9, 2023)</small>
# Before you open the project file, you need to download all of the files it uses firsts. Currently, two SFM Workshop files are used to  [https://steamcommunity.com/sharedfiles/filedetails/?id=355333862 fix the Molten Mallard particle] and [https://steamcommunity.com/sharedfiles/filedetails/?id=1138601202 fix Weapon Unusuals].
+
# Open and extract the .zip file. You should have a folder called {{code|game}}.
#Open {{code|\Team Fortress 2\tf\tf2_misc_dir.vpk}} with GCFScape. Open the {{code|particles}} folder and extract every file ending in {{code|_unusuals.pcf}} to your desktop. As of the [[December 16, 2019 Patch]], this should leave you with:
+
# Drag this folder into the {{code|SourceFilmmaker}} folder, your main SFM folder, and replace any duplicate files.
#* {{code|halloween2015_unusuals.pcf}}
+
# Launch SFM. Open the {{code|unusualdemo.dmx}} project file and wait for it to load.
#* {{code|halloween2016_unusuals.pcf}}
+
# Once loaded, right click on your viewport window. Select '''Render Settings''', and turn off '''Motion Blur''' and '''Ambient Occlusion'''.
#* {{code|halloween2018_unusuals.pcf}}
 
#* {{code|halloween2019_unusuals.pcf}}
 
#* {{code|invasion_unusuals.pcf}}
 
#* {{code|smissmas2019_unusuals.pcf}}
 
#Move the particle files to {{code|\SourceFilmmaker\game\usermod\particles}}. If this filepath doesn't exist yet, create it.
 
#Open {{code|\Team Fortress 2\tf\tf2_misc_dir.vpk}} again. Extract the {{code|materials\effects}} folder to your desktop.
 
#Open {{code|\Team Fortress 2\tf\tf2_textures_dir.vpk}}. Extract the {{code|materials\effects}} folder to your desktop. This should merge it with the already existing folder and there should now be an assortment of .vtf and .vmt files.
 
#Delete {{code|\SourceFilmmaker\game\tf\materials\effects}} and replace it with the {{code|effects}} folder from your desktop.
 
#In your new effects folder, find the following files and do as instructed:
 
#* Find {{code|diamond_glow.vmt}} and replace it with [https://www.mediafire.com/file/xyeun1viz31jsnc/diamond_glow.vmt/file this].
 
#* Find {{code|debris_chunk_add.vmt}} and replace it with [https://www.mediafire.com/file/by2e5csxacwodic/debris_chunk_add.vmt/file this].
 
#* Find {{code|wispy_smoke_add.vmt}} and replace it with [https://www.mediafire.com/file/bsfihskgblblar5/wispy_smoke_add.vmt/file this].
 
#Open {{code|\Team Fortress 2\tf\tf2_misc_dir.vpk}} once more. Extract the {{code|materials\unusual}} folder to your desktop.
 
#Open {{code|\Team Fortress 2\tf\tf2_textures_dir.vpk}}. Extract the {{code|materials\unusual}} folder to your desktop. This will merge it with the existing folder.
 
#Place the {{code|unusual}} folder in {{code|\SourceFilmmaker\game\tf\materials}}
 
  
Congratulations! Your SFM files should be ready to go for rendering Unusual effects.
+
Congratulations! You're now ready for rendering rendering Unusual effects, Killstreak Sheens, and Killstreaker effects.
  
 
== Rendering Unusual effects ==
 
== Rendering Unusual effects ==
Below are three tutorials on how to render the different Unusual types: Cosmetic, Taunt, and Weapon Unusual effects.
+
Below is the tutorial for rendering Unusual effects.
  
=== Cosmetic Unusuals ===
+
=== Adding the particle ===
Using the following process, you can render Cosmetic Unusual effects in the current format. For this tutorial, we'll be rendering the '''Sparkling Lights''' Unusual effect.
+
[[File:UnusualTutorial AnimationSetEditor.png|thumb|450px|right|A section of the Animation Set Editor. The '''+''' icon creates a new Animation Set.]]
  
==== Adding the particle ====
+
# If you are rendering a brand new set of Unusual effects, you will need to grab their files from TF2. To do this:
#If a new Unusual series has been added to the game, you'll first want to check the Unusual files by opening {{code|\Team Fortress 2\tf\tf2_misc_dir.vpk}} with GCFScape and then opening the {{code|particles}} folder. If it's an existing particle, find {{code|item_fx.pcf}} instead.
+
## Download [https://nemstools.github.io/pages/GCFScape-Download.html GCFScape] if you do not have it.
#* New Unusual sets should normally be found with the suffix {{code|_unusuals.pcf}}.
+
## Open {{code|Team Fortress 2\tf\tf2_misc_dir.vpk}}. Grab your .pcf from the {{code|particles}} folder, and your materials from the {{code|materials\effects}} folder.
#* If there is a new Unusual set, extract it from GCFScape into {{code|\SourceFilmmaker\game\usermod\particles}}.
+
## Open {{code|Team Fortress 2\tf\tf2_textures_dir.vpk}}. Grab your textures from the {{code|materials\effects}} folder.
#Switch over to SFM and set your camera to {{code|cam_cosmetic}}.
+
## You should now have a {{code|particles}} and {{code|materials}} folder. Drag these into {{code|SourceFilmmaker\game\tf}} and replace any duplicate files.
#Right click on the animation set editor. Create an animation set for a new particle system.
+
# Set your camera to {{code|cam_cosmetic}}, {{code|cam_taunt}}, or {{code|cam_weapon}}, depending on the type of effect you want to render.
#There will be a few fields for you to fill out.
+
# Click the '''+''' icon in the Animation Set Editor window. Create an Animation Set for a new particle system.
#* Set the definition file to the .pcf of your Unusual effect set.
+
# There will be a few fields for you to fill out:
#* We'll ignore the definition for now.
+
## Set '''Particle System Definition File''' to the .pcf your Unusual effect is contained in.
#* Set the start time to 0.
+
## We'll ignore '''Particle System Definition''' for now.
#* Set all other fields to 999.
+
## Set '''Start Time''' to {{code|0}}.
<gallery perrow="4">
+
## Set the '''Emission Duration''' and '''Particle System Lifetime''' fields to something big, like {{code|999}}.
File:ParticleRender_positionParticle3.png| Switching the camera
 
File:ParticleRender_createParticle.png| Creating a new particle system
 
File:ParticleRender_createParticle2.png| Customizing your new particle system
 
</gallery>
 
  
==== Positioning the particle ====
+
You should now have your particle file added into the session.
#Switch to the motion editor in the timeline window.
 
#Find the "transform - pos" field of your particle system. In respective order, change each 0 to {{code|-3.32202}} {{code|160.479}} {{code|1.57848}}. It should now be in the same position as the particle system named '''REGULAR'''. If not, manually move your particle system to be as close to '''REGULAR''' as possible.
 
#In the timeline window, move your current time from 0 to anything below 0, and then to 10 in that exact order.
 
#* You can get to 10 on the exact frame by using your arrow keys to navigate frame-by-frame through the timeline.
 
#* 10 is the most used on Unusual effect images, but can be adjusted as needed if 10 isn't the best frame for your render.
 
  
<gallery perrow="4">
+
=== Positioning the particle ===
File:ParticleRender_positionParticle.png| Switching to motion editor
+
[[File:UnusualTutorial MotionEditor.png|thumb|450px|right|The button to switch to the Motion Editor.]]
File:ParticleRender_positionParticle2.png| transform - pos
 
File:ParticleRender_positionParticle4.png| Moving your current frame correctly
 
File:ParticleRender_positionParticle5.png| What your particle should look like after doing everything correctly
 
</gallery>
 
  
==== Finalizing the particle ====
+
#Switch to the '''Motion Editor''' in the timeline window.
#Right click your particle in the animation set editor. Go to {{code|Show in Element Viewer}} > {{code|Particle System}}
+
#Next, this will branch off depending on what you're trying to render:
#Replace the particleSystemType field with your particle's filename. In the case of '''Sparkling Lights''', it would be {{code|unusual_sparkling_lights_parent02}}.
 
#Right click on your viewport window, and go to {{code|Render Settings}}. Your settings should match the picture's.
 
#Your particle should now be ready to export. Click on {{code|File}} at the top right, and export as a poster. The image size should be 1920x1080.
 
#When your render exports, it can be found in {{code|\SourceFilmmaker\game\usermod\elements\renders}}. Use your favorite image editing software to crop the width to 1080. The image will now be 1080x1080 and is ready for use on the Wiki!
 
  
<gallery perrow="5">
+
#* '''For COSMETIC Unusual Effects:'''
File:ParticleRender_renderParticle.png| Going to the Particle System in Element Viewer
+
## Find your particle's Animation Set. Expand it, then expand the '''all''' field.
File:ParticleRender_renderParticle2.png| What particleSystemType should look like, replace with your particle filename
+
## Find the '''PYRO_COSMETIC''' model near the top of the Animation Set list. Expand it, expand the '''Body''' field, and select '''bip_head'''.
File:ParticleRender_renderParticle3.png| Exporting
+
## Drag PYRO_COSMETIC's '''bip_head''' field into the particle's '''transform''' field.
File:ParticleRender_renderParticle4.png| '''YOUR SETTINGS MUST MATCH THESE'''
+
## Select the main particle, and find the '''Zero''' slider near the top of your slider list. Drag it all the way to the right.
File:ParticleRender_renderParticle5.png| The final product
 
</gallery>
 
  
=== Taunt Unusuals ===
+
[[File:UnusualTutorial TreeArrow.png|thumb|450px|right|A '''Model''' being viewed in the Animation Set Editor. The '''⮤''' icon goes up the Animation Set's tree.]]
Using the following process, you can render Taunt Unusual effects in the current TF Wiki format. For this tutorial, we'll be rendering the '''Arctic Aurora''' Unusual effect.
+
#* '''For TAUNT Unusual Effects:'''
 +
## Find your particle's Animation Set. Expand it, then expand the '''all''' field.
 +
## Find the '''PYRO_TAUNT''' model near the top of the Animation Set list. Expand it, expand the '''Body''' field, and select '''rootTransform'''.
 +
## Drag PYRO_TAUNT's '''rootTransform''' field into the particle's '''transform''' field.
 +
## Select the main particle, and find the '''Zero''' slider near the top of your slider list. Drag it all the way to the right.
 +
## Right click PYRO_TAUNT. Go to '''Show in Element Viewer''', and click '''Model'''.
 +
## Click the '''⮤''' icon at the top left, and then select the '''children''' field. Right click '''pyro_GameModel''', and copy it.
 +
## Go back to your Animation Set editor and right click your particle. Go to '''Show in Element Viewer''', and click '''Particle System'''.
 +
## At the bottom of the list, right click on '''controlModels''', click '''Paste Special''', then '''Paste as Reference'''.
  
==== Adding the particle ====
+
#* '''For WEAPON Unusual Effects with 2 control points:'''
#If a new Unusual series has been added to the game, you'll first want to check the Unusual files by opening {{code|\Team Fortress 2\tf\tf2_misc_dir.vpk}} with GCFScape and then opening the {{code|particles}} folder. If it's an existing particle, find {{code|taunt_fx.pcf}} instead.
+
## Find the '''transform - pos''' field of your particle system. In respective order, change each 0 to {{code|50}} {{code|20}} {{code|-23}}.
#* New Unusual sets should normally be found with the suffix {{code|_unusuals.pcf}}.
+
## Find the '''transform - rot''' field. In respective order, change each value to {{code|0}} {{code|0}} {{code|-125}}.
#* If there is a new Unusual set, extract it from GCFScape into {{code|\SourceFilmmaker\game\usermod\particles}}.
+
## If the effect is still not positioned properly, adjust manually as needed.
#Switch over to SFM and set your camera to {{code|cam_taunt}}.
 
#Right click on the animation set editor. Create an animation set for a new particle system.
 
#There will be a few fields for you to fill out.
 
#* Set the definition file to the .pcf of your Unusual effect set.
 
#* We'll ignore the definition for now.
 
#* Set the start time to 0.
 
#* Set all other fields to 999.
 
<gallery perrow="4">
 
File:ParticleRender_positionParticle3_taunt.png| Switching the camera
 
File:ParticleRender_createParticle.png| Creating a new particle system
 
File:ParticleRender_createParticle2.png| Customizing your new particle system
 
</gallery>
 
  
==== Positioning the particle ====
+
#* '''For WEAPON Unusual Effects with more than 2 control points:'''
#Switch to the motion editor in the timeline window.
+
## Find the '''transform - pos''' field of your particle system. In respective order, change each 0 to {{code|50}} {{code|20}} {{code|-23}}.
#Find the "transform - pos" field of your particle system. In respective order, change each 0 to {{code|322.465}} {{code|-3.76758}} {{code|-64.2641}}. It should now be in the same position as the particle system named '''REGULAR_TAUNT'''. If not, manually move your particle system to be as close to '''REGULAR_TAUNT''' as possible.
+
## Find the '''controlPoint4 - pos''' field. In respective order, change each value to {{code|15}} {{code|20}} {{code|0}}.
#In the timeline window, move your current time from 0 to anything below 0, and then to 10 in that exact order.
+
## If the effect is still not positioned properly, adjust manually as needed.
#* You can get to 10 on the exact frame by using your arrow keys to navigate frame-by-frame through the timeline.
 
#* 10 is the most used on Unusual effect images, but can be adjusted as needed if 10 isn't the best frame for your render.
 
  
<gallery perrow="4">
+
# Now that you've done all that, in the timeline window, move your current frame position to something negative and then back out to positive to refresh the particle.
File:ParticleRender_positionParticle.png| Switching to motion editor
 
File:ParticleRender_positionParticle2.png| transform - pos
 
File:ParticleRender_positionParticle4.png| Moving your current frame correctly
 
File:ParticleRender_positionParticle5_taunt.png| What your particle should look like after doing everything correctly
 
</gallery>
 
  
==== Finalizing the particle ====
+
=== Finalizing the particle ===
#Right click your particle in the animation set editor. Go to {{code|Show in Element Viewer}} > {{code|Particle System}}
+
# Right click your particle in the Animation Set Editor. Go to '''Show in Element Viewer''', and then '''Particle System'''.
#Replace the particleSystemType field with your particle's filename. In the case of '''Arctic Aurora''', it would be {{code|utaunt_snowring_space_parent}}.
+
# Replace what's in the '''particleSystemType''' field with your desired particle's filename.
#Right click on your viewport window, and go to {{code|Render Settings}}. Your settings should match the picture's.
+
# Your particle should now show up properly and be ready to export. Click on '''File''' at the top left, and export as a poster. The image size should be '''1920x1080'''.
#Your particle should now be ready to export. Click on {{code|File}} at the top right, and export as a poster. The image size should be 1920x1080.
+
# When your render exports, it can be found in {{code|SourceFilmmaker\game\usermod\elements\renders}}. Use your favorite image editing software to crop the width to 1080. The image will now be 1080x1080 and is ready for use on the wiki!
#When your render exports, it can be found in {{code|\SourceFilmmaker\game\usermod\elements\renders}}. Use your favorite image editing software to crop the width to 1080. The image will now be 1080x1080 and is ready for use on the Wiki!
 
  
<gallery perrow="5">
+
Repeat these finalization steps for each effect you plan to render. Congratulations! You have now rendered out wiki-ready Unusual effects. Please note that SFM and TF2 do not share the same codebase, and effects may differ in appearance or just plain not work in SFM. Adjust them as necessary by right clicking the particle, clicking '''Instance Particle System''', and then editing the particle through '''Edit Particle System Definition'''.
File:ParticleRender_renderParticle.png| Going to the Particle System in Element Viewer
 
File:ParticleRender_renderParticle2.png| What particleSystemType should look like, replace with your particle filename
 
File:ParticleRender_renderParticle3.png| Exporting
 
File:ParticleRender_renderParticle4.png| '''YOUR SETTINGS MUST MATCH THESE'''
 
File:ParticleRender_renderParticle5_taunt.png| The final product
 
</gallery>
 
  
=== Normal Weapon Unusuals ===
+
== Rendering Killstreak Sheens ==
Using the following process, you can render normal Weapon Unusual effects in the current TF Wiki format. Normal Weapon Unusuals only use 1 control point, and the effect does not "trail up" the weapon. For this tutorial, we'll be rendering the '''Cool''' Unusual effect.
+
Below is the tutorial for rendering Killstreak Sheens.
  
==== Adding the particle ====
+
=== Preparing the Sheen ===
#If a new Unusual has been added to the game, you'll first want to check the Unusual files by opening {{code|\Team Fortress 2\tf\tf2_misc_dir.vpk}} with GCFScape and then opening the {{code|particles}} folder.
+
# Set your camera to {{code|cam_weapon}}.
#* New Unusual sets should normally be found with the prefix {{code|weapon_unusual_}}.
+
# Hide the '''SHOTGUN''' model and show the '''SHOTGUN_SHEEN''' model.
#* If there is a new Unusual, extract it from GCFScape into {{code|\SourceFilmmaker\game\usermod\particles}}.
+
# Right click '''SHOTGUN_SHEEN''' in the Animation Set Editor. Go to '''Show in Element Viewer''', and click '''Model'''.
#Switch over to SFM and set your camera to {{code|cam_weapon}}.
+
# Scroll down to '''materials''', and expand it.
#Right click on the animation set editor. Create an animation set for a new particle system.
+
# Change '''$envmaptint''' to the color of the Sheen you're rendering.
#There will be a few fields for you to fill out.
 
#* Set the definition file to the .pcf of your Unusual effect set.
 
#* We'll ignore the definition for now.
 
#* Set the start time to 0.
 
#* Set all other fields to 999.
 
<gallery perrow="4">
 
File:ParticleRender_positionParticle3_weapon.png| Switching the camera
 
File:ParticleRender_createParticle.png| Creating a new particle system
 
File:ParticleRender_createParticle2_weapon.png| Customizing your new particle system
 
</gallery>
 
  
==== Positioning the particle ====
+
=== Finalizing the particle ===
#Switch to the motion editor in the timeline window.
+
# Your Sheen should now be ready to export. Click on '''File''' at the top left, and export as a poster. The image size should be 1920x1080.
#Find the "transform - pos" field of your particle system. In respective order, change each 0 to {{code|49}} {{code|20.5}} {{code|-23.25}}. It should now be in the same position as the particle system named '''WEP_HOT'''. If not, manually move your particle system to be as close to '''WEP_HOT''' as possible.
+
# When your render exports, it can be found in {{code|SourceFilmmaker\game\usermod\elements\renders}}. Use your favorite image editing software to crop the width to 1080. The image will now be 1080x1080 and is ready for use on the wiki!
#Find the "transform - rot" field of your particle system. In respective order, change each 0 to {{code|-2.63369}} {{code|13.6412}} {{code|-127.413}}. It should now be in the same angle as '''WEP_HOT'''. If not, manually move your particle system to be as close to '''WEP_HOT''' as possible.
+
# Due to the nature of Killstreak Sheens, it may take multiple attempts to get a good render. You'll want to use [[:File:Killstreak_sheen_Agonizing_Emerald.png|existing images]] as reference.
#In the timeline window, move your current time from 0 to anything below 0, and then to 10 in that exact order.
 
#* You can get to 10 on the exact frame by using your arrow keys to navigate frame-by-frame through the timeline.
 
#* 10 is the most used on Unusual effect images, but can be adjusted as needed if 10 isn't the best frame for your render.
 
  
<gallery perrow="4">
+
Repeat these finalization steps for each effect you plan to render. Congratulations! You have now rendered out wiki-ready Killstreak Sheens.
File:ParticleRender_positionParticle.png| Switching to motion editor
 
File:ParticleRender_positionParticle2.png| transform - pos and transform - rot
 
File:ParticleRender_positionParticle4.png| Moving your current frame correctly
 
File:ParticleRender_positionParticle5_weapon.png| What your particle should look like after doing everything correctly
 
</gallery>
 
  
==== Finalizing the particle ====
+
== Rendering Killstreaker effects ==
#Right click your particle in the animation set editor. Go to {{code|Show in Element Viewer}} > {{code|Particle System}}
+
Below is the tutorial for rendering a Killstreaker effect.
#Replace the particleSystemType field with your particle's filename. In the case of '''Cool''', it would be {{code|weapon_unusual_cool_shotgun_vm}}.
 
#Right click on your viewport window, and go to {{code|Render Settings}}. Your settings should match the picture's.
 
#Your particle should now be ready to export. Click on {{code|File}} at the top right, and export as a poster. The image size should be 1920x1080.
 
#When your render exports, it can be found in {{code|\SourceFilmmaker\game\usermod\elements\renders}}. Use your favorite image editing software to crop the width to 1080. The image will now be 1080x1080 and is ready for use on the Wiki!
 
  
<gallery perrow="5">
+
=== Adding the particles ===
File:ParticleRender_renderParticle_weapon.png| Going to the Particle System in Element Viewer
+
# Set your camera to {{code|cam_cosmetic}}.
File:ParticleRender_renderParticle2_weapon.png| What particleSystemType should look like, replace with your particle filename
+
# Click the '''+''' icon in the Animation Set Editor window. Create an Animation Set for a new particle system.
File:ParticleRender_renderParticle3_weapon.png| Exporting
+
# There will be a few fields for you to fill out:
File:ParticleRender_renderParticle4.png| '''YOUR SETTINGS MUST MATCH THESE'''
+
## Set '''Particle System Definition File''' to the .pcf your Unusual effect is contained in.
File:Unusual_Cool.png| The final product
+
## We'll ignore '''Particle System Definition''' for now.
</gallery>
+
## Set '''Start Time''' to {{code|0}}.
 +
## Set the '''Emission Duration''' and '''Particle System Lifetime''' fields to something big, like {{code|999}}.
  
=== Dynamic Weapon Unusuals ===
+
You should now have your 2 particle files added into the session one for each eye.
Using the following process, you can render dynamic Weapon Unusual effects in the current TF Wiki format. Dynamic Weapon Unusuals normally use 4 control points, which allows the effect to "trail up" the weapon. For this tutorial, we'll be rendering the '''Isotope''' Unusual effect.
 
  
==== Adding the particle ====
+
=== Positioning the particles ===
#If a new Unusual has been added to the game, you'll first want to check the Unusual files by opening {{code|\Team Fortress 2\tf\tf2_misc_dir.vpk}} with GCFScape and then opening the {{code|particles}} folder.
+
#Switch to the '''Motion Editor''' in the timeline window.
#* New Unusual sets should normally be found with the prefix {{code|weapon_unusual_}}.
+
#Next, this will branch off depending on what eye you're adjusting:
#* If there is a new Unusual, extract it from GCFScape into {{code|\SourceFilmmaker\game\usermod\particles}}.
 
#Switch over to SFM and set your camera to {{code|cam_weapon}}.
 
#Right click on the animation set editor. Create an animation set for a new particle system.
 
#There will be a few fields for you to fill out.
 
#* Set the definition file to the .pcf of your Unusual effect set.
 
#* Set the definition to {{code|weapon_unusual_(effect)_shotgun_vm}}. For this tutorial, we'll be doing {{code|weapon_unusual_isotope_shotgun_vm}}.
 
#* Set the start time to 0.
 
#* Set all other fields to 999.
 
<gallery perrow="4">
 
File:ParticleRender_positionParticle3_weapon.png| Switching the camera
 
File:ParticleRender_createParticle.png| Creating a new particle system
 
File:ParticleRender_createParticle2_weapon2.png| Customizing your new particle system
 
</gallery>
 
  
==== Positioning the particle ====
+
#* '''For the LEFT eye:'''
#Switch to the motion editor in the timeline window.
+
## Find the '''transform - pos''' field of your particle system. In respective order, change each value to {{code|-6.58228}} {{code|88.4583}} {{code|3.20387}}.
#Find the "transform - pos" field of your particle system. In respective order, change each 0 to {{code|49}} {{code|20.5}} {{code|-23.25}}. It should now be in the same position as the particle system named '''WEP_ENERGY'''. If not, manually move your particle system to be as close to '''WEP_ENERGY''' as possible.
+
## Find the '''transform - rot''' field. In respective order, change each value to {{code|0}} {{code|0}} {{code|-139.361}}.
#Find the "controlPoint4 - pos" field of your particle system. In respective order, change each 0 to {{code|15}} {{code|20}} {{code|0}}. It should now be in the same trail position as '''WEP_ENERGY'''. If not, manually move your particle system to be as close to '''WEP_ENERGY''' as possible.
+
## If the effect is still not positioned properly, adjust manually as needed.
#In the timeline window, move your current time from 0 to anything below 0, and then to 10 in that exact order.
 
#* You can get to 10 on the exact frame by using your arrow keys to navigate frame-by-frame through the timeline.
 
#* 10 is the most used on Unusual effect images, but can be adjusted as needed if 10 isn't the best frame for your render.
 
  
<gallery perrow="4">
+
#* '''For the RIGHT eye:'''
File:ParticleRender_positionParticle.png| Switching to motion editor
+
## Find the '''transform - pos''' field of your particle system. In respective order, change each value to {{code|-3.38623}} {{code|86.2521}} {{code|1.85855}}.
File:ParticleRender_positionParticle2.png| transform - pos and transform - rot
+
## Find the '''transform - rot''' field. In respective order, change each value to {{code|0}} {{code|0}} {{code|-75.4402}}.
File:ParticleRender_positionParticle4.png| Moving your current frame correctly
+
## If the effect is still not positioned properly, adjust manually as needed.
File:ParticleRender_positionParticle5_weapon2.png| What your particle should look like after doing everything correctly
 
</gallery>
 
  
==== Finalizing the particle ====
+
# Now that you've done all that, in the timeline window, move your current frame position to something negative and then back out to positive to refresh the particles.
#Right click on your viewport window, and go to {{code|Render Settings}}. Your settings should match the picture's.
 
#Your particle should now be ready to export. Click on {{code|File}} at the top right, and export as a poster. The image size should be 1920x1080.
 
#When your render exports, it can be found in {{code|\SourceFilmmaker\game\usermod\elements\renders}}. Use your favorite image editing software to crop the width to 1080. The image will now be 1080x1080 and is ready for use on the Wiki!
 
  
<gallery perrow="5">
+
=== Finalizing the particles ===
File:ParticleRender_renderParticle3_weapon2.png| Exporting
+
# Right click your particles in the Animation Set Editor. Go to '''Show in Element Viewer''', and then '''Particle System'''.
File:ParticleRender_renderParticle4.png| '''YOUR SETTINGS MUST MATCH THESE'''
+
# Replace what's in the '''particleSystemType''' field with your desired particles' filenames.
File:Unusual_Isotope.png| The final product
+
# Your particles should now show up properly and be ready to export. Click on '''File''' at the top left, and export as a poster. The image size should be '''1920x1080'''.
</gallery>
+
# When your render exports, it can be found in {{code|SourceFilmmaker\game\usermod\elements\renders}}. Use your favorite image editing software to crop the width to 1080. The image will now be 1080x1080 and is ready for use on the wiki!
 +
 
 +
Repeat these finalization steps for each effect you plan to render. Congratulations! You have now rendered out wiki-ready Killstreak effects.

Latest revision as of 18:29, 9 December 2023

This Unusual & Killstreak renders tutorial will show you how to render images of Unusual effects, Killstreak Sheens, and Killstreaker effects in Source Filmmaker, for use in Unusual, Killstreak, and/or update related pages. Average Source Filmmaker and particle system knowledge is required.

Getting Started

The following process will provide you with all of the tools you need to open the original project file used to make renders consistent with all current Unusual and Killstreak image renders. Standard installs of SFM lack a lot of files required for the project file to work, and also use incorrect versions of other files. Following these instructions should fix all of that.

  1. First off, download and install SFM if you haven't already.
  2. Download this .zip file, containing the project file and other required materials. (Version 24; last updated December 9, 2023)
  3. Open and extract the .zip file. You should have a folder called game.
  4. Drag this folder into the SourceFilmmaker folder, your main SFM folder, and replace any duplicate files.
  5. Launch SFM. Open the unusualdemo.dmx project file and wait for it to load.
  6. Once loaded, right click on your viewport window. Select Render Settings, and turn off Motion Blur and Ambient Occlusion.

Congratulations! You're now ready for rendering rendering Unusual effects, Killstreak Sheens, and Killstreaker effects.

Rendering Unusual effects

Below is the tutorial for rendering Unusual effects.

Adding the particle

A section of the Animation Set Editor. The + icon creates a new Animation Set.
  1. If you are rendering a brand new set of Unusual effects, you will need to grab their files from TF2. To do this:
    1. Download GCFScape if you do not have it.
    2. Open Team Fortress 2\tf\tf2_misc_dir.vpk. Grab your .pcf from the particles folder, and your materials from the materials\effects folder.
    3. Open Team Fortress 2\tf\tf2_textures_dir.vpk. Grab your textures from the materials\effects folder.
    4. You should now have a particles and materials folder. Drag these into SourceFilmmaker\game\tf and replace any duplicate files.
  2. Set your camera to cam_cosmetic, cam_taunt, or cam_weapon, depending on the type of effect you want to render.
  3. Click the + icon in the Animation Set Editor window. Create an Animation Set for a new particle system.
  4. There will be a few fields for you to fill out:
    1. Set Particle System Definition File to the .pcf your Unusual effect is contained in.
    2. We'll ignore Particle System Definition for now.
    3. Set Start Time to 0.
    4. Set the Emission Duration and Particle System Lifetime fields to something big, like 999.

You should now have your particle file added into the session.

Positioning the particle

The button to switch to the Motion Editor.
  1. Switch to the Motion Editor in the timeline window.
  2. Next, this will branch off depending on what you're trying to render:
    • For COSMETIC Unusual Effects:
    1. Find your particle's Animation Set. Expand it, then expand the all field.
    2. Find the PYRO_COSMETIC model near the top of the Animation Set list. Expand it, expand the Body field, and select bip_head.
    3. Drag PYRO_COSMETIC's bip_head field into the particle's transform field.
    4. Select the main particle, and find the Zero slider near the top of your slider list. Drag it all the way to the right.
A Model being viewed in the Animation Set Editor. The icon goes up the Animation Set's tree.
    • For TAUNT Unusual Effects:
    1. Find your particle's Animation Set. Expand it, then expand the all field.
    2. Find the PYRO_TAUNT model near the top of the Animation Set list. Expand it, expand the Body field, and select rootTransform.
    3. Drag PYRO_TAUNT's rootTransform field into the particle's transform field.
    4. Select the main particle, and find the Zero slider near the top of your slider list. Drag it all the way to the right.
    5. Right click PYRO_TAUNT. Go to Show in Element Viewer, and click Model.
    6. Click the icon at the top left, and then select the children field. Right click pyro_GameModel, and copy it.
    7. Go back to your Animation Set editor and right click your particle. Go to Show in Element Viewer, and click Particle System.
    8. At the bottom of the list, right click on controlModels, click Paste Special, then Paste as Reference.
    • For WEAPON Unusual Effects with 2 control points:
    1. Find the transform - pos field of your particle system. In respective order, change each 0 to 50 20 -23.
    2. Find the transform - rot field. In respective order, change each value to 0 0 -125.
    3. If the effect is still not positioned properly, adjust manually as needed.
    • For WEAPON Unusual Effects with more than 2 control points:
    1. Find the transform - pos field of your particle system. In respective order, change each 0 to 50 20 -23.
    2. Find the controlPoint4 - pos field. In respective order, change each value to 15 20 0.
    3. If the effect is still not positioned properly, adjust manually as needed.
  1. Now that you've done all that, in the timeline window, move your current frame position to something negative and then back out to positive to refresh the particle.

Finalizing the particle

  1. Right click your particle in the Animation Set Editor. Go to Show in Element Viewer, and then Particle System.
  2. Replace what's in the particleSystemType field with your desired particle's filename.
  3. Your particle should now show up properly and be ready to export. Click on File at the top left, and export as a poster. The image size should be 1920x1080.
  4. When your render exports, it can be found in SourceFilmmaker\game\usermod\elements\renders. Use your favorite image editing software to crop the width to 1080. The image will now be 1080x1080 and is ready for use on the wiki!

Repeat these finalization steps for each effect you plan to render. Congratulations! You have now rendered out wiki-ready Unusual effects. Please note that SFM and TF2 do not share the same codebase, and effects may differ in appearance or just plain not work in SFM. Adjust them as necessary by right clicking the particle, clicking Instance Particle System, and then editing the particle through Edit Particle System Definition.

Rendering Killstreak Sheens

Below is the tutorial for rendering Killstreak Sheens.

Preparing the Sheen

  1. Set your camera to cam_weapon.
  2. Hide the SHOTGUN model and show the SHOTGUN_SHEEN model.
  3. Right click SHOTGUN_SHEEN in the Animation Set Editor. Go to Show in Element Viewer, and click Model.
  4. Scroll down to materials, and expand it.
  5. Change $envmaptint to the color of the Sheen you're rendering.

Finalizing the particle

  1. Your Sheen should now be ready to export. Click on File at the top left, and export as a poster. The image size should be 1920x1080.
  2. When your render exports, it can be found in SourceFilmmaker\game\usermod\elements\renders. Use your favorite image editing software to crop the width to 1080. The image will now be 1080x1080 and is ready for use on the wiki!
  3. Due to the nature of Killstreak Sheens, it may take multiple attempts to get a good render. You'll want to use existing images as reference.

Repeat these finalization steps for each effect you plan to render. Congratulations! You have now rendered out wiki-ready Killstreak Sheens.

Rendering Killstreaker effects

Below is the tutorial for rendering a Killstreaker effect.

Adding the particles

  1. Set your camera to cam_cosmetic.
  2. Click the + icon in the Animation Set Editor window. Create an Animation Set for a new particle system.
  3. There will be a few fields for you to fill out:
    1. Set Particle System Definition File to the .pcf your Unusual effect is contained in.
    2. We'll ignore Particle System Definition for now.
    3. Set Start Time to 0.
    4. Set the Emission Duration and Particle System Lifetime fields to something big, like 999.

You should now have your 2 particle files added into the session one for each eye.

Positioning the particles

  1. Switch to the Motion Editor in the timeline window.
  2. Next, this will branch off depending on what eye you're adjusting:
    • For the LEFT eye:
    1. Find the transform - pos field of your particle system. In respective order, change each value to -6.58228 88.4583 3.20387.
    2. Find the transform - rot field. In respective order, change each value to 0 0 -139.361.
    3. If the effect is still not positioned properly, adjust manually as needed.
    • For the RIGHT eye:
    1. Find the transform - pos field of your particle system. In respective order, change each value to -3.38623 86.2521 1.85855.
    2. Find the transform - rot field. In respective order, change each value to 0 0 -75.4402.
    3. If the effect is still not positioned properly, adjust manually as needed.
  1. Now that you've done all that, in the timeline window, move your current frame position to something negative and then back out to positive to refresh the particles.

Finalizing the particles

  1. Right click your particles in the Animation Set Editor. Go to Show in Element Viewer, and then Particle System.
  2. Replace what's in the particleSystemType field with your desired particles' filenames.
  3. Your particles should now show up properly and be ready to export. Click on File at the top left, and export as a poster. The image size should be 1920x1080.
  4. When your render exports, it can be found in SourceFilmmaker\game\usermod\elements\renders. Use your favorite image editing software to crop the width to 1080. The image will now be 1080x1080 and is ready for use on the wiki!

Repeat these finalization steps for each effect you plan to render. Congratulations! You have now rendered out wiki-ready Killstreak effects.