error compiling

error compiling

Hammer Mapping — Page [1]
jozz
2009 Feb 26 • 8
i'm newbie to make a map

i have a problem in compile problem
i used this link to help me
http://www.superjer.com/learn7.php
i've followed the instruction and the problem is
When you're sure you have it right, save the file and close Notepad. Then double click on the file 'mapname.bat' to run it. Lot's of confusing stuff will show up in a command window as ZHLT compiles your map. When it is done you will see (at the bottom):

but my computer doesn't respond anything
it was just a note. nothing happened

can anyone help??
 
 
2009 Mar 1 at 05:49 PST
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
eDan Co. said:
Q: Why is my BAT-file opening in notepad?

You probably saved the file with the BAT extension, but its still a TXT-file. When saving the file in notepad, make sure you use 'Save as...' and set Save as type to 'all file types'. Save the file with the BAT extension and nothing after it!
...and that's the bottom line because Mate de Vita said so.
 
 
2009 Mar 1 at 06:07 PST
jozz
2009 Feb 26 • 8
i have another problem. -texdata # : Alter maximum texture memory limit (in kb)
-chart : display bsp statitics
-low | -high : run program an altered priority level
-nolog : Do not generate the compile logfiles
-threads # : manually specify the number of threads to run
-estimate : display estimated time during compile
-verbose : compile with verbose messages
-noinfo : Do not show tool configuration information
-dev # : compile with developer message

-colourgamma r g b : Sets different gamma values for r, g, b
-colourscale r g b : Sets different lightscale values for r, g ,b
-colourjitter r g b : Adds noise, independent colours, for dithering
-jitter r g b : Adds noise, monochromatic, for dithering
-nodiffuse : Disables light_environment diffuse hack
-nospotpoints : Disables light_spot spherical point sources
-softlight r g b d : Scaling values for backwards-light hack

-customshadowwithbounce : Enables custom shadows with bounce light
-rgbtransfers : Enables RGB Transfers (for custom shadows)

mapfile : The mapfile to compile

The system cannot find the file specified.
Press any key to continue . . .

is there anything wrong??
ican't find any mapname.err
but when i try to play but nothing happened again
 
 
2009 Mar 1 at 23:58 PST
Killer-Duck
Homicidal Anatidae

2008 Mar 5 • 1169
633 ₧
Post the content of your .bat-file.
QUACK! QUACK!
 
 
2009 Mar 2 at 00:27 PST
jozz
2009 Feb 26 • 8
@echo off
hlcsg -nowadtextures tutorial map1
hlbsp tutorial map1
hlvis tutorial map1
hlrad tutorial map1
copy mapname.bsp "C:\Counter-Strike 1.6\cstrike\maps"
cd C:\Counter-Strike 1.6
pause
hl -dev -console -game cstrike +sv_cheats 1 +tutorial map1
 
 
2009 Mar 2 at 23:51 PST
Killer-Duck
Homicidal Anatidae

2008 Mar 5 • 1169
633 ₧
Quote:
hlcsg -nowadtextures tutorial map1


A map-name cannot contain spaces, re-name the map to tutorial_map1 instead or something like that...
QUACK! QUACK!
 
 
2009 Mar 3 at 04:39 PST — Ed. 2009 Mar 3 at 04:40 PST
jozz
2009 Feb 26 • 8
it said

----- BEGIN hlvis -----
Command line: hlvis tutorial_map1
>> There was a problem compiling the map.
>> Check the file tutorial_map1.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 tutorial_map1
>> There was a problem compiling the map.
>> Check the file tutorial_map1.log for the cause.

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



The system cannot find the file specified.
Press any key to continue . . .

there is the err file
it said hlcsg: Error: Could not open wad file \program files\counter-strike 1.6\cstrike\mod\cstrike.wad

hlcsg: Error: Could not find WAD file
Description: The compile tools could not locate a wad file that the map was referencing.
Howto Fix: Make sure the wad's listed in the level editor actually all exist


i don't understand
 
 
2009 Mar 3 at 04:54 PST
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
First of all, the compile tools have to be on the same drive (so in this case C:\) as your Counter-Strike folder or wherever your wad files are. So if they aren't, move them there.

If they are, make sure that you haven't deleted the wad file you're using and that you have the correct path to it in hammer.
...and that's the bottom line because Mate de Vita said so.
 
 
2009 Mar 3 at 06:16 PST — Ed. 2009 Mar 3 at 08:08 PST
jozz
2009 Feb 26 • 8
which wad do you mean ?
 
 
2009 Mar 3 at 23:50 PST
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
jozz said:
which wad do you mean ?

All the wads that you are using... Tools->Options->Textures and see what wads are on the list.
...and that's the bottom line because Mate de Vita said so.
 
 
2009 Mar 4 at 01:32 PST — Ed. 2009 Mar 4 at 01:33 PST
jozz
2009 Feb 26 • 8
o yea
in the text.bat
it said copymapname.bsp "c:......

what did we write for this one

and

cd c:......
 
 
2009 Mar 5 at 00:08 PST
jozz
2009 Feb 26 • 8
what is it mean??

10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.44 seconds)
visibility matrix : 0.1 megs
BuildVisLeafs:
30%... (0.13 seconds)
MakeScales:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.25 seconds)
SwapTransfers:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.03 seconds)
Transfer Lists : 1014272 : 1.01M transfers
Indices : 7872 : 7.69k bytes
Data : 4057088 : 3.87M bytes
Bounce 1 GatherLight:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.13 seconds)
FinalLightFace:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.30 seconds)
1.34 seconds elapsed

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



The system cannot find the path specified.
0 file(s) copied.
The system cannot find the path specified.
Press any key to continue . . .

it comes out this
but there is no err file
 
 
2009 Mar 16 at 22:55 PDT
Killer-Duck
Homicidal Anatidae

2008 Mar 5 • 1169
633 ₧
In the .bat file you posted earlier you didn't change the "mapname" to the actual name of your map for the copy-command:

Quote:

@echo off
hlcsg -nowadtextures tutorial map1
hlbsp tutorial map1
hlvis tutorial map1
hlrad tutorial map1
copy mapname.bsp "C:\Counter-Strike 1.6\cstrike\maps"
cd C:\Counter-Strike 1.6
pause
hl -dev -console -game cstrike +sv_cheats 1 +tutorial map1
QUACK! QUACK!
 
 
2009 Mar 17 at 00:08 PDT
jozz
2009 Feb 26 • 8
I have changed it
but it is still the same
 
 
2009 Mar 18 at 01:57 PDT
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
 
 
2009 Mar 18 at 03:56 PDT
Killer-Duck
Homicidal Anatidae

2008 Mar 5 • 1169
633 ₧
Make sure the paths in the .bat-file are correct.

Also, I think the path after cd needs to be inside quotes since it contains spaces:
Quote:

cd "C:\Counter-Strike 1.6"
QUACK! QUACK!
 
 
2009 Mar 18 at 06:34 PDT
Page [1]