Custom Build Settings

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
lukesmith
Posts: 21
Joined: Sat Aug 20, 2011 8:14 pm

Custom Build Settings

Post 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!
User avatar
Hipshot
Posts: 1547
Joined: Sun Jan 20, 2002 8:00 am

Re: Custom Build Settings

Post 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
Q3Map2 2516 -> http://www.zfight.com/misc/files/q3/q3map_2.5.16_win32_x86.zip
Q3Map2 FS_20g -> http://www.zfight.com/misc/files/q3/q3map2_fs_20g.rar
GtkRadiant 140 -> http://www.zfight.com/misc/files/q3/GtkRadiantSetup-1.4.0-Q3RTCWET.exe
lukesmith
Posts: 21
Joined: Sat Aug 20, 2011 8:14 pm

Re: Custom Build Settings

Post by lukesmith »

That looks great thank you very much!

Hey the day you joined is my birthday how weird!
User avatar
Eraser
Posts: 19174
Joined: Fri Dec 01, 2000 8:00 am

Re: Custom Build Settings

Post by Eraser »

There are quite a few tools that offer a graphical user interface for q3map2, like the Quake Toolkit (which I made myself :) )
lukesmith
Posts: 21
Joined: Sat Aug 20, 2011 8:14 pm

Re: Custom Build Settings

Post by lukesmith »

Thanks that looks pretty handy.
deqer
Posts: 298
Joined: Mon Dec 28, 2009 6:30 pm

Re: Custom Build Settings

Post 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.
Post Reply