-
Notifications
You must be signed in to change notification settings - Fork 10
Import map
Radik edited this page Dec 28, 2024
·
10 revisions
- Create a scene and create inside a new node with class
VMFNode
. - Choose a VMF file to import. Enable the "Use External File" checkbox if you need to browse to a file outside of the Godot resources.
- Click
import
in the inspector panel or clickFull
in the 3D scene view at the top tool bar. - Wait a while...
- Done!
If you found that something going wrong, check the Output panel first.
In some cases you can see in the Output panel messages tagged with [Godot VMF]
.
The "Resource Generation" properties in VMFNode control whether the generated meshes or collision shapes are stored as binary resources inside the project directory (configured via import.geometry_folder
).
This helps with scene file size and complexity, and improves editor load times.
The collision of the imported map is separated by surface props. It needed in case you want to add different footstep sounds for each surface prop for example. Each StaticBody3D has defined surface_prop
field in the metadata that you can read via raycasting.