Help would be appreciated.
[SOLVED] Importing Half Life 2 models to Portal 2
Edit: What I mean is that, unless you've edited everything, the path to the files in HL2 should match what your Portal 2 path is.
Stepper321 wrote:
... I imported them inside the Portal 2 folder, under the folder "models/Stepper" ...
Of course you get an error. You changed the model path. Either you hex the original files (paths inside the files) or you keep the original path.
FelixGriffin wrote:
Human models from HL2 will not work in Portal 2, as they used shared .ANI files for gestures and movements. I've tried all sorts of alternatives but I haven't yet found a human model (besides Chell) that works properly.
I actually have been messing around with human models in portal 2 for a while and have finally gotten one to work with valve biped animations. I used a combo of chell's head on a heavily modified male_06 model that someone else had posted on thinkingwithportals, plus that Slenderman model for bones that was from that forest of slender map. It's a really weirdly modified model, and seems to only work in some compiles of it, and any change has a risk to ruin the animations. :/
On another note, I've found a semi-efficient way to modify chell's mesh without reconstructing the missing piece of mesh from the exported SMD, and without re-animating, remodeling, or recompiling parts you want to stay the same. If you wanna talk about these findings or anything just pop me a steam message.
Ultiman9711 wrote:
And you've checked that all the file paths remain the same as in HL2 for materials and related files? They must be in the same structure unless you've actively modified them to match your new path under models/Stepper
Edit: What I mean is that, unless you've edited everything, the path to the files in HL2 should match what your Portal 2 path is.
Oh, so how do I edit those..?- Oh well, I am going to use Pakrat anyway so who cares.
FelixGriffin wrote:
Human models from HL2 will not work in Portal 2, as they used shared .ANI files for gestures and movements. I've tried all sorts of alternatives but I haven't yet found a human model (besides Chell) that works properly.
I'm actually trying to just get a cropse.. will that' work?
EDIT: Okay.. so I think it works.. well, sort of. It does something it didn't do before, crash when it has to load it, both Hammer and the Model Viewer. Ha! How do I get a corpse now?!
CamBen wrote:
Decompile your model using mdl decompiler. Then, open the QC file it generates and remove the $includemodel line. Save it and recompile, then put it into portal 2.
I have no idea how to compile it, it gives me an error saying

I linked it to the SteamGames on my other hard drive (where I install my games) and sdk_tools inside Portal2
EDIT: Okay seems like it's working, but now I get

How does Valve even compile this? Oh my god. What do I need to do! This is so infuriating! 
FelixGriffin wrote:
If you just need a corpse without many animations there's the QC and SMD for a prototype citizen in the Source SDK. Compile that one with the Portal 2 compiler and you should have a ragdollable model.
[s]I have a fully working ragdoll character now, but no textures! Know anything to that?[/s]
Nevermind, solved that too. Only.. now the texture is broken. OF HIS FACE.

Looks kinda funny, want to have it fixed though.
CamBen wrote:
Yea I got to that part too, that's why I just replaced the head with chell
Oh that's odd.. Weird that this happens. Argh.
Where's my 60 dollars?
Oh well, solved what I need now at least, now I will make a new thread about that face, see if somebody who doesn't pay attention to noob questions knows something about it.
Stepper321 wrote:
CamBen wrote:Yea I got to that part too, that's why I just replaced the head with chell
Oh that's odd.. Weird that this happens. Argh.
Where's my 60 dollars?
Oh well, solved what I need now at least, now I will make a new thread about that face, see if somebody who doesn't pay attention to noob questions knows something about it.
Really? I didn't have that problem...are you using a HL2 facemap? The layout is rather different from the one provided with that model (it's in materialsrc).
FelixGriffin wrote:
Stepper321 wrote:CamBen wrote:
Yea I got to that part too, that's why I just replaced the head with chell
Oh that's odd.. Weird that this happens. Argh.
Where's my 60 dollars?
Oh well, solved what I need now at least, now I will make a new thread about that face, see if somebody who doesn't pay attention to noob questions knows something about it.Really? I didn't have that problem...are you using a HL2 facemap? The layout is rather different from the one provided with that model (it's in materialsrc).
I used the female model with the light brown hair and light skin, as well as the man with the large nose and large head, and on both it got kinda glitched