Porting humanoids to Portal 2
Jump to navigation
Jump to search
File:Portal2 2017-06-25 19-42-08.png
The G-Man in Portal 2, complete with working eyes and skeletal and flex animation.
Portal 2, due to numerous and sometimes unknown bugs, will not support the direct (i.e. "drag'n'drop") porting of humans and humanoids, such as those from Half-Life 2. By porting models in this method, the humanoids will crash Hammer, HLMV, and Portal 2 itself.
Todo: Do humanoids from other games, such as CS:GO, possess these same issues?
By following this guide, you will be able to successfully port humanoid models to Portal 2.
Keeping it from crashing
- Extract the .mdl, .dx90.vtx, .dx80.vtx (if applicable), and .phy files from the VPK you are porting from, and place them in a handy directory.
- Download Crowbar, if you haven't already, by following the links here.
- Open Crowbar's exe file (you may have to extract the archive first). Open the Decompile tab and under MDL file or folder browse to the .mdl of the model you are converting. Under Output Folder, choose a nice clean directory to extract your files to. I recommend using the Full Path option, but it's completely up to you. Under Options, make sure your options are the same as mine:
File:Crowbar 2017-06-25 19-33-07.png
Options for Crowbar decompile.
Porting the materials
placeholder text
Fixing the eyes
placeholder text