Missing Sky And Zhlt.wad

HTECHTEC Join Date: 2005-01-06 Member: 32967Members, Constellation
<div class="IPBDescription">No-Sky Blues</div> I have done occasional mapping, both before and after Steam came out, and have not had problems with special textures/brushes, i.e. those related to the sky, clipping, rotating objects, etc. Recently, I decided to add a sky to my NS map and all I get is a flat black texture (or black skybox) in place of where the sky should be.

- I am currently using the Batch Compiler with XP Cagey's revision of ZHLT, p14.
- I have checked that I entered the correct name under cl_skyname (mars) under VHE.
- I have tried specifying the location of ZHLT.WAD everywhere I could in both VHE and BC.
- Overriding via WAD.CFG fails.

For some reason, CSG will not include ZHLT.WAD when compiling, even after I played with the configuration of both the Batch Compiler and the Valve Hammer Editor. Note that I can actually use the SKY and other special textures in VHE, but I can't get them compiled in with my map. Here is what I get in the logfile (check out the warnings at the end):

<!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->-----  BEGIN  hlcsg -----
Command line: "C:\Program Files\Valve Hammer Editor\tools\hlcsg.exe"-wadinclude "C:\Program

Files\Steam\SteamApps\email@domain.com\half-life\ns\ns.wad"-wadinclude "C:\Program

Files\Steam\SteamApps\email@domain.com\half-life\ns\ns2.wad"-wadinclude "C:\Program

Files\Steam\SteamApps\email@domain.com\half-life\ns\zhlt.wad"-chart -estimate -high "C:\Program Files\Valve Hammer

Editor\maps\ns_new07"
Entering C:\Program Files\Valve Hammer Editor\maps\ns_new07.map

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

noclip                [     off ] [     off ]
null texture stripping[      on ] [      on ]
clipnode economy mode [      on ] [      on ]
clip hull type        [  legacy ] [  legacy ]
onlyents              [     off ] [     off ]
wadtextures           [      on ] [      on ]
skyclip               [      on ] [      on ]
hullfile              [    None ] [    None ]
nullfile              [    None ] [    None ]
min surface area      [   0.500 ] [   0.500 ]
brush union threshold [   0.000 ] [   0.000 ]

Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]
[C:\Program Files\Steam\SteamApps\email@domain.com\half-life\ns\ns.wad]
[C:\Program Files\Steam\SteamApps\email@domain.com\half-life\ns\ns2.wad]
[C:\Program Files\Steam\SteamApps\email@domain.com\half-life\ns\zhlt.wad]

0 brushes (totalling 0 sides) discarded from clipping hulls
CreateBrush:
(0.23 seconds)
SetModelCenters:
(0.00 seconds)
CSGBrush:
(0.55 seconds)

Object names  Objects/Maxobjs  Memory / Maxmem  Fullness
------------  ---------------  ---------------  --------
models              0/400            0/25600    ( 0.0%)
planes           2984/32768      59680/655360   ( 9.1%)
vertexes            0/65535          0/786420   ( 0.0%)
nodes               0/32767          0/786408   ( 0.0%)
texinfos          237/32767       9480/1310680  ( 0.7%)
faces               0/65535          0/1310700  ( 0.0%)
clipnodes           0/32767          0/262136   ( 0.0%)
leaves              0/8192           0/229376   ( 0.0%)
marksurfaces        0/65535          0/131070   ( 0.0%)
surfedges           0/512000         0/2048000  ( 0.0%)
edges               0/256000         0/1024000  ( 0.0%)
texdata          [variable]          0/4194304  ( 0.0%)
lightdata        [variable]          0/6291456  ( 0.0%)
visdata          [variable]          0/2097152  ( 0.0%)
entdata          [variable]          0/524288   ( 0.0%)
0 textures referenced
=== Total BSP file data space used: 69160 bytes ===

Including Wadfile: C:\Program Files\Steam\SteamApps\email@domain.com\half-life\ns\ns.wad
- Contains 10 used textures, 45.45 percent of map (578 textures in wad)
Including Wadfile: C:\Program Files\Steam\SteamApps\email@domain.com\half-life\ns\ns2.wad
- Contains 9 used textures, 40.91 percent of map (296 textures in wad)

Warning: ::FindTexture() texture ORIGIN not found!
Warning: ::FindTexture() texture SKY not found!
Warning: ::FindTexture() texture CLIP not found!
Warning: ::LoadLump() texture CLIP not found!
Warning: ::LoadLump() texture ORIGIN not found!
Warning: ::LoadLump() texture SKY not found!
Texture usage is at 0.88 mb (of 4.00 mb MAX)
1.08 seconds elapsed

-----   END   hlcsg -----<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->

Well, this has been one frustrating afternoon, and I hope that some of you can lend your expertise and help me with this (hopefully small) problem. Thanks in advance.

<!--emo&::skulk::--><img src='http://www.unknownworlds.com/forums/html/emoticons/skulk.gif' border='0' style='vertical-align:middle' alt='skulk.gif' /><!--endemo-->

Comments

  • ReebdoogReebdoog Join Date: 2003-09-20 Member: 21035Members
    edited May 2005
    i use -wadautodetect and DO NOT include ZHLT.wad. It auto includes it, as you can see from your log.
    Check in the .map file that zhlt is referenced, i.e.
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
    "wad" "J:\nsmapping\zhlt.wad; J:\nsmapping\decals.wad; J:\nsmapping\liquids.wad; J:\nsmapping\ns2.wad; J:\nsmapping\ns.wad; J:\nsmapping\ns_converge.wad; J:\nsmapping\halflifelights.wad"<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    Use wally to open up your ZHLT.wad just to make sure the textures are there.
  • TheDestroyerTheDestroyer Tooobah Join Date: 2003-07-12 Member: 18123Members, Constellation
    Since we're on the subject of ZHLT.wad (sorry to hijack, but it would be stupid to create a thread when theres a simular one), where is the .wad file located? I seem to not have a copy of it. I'm pretty sure I have used it before a reformat, but now its no where to be found.
  • brute_forcebrute_force Join Date: 2003-10-04 Member: 21433Members, Constellation
    Might wanna include HL.wad too, as it has SKY, CLIP and ORIGIN.
  • HTECHTEC Join Date: 2005-01-06 Member: 32967Members, Constellation
    ZHLT.WAD comes only with Zoner's Half-Life Tools, and not with Steam / Half-Life itself. Thus, if you did a clean reinstall, you'll see only NS.WAD, NS2.WAD, etc.

    Reebdoog, I checked out my .MAP file and sure enough, ZHLT.WAD was not referenced. Apparently HLFix generates the .MAP files in the batch compiler, so I started looking there. HLFix was compiling with only NS.WAD and NS2.WAD, and this was determined by the contents of another config file, WAD.TXT. I added an entry for ZHLT.WAD in the file, fired up the compiler and voila, it included the sky texture. The sky now functions in-game without problems.

    Thank you for the tips; I really appreciate it!
  • cariocacarioca Join Date: 2003-09-02 Member: 20511Members
    <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo-->
    tanith.wad have the sky texture
    another texture in zhlt.wad try search zhlt in the foruns i post somewhere the donwlaod link for it.
Sign In or Register to comment.