Creating A Preset (Half-Life) - NemPosted: May 26th, 2003 - 10:43:06 pm

If you are coming from the Batch Compiler Setup tutorial then you should already be prepared to start a new preset; otherwise, if you have not set Batch Compiler up, please see the Batch Compiler Setup tutorial.

To make sure that Batch Compiler is ready to create a new preset, go to the File menu and select New Preset. Your screen should look like this (note it may differ if you are using a different specification file):

We are going to create a typical "Full" preset that would be used on final BSP builds to produce the highest quality BSP. The switches mentioned in this tutorial are not the only switches that can be used for a "Full" compile. As you gain experience you will learn how to make use of the other switches to tailor your map to your liking. They are, however, common switches for a "Full" compile.

The first stage we are going to look at is the CSG stage. Click the CSG tab. Next check the WAD Auto Detect checkbox. I could explain to you what this switch does, however, if you simply hover you mouse over the switch you will notice the text box at the bottom of your screen contains a more then adequate explanation. (If you do not see this text box it can be made visible by selecting Show Details under the Options menu). Next check the Clip Type checkbox. Now you'll notice that when you check the Clip Type checkbox that a field opens up. This means you can now edit the field. All the fields in Batch Compiler contain the default values used by the tools and many of them also include simple error checking to insure you are entering the right type of value (integer, single or string etc.) and that the value is within range. In the new field select a Clip Type of Precise. Your screen should look like this when you're done:

The next stage we are going to look at is the VIS stage. Click the VIS tab. Next check the VIS Type checkbox and select a VIS Type of Full. Your screen should look like this when you're done:

The next stage we are going to look at is the RAD stage. Click the RAD tab. Next check the Extra checkbox and the Bounce checkbox entering a value of 2 for the Bounce. Last but not least, check the Direct Scale checkbox and enter a value of 1 for the Direct Scale (this option should always be 1). Your screen should look like this when you're done:

The next stage we are going to look at is the Shared stage. Click the Shared tab. This stage has special switches that are common to all of the Zoners Tools stages and so changing a value here applies this change to all of these stages. Check the Chart option. Your screen should look like this when you're done:

The next stage we are going to look at is the Batch stage. Click the Batch tab. This stage contains options that are not associated with the Zoners Tools, but actual batch file commands. I am going to check all the recommended file deletions to remove intermediate files used to compile the BSP, and the BSP and PTS recommended file functions so my BSP and PTS files will be copied to my output folder (as specified on the Options form). Your screen should look like this when you're done:

Finally, lets look at the Steam stage. Click the Steam tab. This stage will already be partially set up for you (Run Map and Game should be checked). Select the Game you want to launch Steam to from the Game combobox. If you want to run a 3rd party MOD then you will need to select Half-Life as your Game, then check the MOD checkbox and enter the name of the 3rd party MOD. It can also be helpful to check the Developer checkbox to run Half-Life in developer mode. Your screen may look like this when you're done:

Almost done, only two more steps to go... On the side of your screen you'll notice an additional listbox labelled Stages. In the listbox select the stages you wish to run. This tutorial is setup to run CSG, BSP, VIS, RAD, and Steam and thus I have them all selected as shown below:

Last but not least, we need to specify a MAP file before we can start compiling it. Under the File menu select Open File. Then browse to and select a MAP file to compile. You'll notice that the Run buttons are now enabled and this is your sign that you are ready to compile your map. You screen should look like this when you are ready:

To compile your map simply press the Run button, an MS DOS window will pop up and your map will commence compiling. If the compiling tools (not Batch Compiler) report any errors, please see this site.

Now that you have set up a "Full" compiler preset, let's add it to your Presets menu for easy access. Please continue to the next page.

Modified: Apr 16th, 2006 - 3:04:29 pm[ 116719 Views ]

[ 1 2 3 4 5 6 7 ]

91. reach42Posted: May 28th, 2007 - 11:51:39 pm
I figured out how to keep the dos window open, but all it tells me is there was an error and to check a log that does not exist. . .

92. NemPosted: May 29th, 2007 - 6:59:59 pm
Can you give a more detailed description of the console output? You can copy the console text by selecting it from the context menu then pressing enter.

93. KrazytacoPosted: Aug 31st, 2007 - 8:21:15 pm
Hey, this isn't directly related to Batch Compiler, but I was gonna ask a question, then I realized my problem was I was over the planes limit (108%).

So, do you know if the CLIP texture counts towards this limit? Because there are a lot of CLIP textures in the map I'm editing (Mecklenburg) that are unneeded.

94. NemPosted: Sep 1st, 2007 - 12:59:58 pm
They count as if they were solid brushes.

95. KrazytacoPosted: Sep 1st, 2007 - 4:54:58 pm
Thanks

96. mC_ArcticPosted: Jan 16th, 2008 - 5:48:28 pm
I've tried reinstalling everything, setting things up differently and I can't figure this error:

hlbsp v2.5.3 rel (May 2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to (zoner@gearboxsoftware.com)
----- BEGIN hlbsp -----
Command line: C:\ZHLT\hlbsp.exe -chart C:\ZHLT\beach

-= Current hlbsp Settings =-
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ on ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
nofill [ off ] [ off ]
notjunc [ off ] [ off ]
subdivide size [ 240 ] [ 240 ] (Min 64) (Max 240)
max node size [ 1024 ] [ 1024 ] (Min 64) (Max 4096)


Error: Can't open C:\ZHLT\beach.p0

----- END hlbsp -----



hlvis v2.5.3 rel (May 2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to (zoner@gearboxsoftware.com)
----- BEGIN hlvis -----
Command line: C:\ZHLT\hlvis.exe -full -chart C:\ZHLT\beach
>> There was a problem compiling the map.
>> Check the file C:\ZHLT\beach.log for the cause.

----- END hlvis -----



hlrad v2.5.3 rel (May 2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to (zoner@gearboxsoftware.com)
----- BEGIN hlrad -----
Command line: C:\ZHLT\hlrad.exe -extra -bounce 2 -dscale 1.0 -chart C:\ZHLT\beach
>> There was a problem compiling the map.
>> Check the file C:\ZHLT\beach.log for the cause.

----- END hlrad -----

***Also half the time the compile will open for a split second then close...

97. NemPosted: Jan 16th, 2008 - 6:05:39 pm
Make sure you run HLCSG too.

98. emadPosted: Feb 17th, 2008 - 10:01:31 am
free

99. MudzPosted: Apr 2nd, 2008 - 7:10:57 am
Hey, i got a problem sad

hlcsg v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (amckern@yahoo.com)
----- BEGIN hlcsg -----
Command line: E:\Programmer\ZHLT\hlcsg.exe -wadautodetect -cliptype Precise -chart C:\Programmer\Steam\steamapps\murhjden\counter-strike\cstrike\maps\de_dust2
Entering C:\Programmer\Steam\steamapps\murhjden\counter-strike\cstrike\maps\de_dust2.map
Error: Parsing Entity 0, expected '{' got 'hlcsg:'

----- END hlcsg -----

what to do ?

100. wombleModified: Jul 7th, 2008 - 11:16:52 pm
When I try to compile a map I get an error message saying "there was a problem compiling the map." when i try to compile the map in Valve Hammer Editor i get an error that is about the same as this can you help???sad:

i also noticed other people saying they had this same problem but i didnt see answers :S

101. NemPosted: Jul 9th, 2008 - 9:55:27 pm
Can you elaborate a little more on the error message (what's giving it)? Maybe provide a screenshot?

102. womblePosted: Jul 10th, 2008 - 10:08:20 pm
it says:


----- BEGIN hlbsp -----
Command line: "C:\Program Files\Valve Hammer Editor\tools\hlbsp.exe"-chart "C:\Program Files\Steam\steamapps\accoutname\day of defeat\dod\maps\dod_womble"
>> There was a problem compiling the map.
>> Check the file C:\Program Files\Steam\steamapps\accountname\day of defeat\dod\maps\dod_womble.log for the cause.

----- END hlbsp -----

exhausted

103. SphotofPosted: Oct 8th, 2012 - 2:52:21 pm
Everything works, except-enemies, fuck -_-

[ 1 2 3 4 5 6 7 ]

You must be logged in to post a comment.
New users can register here.
Nem's Tools v2.0 © 2006 Ryan Gregg.
Execution time: 0.031684s; Queries: 17.
dishes served.
Powered by The Wavelength.

Valid XHTML 1.0 Transitional Valid CSS
π