]> git.xonotic.org Git - xonotic/netradiant-xonoticpack.git/blobdiff - xonotic.game/default_build_menu.xml
build menu: add entry to export entities, suggested by julius
[xonotic/netradiant-xonoticpack.git] / xonotic.game / default_build_menu.xml
index 8aa2b3eedb77a18799dcd1e31070d739981c82b7..e652f6f8a4cc8a8229c0b36711e3fb1da8c1f2c2 100644 (file)
 <?xml version="1.0"?>
-<!--
-build commands
-[RadiantPath]: path to Radiant .. C:\Program Files\Gtkradiant
-[EnginePath]: path to the engine .. C:\quake3\ C:\Program Files\Quake III Arena\ /usr/local/games/quake3/
--->
 <project version="2.0">
-<var name="q3map2">"[RadiantPath]q3map2.[ExecutableType]" -v<cond value="[MonitorAddress]"> -connect [MonitorAddress]</cond> -game xonotic -fs_basepath "[EnginePath]" -fs_homepath "[UserEnginePath]"<cond value="[GameName]"> -fs_game [GameName]</cond></var>
-<build name="Single: -bsp">
-<command>[q3map2] -meta -v "[MapFile]"</command>
-</build>
-<build name="Single: -vis -fast">
-<command>[q3map2] -vis -saveprt "[MapFile]"</command>
-</build>
-<build name="Single: -vis">
-<command>[q3map2] -vis -saveprt "[MapFile]"</command>
-</build>
-<build name="Single: -light low">
-<command>[q3map2] -light -cheapgrid -faster "[MapFile]"</command>
-</build>
-<build name="Single: -light medium">
-<command>[q3map2] -light -fast "[MapFile]"</command>
-</build>
-<build name="Single: -minimap">
-<command>[q3map2] -minimap "[MapFile]"</command>
-</build>
-<separator />
-<build name="only entities">
-<command>[q3map2] -onlyents "[MapFile]"</command>
-</build>
-<separator />
-<build name="Test: -bsp, -vis -fast, -light low">
-<command>[q3map2] -meta -v "[MapFile]"</command>
-<command>[q3map2] -vis -fast -saveprt "[MapFile]"</command>
-<command>[q3map2] -light -cheapgrid -faster "[MapFile]"</command>
-</build>
-<build name="Test: -bsp, -vis, -light low">
-<command>[q3map2] -meta -v "[MapFile]"</command>
-<command>[q3map2] -vis -saveprt "[MapFile]"</command>
-<command>[q3map2] -light -cheapgrid -faster "[MapFile]"</command>
-</build>
-<build name="Test: -bsp, -vis, -light medium">
-<command>[q3map2] -meta -v "[MapFile]"</command>
-<command>[q3map2] -vis -saveprt "[MapFile]"</command>
-<command>[q3map2] -light -fast "[MapFile]"</command>
-</build>
-<separator />
-<build name="Final: (Xonotic default)">
-<command>[q3map2] -meta -v -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
-<command>[q3map2] -vis -saveprt "[MapFile]"</command>
-<command>[q3map2] -light -lightmapsearchpower 3 -deluxe -patchshadows -randomsamples -samples 4 -lightmapsize 512 -fast -fastbounce -dirty -bouncegrid -fill "[MapFile]"</command>
-<command>[q3map2] -minimap "[MapFile]"</command>
-</build>
-<build name="Final: '-light + -dirtscale 2' (Xonotic approved)">
-<command>[q3map2] -meta -v -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
-<command>[q3map2] -vis -saveprt "[MapFile]"</command>
-<command>[q3map2] -light -lightmapsearchpower 3 -deluxe -patchshadows -randomsamples -samples 4 -lightmapsize 512 -fast -fastbounce -dirty -bouncegrid -fill -dirtscale 2 "[MapFile]"</command>
-<command>[q3map2] -minimap "[MapFile]"</command>
-</build>
-<build name="Final: '-light + -bounce 8' (Xonotic approved)">
-<command>[q3map2] -meta -v -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
-<command>[q3map2] -vis -saveprt "[MapFile]"</command>
-<command>[q3map2] -light -lightmapsearchpower 3 -deluxe -patchshadows -randomsamples -samples 4 -lightmapsize 512 -fast -fastbounce -dirty -bouncegrid -fill -bounce 8 "[MapFile]"</command>
-<command>[q3map2] -minimap "[MapFile]"</command>
-</build>
-<build name="Final: '-light + -bounce 8 -dirtscale 2' (Xonotic approved)">
-<command>[q3map2] -meta -v -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
-<command>[q3map2] -vis -saveprt "[MapFile]"</command>
-<command>[q3map2] -light -lightmapsearchpower 3 -deluxe -patchshadows -randomsamples -samples 4 -lightmapsize 512 -fast -fastbounce -dirty -bouncegrid -fill -bounce 8 -dirtscale 2 "[MapFile]"</command>
-<command>[q3map2] -minimap "[MapFile]"</command>
-</build>
-<separator />
-<build name="convert to .ASE for modelling apps">
-<command>[q3map2] -meta -v -patchmeta "[MapFile]"</command>
-<command>[q3map2] -convert -format ase "[BspFile]"</command>
-</build>
-<build name="convert to .ASE for mapping">
-<command>[q3map2] -meta -v -patchmeta "[MapFile]"</command>
-<command>[q3map2] -convert -format ase -shadersasbitmap "[BspFile]"</command>
-</build>
-<build name="convert to .ASE for modelling apps (quick and dirty)">
-<command>[q3map2] -convert -format ase -patchmeta "[MapFile]"</command>
-</build>
-<build name="convert to .ASE for mapping (quick and dirty)">
-<command>[q3map2] -convert -format ase -patchmeta -shadersasbitmap "[MapFile]"</command>
-</build>
-<separator />
-<build name="Single/Legacy: -light -nosRGB medium (OLD LIGHTING)">
-<command>[q3map2] -light -nosRGB -fast "[MapFile]"</command>
-</build>
-<build name="Test/Legacy: -bsp, -vis, -light -nosRGB medium (OLD LIGHTING)">
-<command>[q3map2] -meta -nosRGB -v "[MapFile]"</command>
-<command>[q3map2] -vis -saveprt "[MapFile]"</command>
-<command>[q3map2] -light -nosRGB -fast "[MapFile]"</command>
-</build>
-<build name="Legacy: '-nosRGB' (OLD LIGHTING)">
-<command>[q3map2] -meta -v -nosRGB -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
-<command>[q3map2] -vis -saveprt "[MapFile]"</command>
-<command>[q3map2] -light -nosRGB -lightmapsearchpower 3 -deluxe -patchshadows -randomsamples -samples 4 -lightmapsize 512 -fast -fastbounce -dirty -bouncegrid -fill "[MapFile]"</command>
-<command>[q3map2] -minimap "[MapFile]"</command>
-</build>
-<build name="Legacy: '-nosRGB -light + -dirtscale 2' (OLD LIGHTING)">
-<command>[q3map2] -meta -v -nosRGB -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
-<command>[q3map2] -vis -saveprt "[MapFile]"</command>
-<command>[q3map2] -light -nosRGB -lightmapsearchpower 3 -deluxe -patchshadows -randomsamples -samples 4 -lightmapsize 512 -fast -fastbounce -dirty -bouncegrid -fill -dirtscale 2 "[MapFile]"</command>
-<command>[q3map2] -minimap "[MapFile]"</command>
-</build>
-<build name="Legacy: '-nosRGB -light + -bounce 8' (OLD LIGHTING)">
-<command>[q3map2] -meta -v -nosRGB -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
-<command>[q3map2] -vis -saveprt "[MapFile]"</command>
-<command>[q3map2] -light -nosRGB -lightmapsearchpower 3 -deluxe -patchshadows -randomsamples -samples 4 -lightmapsize 512 -fast -fastbounce -dirty -bouncegrid -fill -bounce 8 "[MapFile]"</command>
-<command>[q3map2] -minimap "[MapFile]"</command>
-</build>
-<build name="Legacy: '-nosRGB -light + -bounce 8 -dirtscale 2' (OLD LIGHTING)">
-<command>[q3map2] -meta -v -nosRGB -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
-<command>[q3map2] -vis -saveprt "[MapFile]"</command>
-<command>[q3map2] -light -nosRGB -lightmapsearchpower 3 -deluxe -patchshadows -randomsamples -samples 4 -lightmapsize 512 -fast -fastbounce -dirty -bouncegrid -fill -bounce 8 -dirtscale 2 "[MapFile]"</command>
-<command>[q3map2] -minimap "[MapFile]"</command>
+<var name="q3map2">&quot;[RadiantPath]q3map2.[ExecutableType]&quot; [ExtraQ3map2Args] -v<cond value="[MonitorAddress]"> -connect [MonitorAddress]</cond> -game xonotic -fs_basepath &quot;[EnginePath]&quot; -fs_homepath &quot;[UserEnginePath]&quot;<cond value="[GameName]"> -fs_game [GameName]</cond></var>
+<build name="Fast: -vis -fast (use when vis takes ages)">
+  <command>[q3map2] -bsp -meta -keeplights -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
+  <command>[q3map2] -vis -fast -saveprt "[MapFile]"</command>
+  <command>[q3map2] -light -lightmapsize 1024 -lightmapsearchpower 4 -fastallocate -deluxe -patchshadows -samples 2 -randomsamples -fill "[MapFile]"</command>
+</build>
+<build name="Fast: -samplesize 16 (low resolution lightmaps)">
+  <command>[q3map2] -bsp -meta -keeplights -maxarea -samplesize 16 -mv 1000000 -mi 6000000 "[MapFile]"</command>
+  <command>[q3map2] -vis -saveprt "[MapFile]"</command>
+  <command>[q3map2] -light -lightmapsize 1024 -lightmapsearchpower 4 -fastallocate -deluxe -patchshadows -samples 2 -randomsamples -fill "[MapFile]"</command>
+</build>
+<build name="Fast: -samplesize 8 (not so fast)">
+  <command>[q3map2] -bsp -meta -keeplights -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
+  <command>[q3map2] -vis -saveprt "[MapFile]"</command>
+  <command>[q3map2] -light -lightmapsize 1024 -lightmapsearchpower 4 -fastallocate -deluxe -patchshadows -samples 4 -randomsamples -fill "[MapFile]"</command>
+</build>
+<separator/>
+<build name="Final: -bounce 8 (new Xonotic's default)">
+  <command>[q3map2] -bsp -meta -keeplights -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
+  <command>[q3map2] -vis -saveprt "[MapFile]"</command>
+  <command>[q3map2] -light -lightmapsize 1024 -lightmapsearchpower 4 -fastallocate -deluxe -patchshadows -samples 4 -randomsamples -bounce 8 -fastbounce -bouncegrid -nobouncestore -fill "[MapFile]"</command>
+</build>
+<separator/>
+<build name="Final: -bounce 8 -dirty (darker corners)">
+  <command>[q3map2] -bsp -meta -keeplights -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
+  <command>[q3map2] -vis -saveprt "[MapFile]"</command>
+  <command>[q3map2] -light -lightmapsize 1024 -lightmapsearchpower 4 -fastallocate -deluxe -patchshadows -samples 4 -randomsamples -bounce 8 -fastbounce -bouncegrid -nobouncestore -dirty -dirtdepth 64 -dirtscale 0.8 -fill "[MapFile]"</command>
+</build>
+<build name="Final: -bounce 8 -bouncescale 2 (more bounced light)">
+  <command>[q3map2] -bsp -meta -keeplights -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
+  <command>[q3map2] -vis -saveprt "[MapFile]"</command>
+  <command>[q3map2] -light -lightmapsize 1024 -lightmapsearchpower 4 -fastallocate -deluxe -patchshadows -samples 4 -randomsamples -bounce 8 -bouncescale 2 -fastbounce -bouncegrid -nobouncestore -fill "[MapFile]"</command>
+</build>
+<build name="Final: -bounce 8 -dirty -bouncescale 2 (both)">
+  <command>[q3map2] -bsp -meta -keeplights -maxarea -samplesize 8 -mv 1000000 -mi 6000000 "[MapFile]"</command>
+  <command>[q3map2] -vis -saveprt "[MapFile]"</command>
+  <command>[q3map2] -light -lightmapsize 1024 -lightmapsearchpower 4 -fastallocate -deluxe -patchshadows -samples 4 -randomsamples -bounce 8 -bouncescale 2 -fastbounce -bouncegrid -nobouncestore -dirty -dirtdepth 64 -dirtscale 0.8 -fill "[MapFile]"</command>
+</build>
+<separator/>
+<build name="Create minimap from .bsp">
+  <command>[q3map2] -minimap &quot;[MapFile]&quot;</command>
+</build>
+<separator/>
+<build name="Update entities in the .bsp">
+  <command>[q3map2] -onlyents &quot;[MapFile]&quot;</command>
+</build>
+<build name="Export entities from .bsp">
+   <command>[q3map2] -exportents "[MapFile]"</command>
+</build>
+<separator/>
+<build name="Convert .map to .obj model">
+  <command>[q3map2] -convert -format obj -patchmeta -readmap "[MapFile]"</command>
+</build>
+<build name="Convert .map to .obj model: -subdivisions 4 (more tris)">
+  <command>[q3map2] -convert -format obj -patchmeta -subdivisions 4 -readmap "[MapFile]"</command>
+</build>
+<build name="Convert .map to .ase model">
+  <command>[q3map2] -convert -format ase -patchmeta -readmap "[MapFile]"</command>
+</build>
+<build name="Convert .map to .ase model: -subdivisions 4 (more tris)">
+  <command>[q3map2] -convert -format ase -patchmeta -subdivisions 4 -readmap "[MapFile]"</command>
+</build>
+<separator/>
+<build name="Compile &amp; convert .bsp to .obj model (optimized)">
+  <command>[q3map2] -meta -patchmeta "[MapFile]"</command>
+  <command>[q3map2] -convert -format obj "[BspFile]"</command>
+</build>
+<build name="Compile &amp; convert .bsp to .obj model: -subdivisions 4 (optimized, more tris)">
+  <command>[q3map2] -meta -patchmeta -subdivisions 4 "[MapFile]"</command>
+  <command>[q3map2] -convert -format obj "[BspFile]"</command>
+</build>
+<build name="Compile &amp; convert .bsp to .ase model (optimized)">
+  <command>[q3map2] -meta -patchmeta "[MapFile]"</command>
+  <command>[q3map2] -convert -format ase "[BspFile]"</command>
+</build>
+<build name="Compile &amp; convert .bsp to .ase model: -subdivisions 4 (optimized, more tris)">
+  <command>[q3map2] -meta -patchmeta -subdivisions 4 "[MapFile]"</command>
+  <command>[q3map2] -convert -format ase "[BspFile]"</command>
 </build>
 </project>
-