The BSP Compiler

Quake2World provides its own cross-platform BSP compilation tool called q2wmap. The compiler is based on the original Quake 2 tools, but in addition offers the following:

  • Support for large surfaces, reducing r_speeds by up to 30% on some levels.
  • High-color texture support during light stage.
  • Performance optimizations, such as not subdividing or lighting sky surfaces.
  • Configurable sunlight, ambient, brightness, saturation, contrast, and lightmap resolution via worldspawn entity.
  • Phong Interpolation (Phong Shading) for simulating curved or organic surfaces.
  • Integrated pak authoring for generating standard distribution Pakfiles for your levels.
  • Integrated materials file generation for getting started with the materials system.
  • Multi-threading for machines with more than one processor or core.

In addition to these things, the q2wmap source code is Valgrind clean. The stock tools are riddled with dangerous instructions and memory leaks.

Invoking the compiler is simple and straightforward. You should consider running it via a command prompt or shell rather than through GtkRadiant's build menu.

Standard full compile:

q2wmap -bsp -vis -light maps/my.map

Fast vis, extra light, two threads:

q2wmap -t 2 -bsp -vis -fast -light -extra maps/my.map

Materials file generation:

q2wmap -mat maps/my.map

Pakfile generation (produces map-my.pak):

q2wmap -pak maps/my.map

New bsp format - September 04, 2008 - 14:17pm

The current verison of q2wmap writes a new bsp format. Add
-legacy
to the q2wmap command line to make it write baseq2 format.

spirit

User login

Who's new

  • gioiabath74
  • DoomGuy
  • CyberDemon
  • rose1315
  • BartK