NAME
q3map2 - a quake 3 BSP compiler
SYNOPSIS
q3map2 command [options] file
DESCRIPTION
q3map2 is a BSP compiler for games based on the Quake III Arena engine.
COMMANDS
The command specifies the operation q3map will perform on the given file. Only one command can be specified.
-bsp
Compiles a .map file into a .bsp (binary space partition) file for use with the Quake III Arena engine. It also writes a .prt (portal information) file and a .srf (surface) file. This is the default command: if no command is given, -bsp is assumed. This command requires file to be a path to an uncompiled .map file.
-vis
Creates visibility sets based on the portal file. This command requires file to be a path to a .map file, which has been processed with the -bsp command.
-light
Calculates lighting data. This command requires file to be a path to an uncompiled .map file. If the -light command is used without additional options, less than desirable output will be achieved.
-convert
Converts a compiled .bsp to another format. This command requires file to be a path to a compiled .bsp file.
-export
Exports internal lightmaps from a compiled .bsp to external .tga images. This command requires file to be a path to a compiled .bsp file.
-import
Imports external .tga lightmaps back into a compiled .bsp. Imported lightmaps will only work on the unmodified BSP they were exported from. This command requires file to be a path to a compiled .bsp file.-info
Analyzes a compiled bsp and outputs information to the screen or log. This command requires file to be a path to a compiled .bsp file.
-scale factor
Scales a compiled .bsp by the prescribed factor. For example a factor of 0.25 will output a new .bsp that is 25% of the original .bsp's size, a factor of 2.0 will output a new .bsp that is twice as large. The scaled output is written to the maps subdirectory of the game base directory. This command requires file to be a path to a compiled .bsp file.
sourceПомнится извлекал я лайтмапы, при помощи этой команды или иначе уже не помню