Blender

Blender

Not enough ratings
Importing Source 2 maps into Blender
By zonked
A easy and simple to follow guide on importing Source 2 maps into blender.
   
Award
Favorite
Favorited
Unfavorite
Introduction
This guide will help explain how to import Source 2 maps into Blender, and thankfully
the Source 2 viewer, VRF, has a feature for this! While there are other ways to import Source 2 maps to blender; I believe I have found one of, if not, the best way to import source 2 maps into blender. This should import most things from props to textures to brushes, npcs and so on.
Resources
Needed Resources:
  • Half-Life: Alyx, any Source 2 game, or something from HLA's workshop. If its a Source 2 map, it will work.
  • Blender [Obviously]
  • VRF - Valve Resource Viewer - Let's you view anything from a Source 2 game. https://vrf.steamdb.info/
    The list may expand if I find a better way to import these.
Using VRF and locating the .vwrld_c
Firstly, download VRF. It will download as an .exe, so theres no need for Java or whatever unlike for the other guide for Source maps. Once downloaded, launch it and locate your map's VPK file.


Source 2 Games: For a Source 2 game, like HLA, this will be in: steamapps/common/[source 2 game]/game/[game name]/maps/[The VPK should be here, or in a folder with the map's name].


Workshop Maps: If the map is a workshop addon, go to: steamapps/workshop/content/[game id, this should be 546560 for HLA]/[Addon ID, find it by the 'publish_data.txt' which should have the addon name in, or if the addon id is in the description of the addon].


Open up the VPK and head to: Maps > [mapname].vwrld_c [it can be in another folder in the vpk, just look for it]. For us, let's say we want to get the map 'blind_zombie_example' from HLA's game files. We open VRF, click open, go to: steamapps/common/Half-Life: Alyx/game/hlvr/maps/workshop_examples/blind_zombie_example.vpk and open it. Go to maps > workshop_examples > blind_zombie_Example > world.vwrld_c. Now we have found the .vwrld file.
De-compiling the maps and opening them in Blender
Now that we have found the .vwrld, we want to right click it and select 'decompile and export'. Click this and it will open a file browser. Create a folder of any name for this map, select it and click 'save'. This will begin de-compiling every texture and exporting them as PNGs, and export the whole map as a GLTF. Once this is done, in the folder will be a .GLTF, a .bin and alot of .PNGs. If you plan to export this model to another software like Unity, you can use these textures in this folder. Now, we simply go to Blender, click file, import, GLTF and click it. And there you go; its all imported to Blender. All materials will have the image texture applied as well. No need for anything else. Make sure you set it as a GLTF in the file browser.
Conclusion
That's literally it. Yeah. It's a lot more simpler than porting Source maps to Blender. Anyway, that's all!

If this guide doesn't work or isn't good enough, check the Source 2 section on this:https://steamcommunity.com/sharedfiles/filedetails/?id=2891030229
Guide on porting Source Maps to Blender: https://steamcommunity.com/sharedfiles/filedetails/?id=2815711531

Thanks for reading my guide, I hope it helps.
31 Comments
zonked  [author] Apr 20 @ 11:50am 
zonkedhobgoblin
i love salvia Apr 18 @ 7:18am 
there is no vwrld file there is vmap_c file. Can u give me ur discord for how to fix it i cant😭
zonked  [author] Apr 4 @ 5:54am 
When selecting decompile and export, make sure to select the correct file type for the textures. Also make sure you have selected the right file.
i love salvia Apr 3 @ 9:23pm 
Most textures not loading in nuke. You know how to fix it?
zonked  [author] Jan 31 @ 10:12am 
Personally it feels like less work, but others have disagreed for some reason. Its just a shame it takes a lot longer to do though.
s a n s e‎ ‎ ☁ Jan 31 @ 3:41am 
I feel like this is less work :')
zonked  [author] Jan 30 @ 8:50am 
Yeah I've noticed SourceIO can be a bit buggy - while this way is more work and effort, its very reliable.
s a n s e‎ ‎ ☁ Jan 30 @ 5:19am 
bro thank you so much, I only had problems with SourceIO
zonked  [author] Nov 25, 2024 @ 8:20am 
Thanks, I will
Scaros Nov 24, 2024 @ 4:10pm 
North Mint I had the same issue and turns out you have to specify that you want to decompile and export as a glTF file in the file browser before exporting, hope this helps.
You should add that as a complementary description of what you have to do in your guide, OP