Page 1 of 1

Custom Build Settings

Posted: Thu Sep 08, 2011 10:29 pm
by lukesmith
Hi,

I want to add some build settings when I build my map like -lightmapsize<> and -deluxe.

I'm using GTK Radiant 1.5.0 and Q3map2

I click on customize on the build menu and then select Q3Map2:(test)BSP -meta -vis -light -fast -filter

In the command line box I double click on the third entry which has -light in it and add my settings to it before the "[MapFile]"

then I click ok. But I then the box closes and it hasnt added anything to the menu so I dont know how I'm supposed to do to build with these settings.

thanks so much if anybody can explain this to me!

Re: Custom Build Settings

Posted: Thu Sep 08, 2011 10:47 pm
by Hipshot
You should use a external batch file instead. Much better - this is my current:

Code: Select all

@Echo off
Echo Name of .map file:
set /p Input=
Echo Bounce this many times:
set /p Input2=
Echo Reticulating splines...
Echo ---- START BSP ---- >%Input%.log
Echo. >>%Input%.log
"q3map2_fs_20g.exe" -bsp -meta -samplesize 16 -v "..\baseq3\maps\m8\%Input%.map" >>%Input%.log
Echo. >>%Input%.log
Echo ---- END BSP ---- >>%Input%.log
Echo. >>%Input%.log
Echo. >>%Input%.log
Echo. >>%Input%.log
Echo ---- START VIS ---- >>%Input%.log
Echo. >>%Input%.log
"q3map2_fs_20g.exe" -vis -v -saveprt "..\baseq3\maps\m8\%Input%" >>%Input%.log
Echo. >>%Input%.log
Echo ---- END VIS ---- >>%Input%.log
Echo. >>%Input%.log
Echo. >>%Input%.log
Echo. >>%Input%.log
Echo ---- START RAD ---- >>%Input%.log
Echo. >>%Input%.log
"q3map2_fs_20g.exe" -light -patchshadows -fast -samples 6 -gamma 2 -compensate 2.5 -v -bounce %Input2% -threads 2 "..\baseq3\maps\m8\%Input%" >>%Input%.log
Echo. >>%Input%.log
Echo ---- END RAD ---- >>%Input%.log
Echo. >>%Input%.log
Echo Level compiled at: >>%Input%.log
date /t >>%Input%.log
time /t >>%Input%.log

Re: Custom Build Settings

Posted: Fri Sep 09, 2011 1:40 pm
by lukesmith
That looks great thank you very much!

Hey the day you joined is my birthday how weird!

Re: Custom Build Settings

Posted: Fri Sep 09, 2011 2:08 pm
by Eraser
There are quite a few tools that offer a graphical user interface for q3map2, like the Quake Toolkit (which I made myself :) )

Re: Custom Build Settings

Posted: Fri Sep 09, 2011 2:46 pm
by lukesmith
Thanks that looks pretty handy.

Re: Custom Build Settings

Posted: Wed Sep 28, 2011 6:10 pm
by deqer
Eraser wrote:There are quite a few tools that offer a graphical user interface for q3map2, like the Quake Toolkit (which I made myself :) )
hey, nice.