hlcsg error

hlcsg error

Hammer Mapping — Page [1]
kitaramies94

2008 Nov 27 • 42
hlcsg: Error: Missing '[' in texturedef (U)

What to do?
 
 
 
2009 Nov 28 at 15:33 UTC
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
One (or more) of the textures in the wad files you're using has a space in its name. Open the wad with wally (you can find the dl link in the FAQ) and remove the space from its name.
...and that's the bottom line because Mate de Vita said so.
 
 
 
2009 Nov 28 at 16:07 UTC
kitaramies94

2008 Nov 27 • 42
There are no spaces. I checked that before I started this topic
 
 
 
2009 Nov 28 at 18:29 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Post your log file and your bat contents.
 
 
 
2009 Nov 28 at 22:16 UTC
kitaramies94

2008 Nov 27 • 42
Log:

hlcsg v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
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 (merlinis@bigpond.net.au)
----- BEGIN hlcsg -----
Command line: hlcsg -nowadtextures mapname
Entering mapname.map
Error: Missing '[' in texturedef (U)
Description: The map has a problem which must be fixed
Howto Fix: Check the file ZHLTProblems.html for a detailed explanation of this problem


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



hlbsp v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
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 (merlinis@bigpond.net.au)
----- BEGIN hlbsp -----
Command line: hlbsp mapname
>> There was a problem compiling the map.
>> Check the file mapname.log for the cause.

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



hlvis v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
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 (merlinis@bigpond.net.au)
----- BEGIN hlvis -----
Command line: hlvis mapname
>> There was a problem compiling the map.
>> Check the file mapname.log for the cause.

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



hlrad v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
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 (merlinis@bigpond.net.au)
----- BEGIN hlrad -----
Command line: hlrad mapname
>> There was a problem compiling the map.
>> Check the file mapname.log for the cause.

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

BAT:

@echo off
hlcsg -nowadtextures mapname
hlbsp mapname
hlvis mapname
hlrad mapname
copy mapname.bsp "C:\Program Files\Valve\Steam\SteamApps\***\condition zero\czero\maps"
 
 
 
2009 Nov 29 at 12:44 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Well the good thing is there is nothing wrong with the compile or bat you posted.

So next, upload your map.
 
 
 
2009 Nov 29 at 17:28 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
 
 
 
2009 Nov 29 at 17:53 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Down Rodeo said:
There was a problem - missing in texturedef.


Well thats got to do with the map and wads, but the compiler and bat are working. If you got that error and the compiler didn't show it then the compiler would have a problem.
 
 
 
2009 Nov 29 at 17:56 UTC — Ed. 2009 Nov 29 at 17:57 UTC
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
missing [ in texturedef

The 'missing [ in texturedef' message can be caused several ways:

One or more faces has no texture, or the texturename is just made up of spaces. Check for problems in WC 3.3/Hammer should detect them as 'invalid texture' messages.

The texture name on one or more faces has a space in the middle of the name somehow (Textures are not allowed to have spaces in their names)

You are using Worldcraft 2.0 or 2.1, and the worldspawn has a key/value of "mapversion" "220" If so, remove it.

A Worldcraft 3.3 map was imported into WC 2.1 or 2.2, same problem as above.

A Worldcraft 3.3 map was imported into Quark, also the same problem :)

The map is in Worldcraft 3.3's .map format, but the "mapversion" "220" is MISSING from the worldspawn (this is really rare).
...and that's the bottom line because Mate de Vita said so.
 
 
 
2009 Nov 29 at 18:46 UTC — Ed. 2009 Nov 29 at 18:47 UTC
kitaramies94

2008 Nov 27 • 42
Thanks for replys but I solved this already.

It was because of vertex manipulation
 
 
 
2009 Nov 30 at 15:07 UTC
Alex
2010 Jun 16 • 1
Error: Missing '[' in texturedef (U) .

 
 
 
2010 Jun 16 at 07:42 UTC
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Missing '[' in texturedef[/u]

This error message can be caused several ways:

  • One or more faces has no texture, or the texturename is just made up of spaces. Check for problems in Worldcraft 3.3 should detect them as 'invalid texture' messages.
  • The texture name on one or more faces has a space in the middle of the name somehow (textures are not allowed to have spaces in their names).
  • You are using Worldcraft 2.0 or 2.1, and the worldspawn has a key/value of "mapversion" "220". If so, remove it.
  • A Worldcraft 3.3 map was imported into Worldcraft 2.1 or 2.2, same problem as above.
  • A Worldcraft 3.3 map was imported into QuArK, also the same problem.
  • The map is in Worldcraft 3.3's .map format, but the "mapversion" "220" is MISSING from the worldspawn (this is really rare).
  • The Half-Life 1 game engine does not support textures with non-English characters (e.g. ß, å, ç, etc) in the filenames.
 
 
 
2010 Jun 16 at 08:05 UTC — Ed. 2010 Jun 16 at 08:06 UTC
Page [1]