Questions thread - Gregoric

Avatar
Gregoric
6 Posts
Posted Jun 28, 2012
Hi there!

Let me create such thread, I will surely have dozens of various questions regarding map creation. Started playing with the Hammer and PeTi recently and tried to start doing something more than the Puzzle maker allows us. So far, I succeded in exporting from PeTi to Hammer, messing with all the Hammer's tools and running custom, Hammer-edited map.

Now, I wanted to add my custom created texture to the game. Used PS to make 256x256 32-bit TGA file, then used the VTF editor to export both VTF and VMF files. Used hammer to add them, then tried to compile the map and this is what I got.

2 threads
reading e:\gry\steam\steamapps\common\portal 2\sdk_content\maps\mapy\druga.bsp
reading e:\gry\steam\steamapps\common\portal 2\sdk_content\maps\mapy\druga.prt
LoadPortals: couldn't read e:\gry\steam\steamapps\common\portal 2\sdk_content\maps\mapy\druga.prt

Any ideas?

Thanks in advance,
Greg

Advertisement
Registered users don’t see ads! Register now!
Avatar
FelixGriffin
2,680 Posts
Posted Jun 28, 2012
Replied 3 hours later
That's weird. Isn't name.prt a portalfile? You should be able to delete it without problems, then recompile.
Avatar
Mevious
205 Posts
Posted Jun 28, 2012
Replied 10 minutes later
A missing prt file is likely caused by a leak in your map. https://developer.valvesoftware.com/wik ... ding_leaks
Avatar
Lpfreaky90
2,842 Posts
Posted Jun 28, 2012
Replied 49 minutes later
If your texture has transparency it cannot seal your map, causing leaks and a failed compile. You can only use transparent textures inside your room or as decals/overlays
Advertisement
Registered users don’t see ads! Register now!
Avatar
Gregoric
6 Posts
Posted Jun 29, 2012
Replied 17 hours later
Okay, thanks. The texture itself looked weird when I was looking at it in Hammer. It wasn't transparent visually, but the textures behind it showed up for miliseconds (like I had set several brushes on themselves). It seems I had set the transparency in some of the previous applications, gotta fix that - but I'll find out on my own :smile:.

Thanks again, that is all for now.

Edit: Rotfl @ the text under nickname i dont know what brush is but i herd it alot. So true :smile: