Open browhattheheck1 opened 4 years ago
Quick update, its now finding the portal wall texture, but only the portal wall texture. In the warnings it seems to be looking for the wrong texture file names
Are you sure you have these textures in your Assets folder? You also need to unpack bsp files.
It console says that it misses something like "texture_374_200_284" then you need to unpack bsp files (using pakrat or similar software)
I was working on filtering the unwanted numbers on the texture names, might commit in the future.
Fronkln, its not unwanted numbers, they reference to cubemaps (as i can remember) that are currently not supported by this importer.
Ooh, that's interesting, i made a cubemap importer a while ago but didnt know some materials depended on em
Inside bsp pak lump there is some materials with patch type. They can include original materials but replace cubemap. Support for them already implemented here https://github.com/lewa-j/Unity-Source-Tools/blob/master/Assets/Code/Read/VMTLoader.cs#L151 What's missing in auto extraction of bsp pak. So you have to do it manualy. And for portal you need hl2 content too.
I'm trying to get in portal maps, and I've extracted everything out of the portal_pak_dir.vpk, but it won't see the textures and spawns in the map with a grey dev material. I have no clue what to do, any help would be appreciated