Blender
25 个评价
Importing Source 2 maps into Blender
由 zonked 制作
A easy and simple to follow guide on importing Source 2 maps into blender.
   
奖励
收藏
已收藏
取消收藏
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2891030229
Guide on porting Source Maps to Blender: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2815711531

Thanks for reading my guide, I hope it helps.
31 条留言
zonked  [作者] 4 月 20 日 上午 11:50 
zonkedhobgoblin
ZEAVEN 4 月 18 日 上午 7:18 
there is no vwrld file there is vmap_c file. Can u give me ur discord for how to fix it i cant😭
zonked  [作者] 4 月 4 日 上午 5:54 
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.
ZEAVEN 4 月 3 日 下午 9:23 
Most textures not loading in nuke. You know how to fix it?
zonked  [作者] 1 月 31 日 上午 10:12 
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‎ ‎ ☁⁷ 1 月 31 日 上午 3:41 
I feel like this is less work :')
zonked  [作者] 1 月 30 日 上午 8:50 
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‎ ‎ ☁⁷ 1 月 30 日 上午 5:19 
bro thank you so much, I only had problems with SourceIO
zonked  [作者] 2024 年 11 月 25 日 上午 8:20 
Thanks, I will
Scaros 2024 年 11 月 24 日 下午 4:10 
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