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

From Team Fortress Wiki
Jump to: navigation, search
m (mc, please keep it D/M/Y)
(very important update that fixes a regression with the last 2 or so)
Line 7: Line 7:
  
 
# First off, [steam://install/1840 download and install SFM] if you haven't already.
 
# First off, [steam://install/1840 download and install SFM] if you haven't already.
# Download [https://www.mediafire.com/file/8brmopmqgyrsl90/unusual.zip/file this .zip file], containing the project file and other required materials. <small>(Version 22; last updated 14/10/2023)</small>
+
# Download [https://www.mediafire.com/file/wkezkm909cgberb/unusual.zip/file this .zip file], containing the project file and other required materials. <small>(Version 23; last updated October 19, 2023)</small>
 
# Open and extract the .zip file. You should have a folder called {{code|game}}.
 
# Open and extract the .zip file. You should have a folder called {{code|game}}.
 
# Drag this folder into the {{code|SourceFilmmaker}} folder, your main SFM folder, and replace any duplicate files.
 
# Drag this folder into the {{code|SourceFilmmaker}} folder, your main SFM folder, and replace any duplicate files.

Revision as of 02:44, 20 October 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 23; last updated October 19, 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.