TOOL BOX

Quake Engine Map File Editor

TIPS AND GOOD THINGS TO KNOW:

File Size

TBED can theoretically handle any size file. However, some functions like refresh and texture remap will be noticeably (read very) slow with very large files.

Undo

Please read the section on Undo carefully. It may not work the way you expect.

Texture Remapping

Map|Texture Remap uses the edit window's search and replace functions, so it can be very slow. However, because of this it can also be used to globally replace any text, not just texture references. You can also Edit|Undo a remapping.

How TBED Finds Texture References (Map|Texture Uppercase/Lowercase and Map|Dump Textures)

It's actually very fragile. TBED copies the text in the edit window to the working buffer, and scans each line, performing the following tests:

First, it ignores any lines that don't contain the text "( " or "patchDef" (it filters-out any line with "( ( " - this is a patch mesh).

Then, if the line contains "( ", TBED checks if the line contains exactly three of them. If so, it assumes this is a brush face line, and strips it down until it just has the texture name. It assumes this is the next "field" after the last ") ".

But, if the line contains "patchDef", then the program assumes the texture name is on the second line following the current line - the Q3Radiant format is:

patchDef2

{

textureName

So, obviously, if the .map file format changes radically, TBED will have problems finding textures. Note, however, that while patchDefs are new to Q3, the old "parentheses" brush face format has not changed since it was introduced with Q1.

The TBED Command Line

TBED can accept a single parameter, a file name. TBED will load and scan the file, assuming it is in .map format.

Example:

tbed.exe "C:\games\worldcraft\maps\my maps\themap.map"

Use quotes around the file name if the path contains any spaces (i.e. you use long file names).

SiN "lightvalue" Command And Changing Texture Case

If you change the case of textures references in a SiN map, the "lightvalue" command will change as well. If you need to change it back, just use Search|Replace - it's case-sensitive.




©2000 enicolas all rights reserved