Portal 2 models in Garry's mod

I’m sorry if I created a topic in the wrong section. Create a map for garry’s mod and I need a model of the portal 2 glass_lightcover. Extracted the necessary files from pak01_dir.vpk and added them to garry’s mod.
The model is not displayed as it is necessary. The error console "MDLCache: props_lab\glass_lightcover.mdl uses a different model version to the engine (got 49, expected 48 ) "
Model and desired texture can be download here: https://mega.nz/#!zlk2CRQa!LYVsuU3DwHAUmhymgTdFrFy82OF79KayeRUsDBlITSg
Do I understand correctly that the model must be recompiling? He tried to make himself, but something did not work out :frowning: Can anyone help?
P.S. Sorry for my english :slight_smile:

yeah the model need to be decompilied and recompilied with the Gmod studioMDL tools use Crowbar to do it http://steamcommunity.com/groups/CrowbarTool :slight_smile:

Thank you! Errors Now the console is not present. But the model is not correctly displayed as it was before recompiling. We need to do something with the textures of the model yet?
Model in Garry’s mod http://i.imgur.com/Hx1Jevo.jpg
Model in Portal 2 http://i.imgur.com/m6gMIKk.jpg

P.S. Sorry my english :slight_smile:

for the black frame the model uses a env_map in the vmt $envmap “metal/black_wall_envmap_002a” did u extract that texture as well if not will have to :slight_smile:

You don’t even need to recompile them. You can use the old VTXFixer.bat that everyone was using to fix the L4D models to work in Garry’s Mod. This is the only working link I know of anymore. All it does is copy the .vtx file of a model and renames them to create the missing ones, it just does it automatically so you can convert entire folders full of models in a second.

The textures need downgrading to the .vtf format that Garry’s Mod uses, and some of the Portal 2 shaders probably don’t work.

I converted all of the Portal 2 models for Garry’s Mod when Portal 2 first came out, most of what I had to do was just run the vtxfixer.bat on the models and downgrade the .vtf version number with a hex editor. That’s probably a lot easier now that VTFEdit can actually open the new .vtf versions and re-save them.