Skip to content

H2xDev/GodotVMF

Repository files navigation

GodotVMF

Discord Reddit Godot Asset Library

Description

An importer of VMF files into Godot Engine or Redot Engine.

Highly recommended to use Hammer++ since it supports precised vertex data.

Why?

We with my friend Ambiabstract did not find a convenient plugin for us to create levels for Godot and so we decided to use our favorite and familiar editor :)

A useful tool for those who like making levels in Hammer and are making a project on the Godot. Or for those who just want to port their map from Source Engine to Godot and see what happens.

Usage

Features

  • Brushes geometry import (including UVs, materials IDs and smoothing groups)
  • Instances support
  • Models import (requires 3rd party utility MDL2OBJ, included in the repository)
  • Materials import
  • Displacements import (with vertex data)
  • Entities support
  • Hammer's Input/Output system support
  • Native VTF import (supported VTF formats: DXT1, DXT3, DXT5)

Known issues

  • Extraction of materials and models from VPKs is not supported
  • Some of imported models may have wrong orientation
  • New MDLs (from CS:GO an so on) is not supported

Contribution

If you have some ideas, suggestions regarding to quality or solutions of the problems above, feel free to contribute!

  • If you've added a new feature please add the relevant documentation.
  • Follow the common Godot codestyle (yea-yea i'll fix the existing code in upcoming updates).

How to take part in testing

  1. Install any of Source Engine Games (L4D, HL2, TF2)
  2. Unpack all textures and models from VPKs
  3. Decompile most complex maps
  4. Try to import decompiled maps in Godot
  5. Check for errors if they appear

Additional things

Credits

H2xDev - main contributor
Ambiabstract - tech help and inspiration
MyCbEH - level design for example project
Lachrymogenic - Linux test, performance test
SharkPetro - materials test

License

MIT

About

A VMF importer for Godot Engine/Redot Engine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •