Worldcraft has two types of compile dialogs: the normal, and the expert.
Normal Compile
The normal compile dialog gives you some very basic control over the compiling process, enough for simple testing of levels.
The Additional game parameters will be appended to the game execution command, allowing you to feed special commands to the game. The QBSP, VIS, and LIGHT processes are all dependent upon the game Build Programs settings.
Expert Compile
Expert compile mode is extremely useful when you want more than the limited options available to you in the normal compile settings (from above).
Configurations
This is a pull down list with all the different compile profiles. Using the Edit button, you can add, remove, and edit any of the various configurations you might have.
Compile/run commands
This is the list of commands specific to each Compile profile. You can add and delete new commands using the New and Remove buttons. Commands can be edited through the Command Properties section of the dialog. Move Up and Move Down allow you to change the order of the commands.
Command Properties
Command
You can manually enter the command here (which is fine in the case of compile programs like qbsp.exe, etc), or choose from a list of commands by pressing the Cmds button. You will be able to choose from:
• Executable
• Change Directory
• Copy File
• Delete File
• Rename File
• Game executable (with directory) ($game_exe)
• BSP program ($bsp_exe)
• VIS program ($vis_exe)
• LIGHT program ($light_exe)
Parameters
You can enter the command parameters here either manually, or by pressing the Params button. Available to you through the Params button are:
• Map Filename (no extension) ($file)
• Map Filename (with extension) ($file.$ext)
• Map Path (no filename) ($path)
• BSP Path (no filename) ($bspdir)
• Game Directory ($gamedir)
Note: all the $variables are setup in the Game Configurations and Build Programs dialogs, accessible from Tools | Options
Use Long filenames
This will allow a map to be output with its full name, in the case of a map with a name over 8 characters. Note that this can cause problems with loading the map in games that do not support long filenames.
Ensure file post-exists
Enabling this option and entering a filename will cause you to be notified if the certain file does not exist after the compile process.
Use Process window
This will let the compile process use the process window, rather than spawning MS DOS prompts.
Related Topics: