Cannot compile

Cannot compile

Hammer Mapping — Page [1]
Hic
2007 Oct 4 • 17
3 ₧
I made my map and when I double click the .map file it opens and closes instantly. Am I supposed to name the text file .bat and my map .map? Please help, thank you!
Hi.
 
 
 
2007 Oct 4 at 03:39 PDT
jacksmoke234
Tendrils McGee

2005 Mar 20 • 1375
34 ₧
Yes name the text file .bat and double click the .bat file.
 
 
 
2007 Oct 5 at 04:31 PDT
Hic
2007 Oct 4 • 17
3 ₧
"jacksmoke234" said:
Yes name the text file .bat and double click the .bat file.


I tried that, but it just opens up a text file
Hi.
 
 
 
2007 Oct 5 at 04:34 PDT
Zonderion
2007 Oct 3 • 3
3 ₧
make sure that you have file extentions enabled, or so that you can see them. If you don't then the actual name of your file is "textfile.bat.txt"
It looks like "textfile.bat" if you don't have the file extentions viewable, and it is still a text file.

So enable the file extentions, and then name it mapname.bat and it should ask you if you are sure you want to change the file type. Answer Yes. This should help.
 
 
 
2007 Oct 5 at 15:29 PDT
Hic
2007 Oct 4 • 17
3 ₧
How do you enable the extension files? I see the files, but what do I do with them? :S
Hi.
 
 
 
2007 Oct 6 at 23:15 PDT
Troi

2006 Sep 11 • 115
16 ₧
Open any folder goto TOOLS > FOLDER OPTIONS
in window open VIEW tab, then check "Hide extensions for known files types"
I want to make a HL mod! Doing everythig with HL except coding C++ | its not interesting to work alone
 
 
 
2007 Oct 11 at 00:03 PDT
Hic
2007 Oct 4 • 17
3 ₧
"Troi" said:
Open any folder goto TOOLS > FOLDER OPTIONS
in window open VIEW tab, then check "Hide extensions for known files types"


It was checked already
Hi.
 
 
 
2007 Oct 11 at 00:06 PDT
SuperJer
Websiteman

2005 Mar 20 • 6629
"Hic" said:
"Troi" said:
Open any folder goto TOOLS > FOLDER OPTIONS
in window open VIEW tab, then check "Hide extensions for known files types"


It was checked already


You need to UNCHECK it, because you DON'T want it to hide anything from you.
 
 
 
2007 Oct 12 at 16:26 PDT
Hic
2007 Oct 4 • 17
3 ₧
"superjer" said:
"Hic" said:
"Troi" said:
Open any folder goto TOOLS > FOLDER OPTIONS
in window open VIEW tab, then check "Hide extensions for known files types"


It was checked already


You need to UNCHECK it, because you DON'T want it to hide anything from you.


OH! LOL WHOOPS MY BAD LOL TY!
Hi.
 
 
 
2007 Oct 13 at 16:18 PDT
Hic
2007 Oct 4 • 17
3 ₧
Okay I got the compile thing to come up but I got an .err. I can't seem to find the problem either =/ No leaks, and I have the 4 files. Not too sure about the stuff written in the .bat file though, can someone clarify on it please? I read the tutorial and I copied the same stuff, I replaced the path to C:\Program Files\Counter-Strike 1.6\cstrike\maps. And on the bottom it is C:\Program Files\Counter-Strike 1.6. Please help, thanks!
Hi.
 
 
 
2007 Oct 13 at 17:44 PDT
Hic
2007 Oct 4 • 17
3 ₧
0 brushes (totalling 0 sides) discarded from clipping hulls
CreateBrush:
Error: Entity 0, Brush 48: outside world(+/-4096): (-272,-4112,-228)-(3408,-3888,-92)
Error: brush outside world
Description: The map has a problem which must be fixed
Howto Fix: Check the file ZHLTProblems.html for a detailed explanation of this problem

Error: Entity 0, Brush 48: outside world(+/-4096): (-288,-4128,-224)-(3424,-3872,-96)
Error: Entity 0, Brush 48: outside world(+/-4096): (-272,-4112,-210)-(3408,-3888,-110)
(0.06 seconds)

I found this in the log, what's a brush?
Hi.
 
 
 
2007 Oct 15 at 01:14 PDT
Hic
2007 Oct 4 • 17
3 ₧
Nevermind, I figured it out guys. One of my edges were on the border of the sides. I realized that the map was WAYYYY to big once I got ingame, how do I make it smaller? I need everything to be around 4 times smaller than it is right now, is it possible to do that? Or do I need to remake the whole map again? I don't really want to remake it because I spent alot of time on it, it will take my a long time to make it the way it is right now 4 times smaller. Please help, thanks!
Hi.
 
 
 
2007 Oct 15 at 01:38 PDT
jrkookid
Half Irish, half NOT FUNNY

2007 May 27 • 1415
110 ₧
just try to move the walls closer to each other like move them into more of the center
 
 
 
2007 Oct 15 at 02:56 PDT
SuperJer
Websiteman

2005 Mar 20 • 6629
Note: the blocks you create are called "brushes." They just are.

To shrink everything:
You can select everything, use Transform (Ctrl+M) and then Scale everything by 0.25. Make sure to enter 0.25 for X, Y, AND Z.

Also, you should generally only scale by powers of 2. If you try to scale by, for example, 0.333 then all your objects will slip off the grid. And that's bad.
 
 
 
2007 Oct 16 at 18:22 PDT
Hic
2007 Oct 4 • 17
3 ₧
0.25 is still a bit too small, if I make it 0.25 will that make it smaller or bigger? I've tried and didn't see much difference
Hi.
 
 
 
2007 Oct 17 at 07:00 PDT
SuperJer
Websiteman

2005 Mar 20 • 6629
Bigger numbers -> bigger.
Smaller numbers -> smaller.

All it does is multiply the lengths of everything by the number you give it.

If you give it 2.0 -> it will be twice as big.
 
 
 
2007 Oct 17 at 17:36 PDT
Hic
2007 Oct 4 • 17
3 ₧
"superjer" said:
Bigger numbers -> bigger.
Smaller numbers -> smaller.

All it does is multiply the lengths of everything by the number you give it.

If you give it 2.0 -> it will be twice as big.


I found this in my .err

hlrad: Error: Exceeded MAX_PATCHES
Description: The map has a problem which must be fixed
Howto Fix: Check the file ZHLTProblems.html for a detailed explanation of this problem



What does it mean?
Hi.
 
 
 
2007 Oct 17 at 18:42 PDT
SuperJer
Websiteman

2005 Mar 20 • 6629
MAX_PATCHES means there is too much lighting to calculate in your map.

You have too many surfaces to light. You need to make your map smaller or make the lighting less detailed.

To make the lighting less detailed, change your hlrad line like this:

hlrad -chop 256 mapname

chop 64 is the default. Bigger means LESS detail and faster compiles. Smaller means more detail, slower compiles, and only works on smaller maps where it won't run out of PATCHES.
 
 
 
2007 Oct 17 at 19:01 PDT — Ed. 2007 Dec 3 at 18:23 PST
Hic
2007 Oct 4 • 17
3 ₧
"superjer" said:
MAX_PATHCES means there is too much lighting to calculate in your map.

You have too many surfaces to light. You need to make your map smaller or make the lighting less detailed.

To make the lighting less detailed, change your hlrad line like this:

hlrad -chop 256 mapname

chop 64 is the default. Bigger means LESS detail and faster compiles. Smaller means more detail, slower compiles, and only works on smaller maps where it won't run out of PATCHES.


Okay. How do I make ladders/ropes? And doors? :S
Hi.
 
 
 
2007 Oct 17 at 19:06 PDT
Hic
2007 Oct 4 • 17
3 ₧
"superjer" said:
MAX_PATHCES means there is too much lighting to calculate in your map.

You have too many surfaces to light. You need to make your map smaller or make the lighting less detailed.

To make the lighting less detailed, change your hlrad line like this:

hlrad -chop 256 mapname

chop 64 is the default. Bigger means LESS detail and faster compiles. Smaller means more detail, slower compiles, and only works on smaller maps where it won't run out of PATCHES.


How do I change the hlrad? Thanks.
Hi.
 
 
 
2007 Oct 17 at 19:30 PDT
jrkookid
Half Irish, half NOT FUNNY

2007 May 27 • 1415
110 ₧
You need:

zhlt.wad
Definition: Add this to your textures in Hammer. It gives you all the 'tool textures' that let you make cool things. Make sure to change your HLCSG line in your compile, like this:

hlcsg -wadinclude zhlt ...

or else no one will be able to play your maps. (Not needed if you use -nowadtextures.)

expert .fgd
Definition: Gives you access to ALL the entity types in CS. Unzip everything to your Hammer/fgd/counter-strike folder and tell Hammer to use the new FGD (Tools->Options->Game Configurations->Game Data Files box).

GCFScape
Definition: Allows you to open the Steam GCF files and access cstrike.wad and other important files.

The tutorial or guide:


How To Make Ladders

How To Make Rotating Doors
 
 
 
2007 Oct 17 at 19:35 PDT
Hic
2007 Oct 4 • 17
3 ₧
"jrkookid" said:
You need:

zhlt.wad
Definition: Add this to your textures in Hammer. It gives you all the 'tool textures' that let you make cool things. Make sure to change your HLCSG line in your compile, like this:

hlcsg -wadinclude zhlt ...

or else no one will be able to play your maps. (Not needed if you use -nowadtextures.)

expert .fgd
Definition: Gives you access to ALL the entity types in CS. Unzip everything to your Hammer/fgd/counter-strike folder and tell Hammer to use the new FGD (Tools->Options->Game Configurations->Game Data Files box).

GCFScape
Definition: Allows you to open the Steam GCF files and access cstrike.wad and other important files.

The tutorial or guide:


How To Make Ladders

How To Make Rotating Doors


Thank you very much for this useful post
Hi.
 
 
 
2007 Oct 17 at 21:47 PDT
SuperJer
Websiteman

2005 Mar 20 • 6629
"Hic" said:
How do I change the hlrad? Thanks.


Are you using a .bat file to compile your map? Or something else?

If you are using the .bat file then just open it in Notepad and edit the hlrad line. You just need to add -chop 256 to it.

If you are using a different method, look for the chop option, or if it lets you type in options, do.
 
 
 
2007 Oct 18 at 10:47 PDT
Hic
2007 Oct 4 • 17
3 ₧
"superjer" said:
"Hic" said:
How do I change the hlrad? Thanks.


Are you using a .bat file to compile your map? Or something else?

If you are using the .bat file then just open it in Notepad and edit the hlrad line. You just need to add -chop 256 to it.

If you are using a different method, look for the chop option, or if it lets you type in options, do.


Thank you very much admin, you've been alot of help to me. I have 1 more question/problem, am I supposed to use to Selection Tool and highlight the map from the top view by holding the top left corner of the map and drag it to the bottom right corner so it creates a dotted square box around my map. And then I press CTRL+M and type in 0.25 for X Y and Z while "scale" is selected? Because I can't seem to decrease the size of my map. Thanks again!
Hi.
 
 
 
2007 Oct 18 at 18:41 PDT
Hic
2007 Oct 4 • 17
3 ₧
"Hic" said:
"superjer" said:
"Hic" said:
How do I change the hlrad? Thanks.


Are you using a .bat file to compile your map? Or something else?

If you are using the .bat file then just open it in Notepad and edit the hlrad line. You just need to add -chop 256 to it.

If you are using a different method, look for the chop option, or if it lets you type in options, do.


Thank you very much admin, you've been alot of help to me. I have 1 more question/problem, am I supposed to use to Selection Tool and highlight the map from the top view by holding the top left corner of the map and drag it to the bottom right corner so it creates a dotted square box around my map. And then I press CTRL+M and type in 0.25 for X Y and Z while "scale" is selected? Because I can't seem to decrease the size of my map. Thanks again!


Nevermind dude, I found it. In edit, press Select All. Sorry for double posting and not checking earlier. Thanks again!
Hi.
 
 
 
2007 Oct 18 at 19:07 PDT
Page [1]