At the moment I'm experimenting with unity and I just wanted to know if it's possible to port source maps to unity. And if it is possible, how does it works?
Thanks for your help!
Thanks for your help!
So I quickly tried out the .DXF export. It only works partial. I used one of my maps to try it out. It seems like the all brushes get converted including clip brushes, skybox etc. However, they doesn't seem to have a collision mask, because I fall staraight throug. Textures get also removed completly. Hope I could help somebody else with this quick summary and thanks again for your help!You have two options:
1) Create/find a .vmf importer. WallWorm might be worth looking into, though I'm not that familiar with what it can do.
2) Use Hammer's ".DXF Export" option to export to .dxf, which Unity knows. However, I'm not sure how much data this actually transfers, so you might not be able to import entities this way (should you want to).
Note that Source is designed to cull extra faces on compile, so importing a raw map file means you'll have to do the face culling yourself (or just deal with bad performance). You can probably write a script to cull faces that have nodraw as their texture, but you'll still have to be careful with your texture usage in Hammer.
Seems like you don't really know how to use Unity yet, I'd recommend getting to know Unity a bit better before trying to port from source to Unity. Jumping in at the deep end isn't always the best way to learn.However, they doesn't seem to have a collision mask, because I fall staraight throug