Log On
     
 





Q3map2Build
4/4
Download

The Build Definition File

Included and required by Q3map2build is the build definition file, or .bdf file; and ASCII file that can be opened and edited with notepad or your favorite text editor (I have no clue if word breaks this, never tried so stick to notepad if you don't know what you are doing).

This is the heart of the application. As switches are added or removed or renamed, if you don't want to clutter up your application with switches you will never use, or if someone made a mistake (/me waves) and fixed it someplace all that's needed to be done is edit this ascii file.

The file is pretty self explanatory, it uses stock windows components for those that have programmed for windows. For those that could care less about windows programming and just want to add/change/delete things, here's a run down.


ChkButton is a check button,
ChkBtnTxt is a text input
NewColumn means new column for display purposes
NormalCmd is what is default without custom radio button checked.

The format for ChkButton is

ChkButton(displayed command,batch command,on(true) or off(false), tooltips text)

  • displayed command: What the option is displayed at on the window

  • batch command: What's passed to the batch file (this and above don't have to match)

  • true/false: Whether or not its selected by default

  • tooltips text: This is for printing to those that have the stock OCX controls for tool tips. Accepts line returns

Example:

ChkButton(-nocurves,-nocurves,false,Curves are not compiled.\nThey will not show up when the map is loaded.)

The format for ChkBtnTxt is

ChkBtnTxt(-displayed command,written to batch command %t,(true) or (false),Default ,size,tooltips text)

  • displayed command: What the option is displayed at on the window

  • batch command: What's passed to the batch file (this and above don't have to match)

  • true/false: Whether or not its selected by default

  • Default Size: This is the size of the input text box in pixels

  • tooltips text: This is for printing to those that have the stock OCX controls for tool tips. Accepts line returns

Example:

ChkBtnTxt(-de,-de %t,false, ,30,Changes the Distance epsilon, for god only knows what reason.)

Both of these are strict with their input formats, if you break something I'm sure you will see it immediately as the program will most likely crash with a VB runtime error.