PDA

View Full Version : SOF2MAP options


wedge2211
11-07-2002, 10:59 AM
Could somebody list for me all of the SOF2MAP command options for each of the three compile procedures? I'm sort of in the dark on this one, all I see is the command line that Radiant spits out when I pick something from the BSP menu. :)

WhiteShdw
11-07-2002, 12:04 PM
from the dos prompt after running sof2map:

D:\>sof2map
SoF2Map v1.0c (c) 2000 Raven Software Inc.

usage: sof2map
-bsp [options] mapfile // Bsps a map
-vis [options] mapfile // Vises a previously bsped map
-light [options] mapfile // Lights a previously bsped and vised map
-all mapfile // Bsps, vises, then lights a map (passes all optio
ns on to each)
-vlight [options] mapfile // Vertex lights a map
-lwo BSPfile // Creates a light wave object file
-info [options] mapfile // Diplays map info


D:\>sof2map -bsp
SoF2Map v1.0c (c) 2000 Raven Software Inc.

---- BSP ----
usage: sof2map -bsp [options] mapfile
-v // Verbose output for world model
-threads n // Set to the number of processors in your system
-verboseentities // Verbose output for submodels
-notjunc // Do not add in vertices required to fix t-junctions
-nosubdivide // Don't tessalate surfaces or split surfaces for fog
-nowater // Removes brushes with a content of water or lava
-nofog // Don't split drawSurfs for fog
-nocurves // Do not parse patches
-nodetail // Removes brushes marked detail
-fulldetail // Make detail brushes structural
-vertexlighting // Make the whole map vertex lit only
-showseams // Show the seams on the terrain
-samplesize n // Set the lightmap pixel size to NxN units
-chopsize n // Set the chop size of the map (default is 1024)
-leaktest // Quick exit if the map leaked
-onlyents // Only update entities
-expand // Writes out expanded.map which is 16x original size
-rename // Renames the misc_model shaders to append them with _BSP
-fakemap // Writes out fakemap.map as all the brushes without entitie
s
-tmpout // Prepends "/tmp" to the .gl output file
-tempname name // Used with remote bsping (Do not use)
-glview // Write a .gl output file
-draw // ??

D:\>sof2map -vis
SoF2Map v1.0c (c) 2000 Raven Software Inc.

---- Vis ----
usage: sof2map -vis [options] bspfile
-v // Verbose output
-threads n // Set to the number of processors in your system
-distancecull n // Set the distance cull (overriding the worldspawn value)
-fast // Enable fastvis
-nopassage // Use portal based vis (instead of passage-portal)
-passageOnly // Use passage based vis
-merge // Attempt to merge leaves but not through hints
-nosort // Do not sort by portal complexity
-saveprt // Do not delete portal file on exit
-tmpin // Prepends '/tmp' to the input filename
-tmpout // Prepends '/tmp' to the output filename

D:\>sof2map -light
SoF2Map v1.0c (c) 2000 Raven Software Inc.

----- Lighting ----
usage: sof2map -light [options] mapfile
-v // Verbose output
-threads n // Set to the number of processors in your system
-notrace // Don't cast any shadows
-novertex // Don't calculate vertex lighting
-nogrid // Don't calculate light grid for dynamic model lighting
-nosurf // No tracing against surfaces
-patchshadows // Enable calculation of shadows for patches
-border // Adds debug border to lightmaps
-extra // Enable super sampling for anti-aliasing
-extrawide // Same as extra but smoothen more
-area f // Set the area light scale to f
-point f // Set the point light scale to f
-samplesize n // Set the lightmap pixel size to n x n units (Default 16)
-dump // Dump occlusion map

D:\>sof2map -all
SoF2Map v1.0c (c) 2000 Raven Software Inc.

---- BSP ----
usage: sof2map -bsp [options] mapfile
-v // Verbose output for world model
-threads n // Set to the number of processors in your system
-verboseentities // Verbose output for submodels
-notjunc // Do not add in vertices required to fix t-junctions
-nosubdivide // Don't tessalate surfaces or split surfaces for fog
-nowater // Removes brushes with a content of water or lava
-nofog // Don't split drawSurfs for fog
-nocurves // Do not parse patches
-nodetail // Removes brushes marked detail
-fulldetail // Make detail brushes structural
-vertexlighting // Make the whole map vertex lit only
-showseams // Show the seams on the terrain
-samplesize n // Set the lightmap pixel size to NxN units
-chopsize n // Set the chop size of the map (default is 1024)
-leaktest // Quick exit if the map leaked
-onlyents // Only update entities
-expand // Writes out expanded.map which is 16x original size
-rename // Renames the misc_model shaders to append them with _BSP
-fakemap // Writes out fakemap.map as all the brushes without entitie
s
-tmpout // Prepends "/tmp" to the .gl output file
-tempname name // Used with remote bsping (Do not use)
-glview // Write a .gl output file
-draw // ??