Decompiling Source models

From Serious Saturdays
Revision as of 20:26, 31 May 2025 by Sappykun (talk | contribs)
Jump to navigationJump to search

We're gonna start with making a Gmod model. Even if you only want to make a L4D2 model, we'll use Gmod for these reasons:

  • Learn how to decompile stuff
  • Learn how QC files are built
  • Faster and easier to reload the game when model is rebuilt
  • Use Gmod's instant texture reloading to tweak shaders

Tools:

GFCScape Crowbar VTFEdit Reloaded


Steps:

1) Go to your Gmod install directory. G:\SteamLibrary\steamapps\common\GarrysMod

2) Open garrysmod/garrysmod_dir.vpk with GFCScape.

3) Navigate to models/player/group01. Extract the model files you want to replace. Since we are replacing Isabelle, we will extract female_01.mdl to a folder.


4) Open Crowbar. Go to the Decompile tab. Drag the mdl file into the first file select box. Configure the settings to your liking, but I personally keep things set to the screenshot below.

5) Decompile.