[FIXED] Importing Models

Avatar
juniverse
23 Posts
Posted May 31, 2015
Hi. I need help getting a non Portal 2 model to show up in hammer. I'm planning on using the soda machine from Black Mesa. I've gotten the custom textures in, but they don't show up on the model.

The model's collision model does show up though. Any help would be appreciated.

Advertisement
Registered users don't see ads! Register now!
Avatar
TeamSpen210
608 Posts
Posted May 31, 2015
Replied 45 minutes later
In the original game, load up the model viewer program and load in the model. On the materials tab there'll be a list of all the materials the model uses, which you'll need to copy over (plus all the vtf files, which usually have similar names). They will need to have the same paths. You might want though to use Mecha the Slag's MDL Hexer to change the material paths, so they can be in a more convenient location.
Avatar
juniverse
23 Posts
Posted Jun 01, 2015
Replied 8 hours later
So would I be able to put both the model files and the textures in the same folder? Could that be what I'm doing wrong?
Avatar
CamBen
973 Posts
Posted Jun 01, 2015
Replied 3 hours later
Yes, that is your problem. All materials go in a path like: materials/models/otherfolders/
All models go in a path like models/otherfolders/

Do what teamspen said and you should be fine.

Avatar
juniverse
23 Posts
Posted Jun 01, 2015
Replied 7 hours later
I've done all that, and I still get the same results. The model itself is invisible, but its collision model is there.

The paths are the same and I used the mdlhexer. I have no idea how all these other modders did it.

Advertisement
Registered users don't see ads! Register now!
Avatar
juniverse
23 Posts
Posted Jun 01, 2015
Replied 22 minutes later
I may have solved my own problem: There's no need to change the path in the first place.

I'm going to try just dragging the props_blackmesa folders with that model into the materials and model folders

When valve was putting hl2 models into portal 2, they didn't change the names of the folders either.