Trying to import models from CSgo

Avatar
Jakiller
13 Posts
Posted Sep 01, 2012
Hi, i'm trying to import many .mdl from CSgo, but i'm having issues with their textures.

I have import all .mdl and all textures i need from the "pak01_dir.vpk" from csgo folder
"materials\models\props\de_train"
and "models\props\de_train"
And copy them to another "pak01_dir" for portal 2.

Now, i have the model in portal 2 but without textures,

Did i miss a step ?

Thanks for your answers :notworthy:

Advertisement
Registered users don’t see ads! Register now!
Avatar
FelixGriffin
2,680 Posts
Posted Sep 01, 2012
Replied 17 minutes later
You shouldn't modify the pak_01.vpk file. Put it in /portal2/.
Avatar
josepezdj
2,386 Posts
Posted Sep 02, 2012
Replied 15 hours later
Simply place the textures for those models into materials\models\props\de_train folder into your portal2/portal2 folder.

Have you really checked all the textures those models need? What I do is using Notepad++ or decompile the model to check into its .qc file which are the textures that the model uses.

Avatar
Jakiller
13 Posts
Posted Sep 02, 2012
Replied 3 hours later
thanks for your answer but the problem was: i write "mat?rial" (like french)
it's just a fail :lol:

Now it's work :biggrin:

sorry for my english again

Avatar
FelixGriffin
2,680 Posts
Posted Sep 02, 2012
Replied 2 hours later
Hey, your English is better than a lot of native speakers' on the Internet. :biggrin:

Also, one thing to be careful of - I don't know if CS:GO is like this (no clue when it came out), but in pre-Episodic games shared animations are kept in .ANI files. If any of your models use those animations, they'll crash Portal 2. For some reason Valve decided not to allow those files anymore. :S This is mostly a problem with human models, such as players.

Advertisement
Registered users don’t see ads! Register now!
Avatar
Jakiller
13 Posts
Posted Sep 02, 2012
Replied 1 hour later

Quote:
Hey, your English is better than a lot of native speakers' on the Internet.

Thanks dude :thumbup:

I didn't encounter this problem yet, but i'll try to import my files carefully from now on :wink: