OpenStreetMap to Valve Map Format converter
This is a console program that imports *.osm XML text file, and exports vmf, obj and map . Currently, it uses information only about buildings.
Since only convex polygons can be used in vmf/map, the program uses the polygon decomposition algorithm created by Mark Bayazit.
-
Export osm data from https://www.openstreetmap.org
-
Execute
osm2vmf.exe
with path to file as argumentOptional arguments:
-obj
-map
-novmf
-
Open created vmf file in VHE 4.x or Hammer++ (map file in VHE 3.x, JACK or TrenchBroom)
-
Add some entities
-
Compile and run map