-
Notifications
You must be signed in to change notification settings - Fork 10
Import maps from Source Games
Radik edited this page Aug 6, 2025
·
4 revisions
For example we're going to import a maps from Half-life 2.
-
Unpack materials VMT/VTF and models from the game's VPKs. You can do this with GCFScape
1.1. Open this tool and unpack VPKs that have postfix name_dir.vpk. Usually you need*_misc
and*_textures
. -
Create a file
vmf.config.json
in the godot project folder if you don't have one with the following content:
{
"gameinfo_path": "SteamFolder/steamapps/common/Half-Life 2/hl2",
"materials": {
"import_mode": 1
},
"models": {
"import": true
}
}
Import mode of 1 means that we're going to directly import materials and textures from the game that specified in the VMF file.
- Decompile some map from the game or create a new one.
- Try to import it in the godot project with
VMFNode