Skip to content

Wavefront OBJ to DOOM3 map converter.

License

Notifications You must be signed in to change notification settings

icebreaker/o2d3m

Folders and files

NameName
Last commit message
Last commit date

Latest commit

840bd10 · Sep 28, 2018

History

2 Commits
Aug 4, 2018
Sep 28, 2018
Aug 4, 2018
Aug 4, 2018
Aug 4, 2018
Aug 4, 2018
Aug 4, 2018
Aug 4, 2018
Sep 28, 2018

Repository files navigation

O2D3M

O2D3M is a Wavefront OBJ to DOOM3 map converter.

O2D3M

Watch a video showcasing it in action by clicking here.

Getting Started

You'll need a C++ compiler with C++11 support and Qt 5 or later in order to compile this.

Why does it use Qt? Well, because this project started as a plugin for Tiled, but then I lost interest and turned it into a CLI tool without moving away from Qt.

Open o2d3m.pro in QtCreator or if you are a CLI kind of person type in the following incantations in a terminal:

$ mkdir build
$ cd build
$ qmake ..
$ make

This will result in an executable called o2d3m in the build directory.

To convert an OBJ file into a D3 map one would type:

$ build/o2d3m --no-monster-attack -o example/base/maps/example.map example/src/example.obj

To test the resulting D3 map one would type:

$ dhewm3 +set fs_savepath example +disconnect +dmap example +map example

Replace dhewm3 above with the name of your D3 flavour's executable.

Contribute

  • Fork the project.
  • Make your feature addition or bug fix.
  • Do not bump the version number.
  • Send me a pull request. Bonus points for topic branches.

License

Copyright (c) 2018, Mihail Szabolcs

O2D3M is provided as-is under the MIT license. For more information see LICENSE.