To use this...
1) Make sure you have the full version of DBPro and not the demo.
2) Make sure you have Direct X 9.0b installed
3) Make sure you have the latest video drivers for you video card installed.
4) Make sure you have DBPro upgrade 5.1 (non beta) installed.
Quark & Zoner
=============
Open Quark, then click on Toolboxes>Texture Browser
Click on New Main Folder under the Folders menu
Choose to save in a new Add-on
Save the file in the Quark folder
Select the new folder made
Rename it to what you want
Click on the button bewteen the search and the new texture list buttons (the one labelled 'Make links for a folder of...', on the top toolbar)
Make sure the wad file you want to use is in the 'valve' directory of HalfLife
Select the folder 'valve' in the box, then click ok. This will import all wad files in the valve directory
Delete any unneeded tetxure lists added
Close the browser and click File>Save All in the first window
Make a new map by clicking on 'New Half-Life Map' (You have to make sure you have halflife selected in the drop down list on the right labelled 'Games')
When you make the map, texture it with tetxures ONLY from the file you added in
After you have finished the map, save it as a .map file by choosing the Quake map format
Open the .map file in a text editor like notepad, and you will see a list of 2 or 3 items starting and ending with quote marks (") (starting about line 8)
Insert a new line beneath the last quoted line here, and before the details about the first brush
In this line put: "wad" "filename.wad", where filename.wad is the whole path of the wad file. It must include the drive letter at the start
Make a .bat file with the following information in:
@echo off
@rem Drive letter should match where the one Halflife is on so ZHLT can find the wad files
c:
hlcsg "filename.map"
hlbsp "filename.map"
hlvis -full "filename.map"
hlrad -dscale 1 -extra "filename.map"
Alter the 'filename.map' to whatever the file is called. It doesn't have to be in the Zoner folder, it can be anywhere as long as the full path is specified including the drive letter.
Run the batch file, and it will create a few files in the folder where the map is
The batch file runs 4 programs in total, one after the other
Once it is done, there will be a .bsp file in the same folder as the .map file
In DBP you need to set the working directory of the program to the folder where the texture file is. Use the 'set dir' command
You can then load the map from anywhere on your computer. You don't have to set the directory to where the map is
The map can be placed in any folder, and the texture file used will be the one you type into the map file. This means the textures and map needn't be in the same folder as each other. When you make the map, the texture file has to be in the 'valve' folder. If you don't want it in there for your map, still use textures from there. When it comes to adding the line into the map file, put the location of where you want the texture file, and copy the texture file to there. From then onwards, the game will always use the textures from the folder you specified. Therefore you only ever need the texture file in the 'valve' folder for editing the map. I wouldn't recommend deleting the file from the 'valve' folder as it will be needed next time you edit the map.
Dark Basic Pro - The Bedroom Coder's Language of choice for the 21st Century.