SourceOps

From Valve Developer Community
Revision as of 09:27, 14 March 2020 by Almaas (talk | contribs) (Added User Guide)
Jump to navigation Jump to search
SourceOps UI

Blender SourceOps allows Blender to export Studiomdl Data and generate QC files.

Features

  • Export SMD files with animation
  • Generate QC files based on parameters
  • Buttons to compile and view models
  • Export multiple objects to one body

Installation

  1. Install Blender 2.80 or later. Or Install from Steam (AppID: 365670)
  2. Download SourceOps. Don’t unzip.
  3. In Blender:
    1. Select Edit > Preferences
    2. Move to the Add-ons tab
    3. Click Install... at the top-right of the window
    4. Find the downloaded zip file and select it (Double click)
    5. SourceOps should be the only add-on shown if installed correctly. Check the box to the left and wait a moment for activation to complete.

User Guide

Panel 1: Games

  1. Add a Display Name to your game. This isn't necessary for any element, but it is there to make it easier for you to organize. You select the game you wish to export to.
  2. Add the Gameinfo path. This should point to the "gameinfo.txt" file from the game you wish to export to. Example: C:\Program Files\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\gameinfo.txt
  3. If you wish to save a copy of your compiled model somewhere else, you can add an Additional path.

Panel 2: Models

  1. Display Name will not be the name of your model. You can add as many as you want. Select the one you want to compile.
  2. Model Name is both the path and the name for your model. This is the path from the root\models folder for the game. Anything after the last "\" in the path will be the name of your model. Example: props\de_inferno\arch_stones02. In this case, the name of the model will be "arch_stones02".
  3. The Reference is the visible model. You put everything you want to be visible into one collection in Blender. That's the collection you put into Reference.
  4. Collision is what it sounds like. It's the model that is solid to the player, this model has to be shaded smooth. There can't be any concave parts to it. If you wish to use a concave shape, you can do that by separating the model into parts and as long as all of the parts are in the same collection it will combine them into one collision-model when you compile.

Panel 3: Model Options

  1. Give your model a surface prop by selecting one from the dropdown list. If you set it to wood it's going to leave decals for wood when you shoot it, and bullets will travel through it easier than if it was concrete. It will also sound like wood if you interact with it.
  2. Model scale is how much you want to scale the model. 1m in Blender is 1unit in Source, so as long as you make it the right scale for the getgo you don't need to change this.
  3. If you don't intend to animate your model, use Static Prop
  4. Has glass makes source use improved depth sorting. This should be used if your model has transparent materials.
  5. Material Folder
    1. Display Name is ones again just to make it easier for you to keep track of the different materials. You select the one you want to use.
    2. Foulder Path is the path to the folder that contains the materials you used for your models, the .vmt has to be VertexLitGeneric. The path is from the root\materials folder for the game. Example: models\props\de_inferno
  6. You also have to assign the name of the .vmt to your model. If the name of your .vmt is "infwllh", you have to set the material name to that in Blender. You can do this in the material tab.

Panel 4: Sequence

  1. Display Name is still just to make it easier for you to keep track of different groups.
  2. The Sequence Name will be the name of the animation.

Panel 5: Event

Links