Porting models to Garry's Mod: Difference between revisions

From Serious Saturdays
Jump to navigationJump to search
(Created page with "<span style="font-size:300%; color:red">'''This guide is a work-in-progress! Most pages are unfinished!'''</span> =About= This guide is meant to be a complete tutorial for taking a rigged, UV mapped model in Blender and turning it into a model for a Source game. The two games I will focus on are Garry's Mod and Left 4 Dead 2, though I will try to make the instructions as generic as possible. I am using Blender 4.1. If you want to use a different version, some contro...")
 
No edit summary
Line 1: Line 1:
<span style="font-size:300%; color:red">'''This guide is a work-in-progress! Most pages are unfinished!'''</span>
<span style="font-size:300%; color:red">'''This guide is a work-in-progress! Most pages are unfinished!'''</span>


=About=
=About=
Line 7: Line 9:
I am using Blender 4.1.  If you want to use a different version, some controls may be placed differently, but typically these instructions will be the same.
I am using Blender 4.1.  If you want to use a different version, some controls may be placed differently, but typically these instructions will be the same.


==The basics==
We will NOT cover the following:
 
* Model ripping from another engine, such as Unreal or Unity.
* Weight-painting or rigging an unrigged model.
* Creating/exporting custom animations in Blender. This includes porting non-biped models.
* Actually getting your models into the target game (aside from Gmod and L4D2). Some games, like HL2DM, require Sourcemod plugins, which is beyond the scope of this guide.
 
==Requirements==
 
Mandatory:
 
* A model to port
* [https://developer.valvesoftware.com/wiki/GCFScape GCFScape] (or anything that will let you open and extract files from VPKs)
* [https://www.blender.org/download/ Blender]
* [http://steamreview.org/BlenderSourceTools/ Blender Source Tools]
* [https://steamcommunity.com/groups/CrowbarTool Crowbar]
* Some kind of text editor (I use [https://notepad-plus-plus.org/ Notepad++])
 
=The basics=


* Basic terminology
* Useful terminology
* Decompiling Source models
* Decompiling Source models
* Preparing a model for Source
* Preparing a model for Source
Line 15: Line 35:
* Compiling a model
* Compiling a model


==Advanced stuff==
=Advanced stuff=


* Setting up flexes
* Setting up flexes
Line 22: Line 42:
* Setting up procedural (helper) bones
* Setting up procedural (helper) bones
* Setting up special texture effects
* Setting up special texture effects
We will NOT cover:
* Model ripping from another engine, such as Unreal or Unity
* Weight-painting or rigging an unrigged model
* Creating/exporting animations in Blender
* Actually getting your models into the target game (aside from Gmod and L4D2). Some games, like HL2DM, require Sourcemod plugins, which is beyond the scope of this guide.
==Total requirements==
Mandatory:
* A model to port
* [https://developer.valvesoftware.com/wiki/GCFScape GCFScape] (or anything that will let you open and extract files from VPKs)
* [https://www.blender.org/download/ Blender]
* [http://steamreview.org/BlenderSourceTools/ Blender Source Tools]
* [https://steamcommunity.com/groups/CrowbarTool Crowbar]
* Some kind of text editor (I use [https://notepad-plus-plus.org/ Notepad++])

Revision as of 19:21, 2 September 2024

This guide is a work-in-progress! Most pages are unfinished!


About

This guide is meant to be a complete tutorial for taking a rigged, UV mapped model in Blender and turning it into a model for a Source game. The two games I will focus on are Garry's Mod and Left 4 Dead 2, though I will try to make the instructions as generic as possible.

I am using Blender 4.1. If you want to use a different version, some controls may be placed differently, but typically these instructions will be the same.

We will NOT cover the following:

  • Model ripping from another engine, such as Unreal or Unity.
  • Weight-painting or rigging an unrigged model.
  • Creating/exporting custom animations in Blender. This includes porting non-biped models.
  • Actually getting your models into the target game (aside from Gmod and L4D2). Some games, like HL2DM, require Sourcemod plugins, which is beyond the scope of this guide.

Requirements

Mandatory:

The basics

  • Useful terminology
  • Decompiling Source models
  • Preparing a model for Source
  • Preparing an armature for Source
  • Compiling a model

Advanced stuff

  • Setting up flexes
  • Setting up jigglebones
  • Setting up hitboxes and ragdolls
  • Setting up procedural (helper) bones
  • Setting up special texture effects