TODO polish this with pictures and videos and stuff.
Here's a video I made a while back: https://www.youtube.com/watch?v=0a26cHPS-7g
- Convert bsp into vmf with bspsrc.
- Open vmf with hammer, export fbx/textures with zfbx.
- Convert bsp with crafty into obj, in order to get the compiled bsp mesh.
- Use vim macros to fix up material names in the .mtl
- Open obj with blender in order to load textures properly, then export compiled map as fbx.
- Set import scale to 0.01 (to match original import's size)
- Convert and import entire hl2 decals folder (zfbx won't do it for you, and we do spawn decals!)
- Import vmf as txt
- Run SourceTools->LoadVMF
- Place vmf text into vmf text slot
- Place compiled bsp fbx from crafty into MapFBX slot
- Set shader to "Standard" (should already be set)
- Set Rope and Decal prefabs to corresponding prefabs from SourceTools/Prefabs folder. (should already be set)
- Set Root model folder to where your model folder is located (so if your models folder is
Assets/maps/trainstation01/models/
, then you'd putAssets/maps/trainstation01/
) - Press generate, done!