Skip to content

ELF32bit/quake-mapping-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quake mapping tools

Convert .obj scenes to maps

obj2map.py

Any triangular mesh can be converted into convex brushes used in map files.
This is achieved by extending a triangle into a pyramid along the back-facing normal.
Alternatively, meshes that have "convex" in their name can be turned into big brushes.
Scene materials are going to be discarded, unless a material list is provided.
Objects might be split into different entities and grouped together.
Line objects will be turned into path_corner entities.
Run the script with --info option first.

python obj2map.py examples/scene.obj \
  --material_list "64_blue_2;64_green_2;64_gold_2;64_blood_2;64_grey_1" \
  --normal_offset 2.0 \
  --game Quake

Convert heightmaps to maps

height2map.py

Seamless terrain generator with optional chunking for a faster compiling.
Map format is poorly suited for storing large terrains with multiple textures.

python height2map.py examples/height.png \
  --material "64_green_1" \
  --chunk_size 16 \
  --game Quake

About

Quake mapping tools

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages