Newbie - Trying to do the basics Help me - My ZHTL file went?

Newbie - Trying to do the basics Help me - My ZHTL file went?

Hammer Mapping — Page [1]
DanielMartin
2008 Dec 14 • 8
Ok Guys
I am wicked at doing maps (Well, i got the basics.)
But then when i tried to do the ZHTL file arranging at the end.

I was baffaled.
Heres my Map.map File

@echo off
hlcsg -nowadtextures FirstStarterMap
hlbsp FirstStarterMap
hlvis FirstStarterMap
hlrad FirstStarterMap
FirstStarterMap.bsp "C:\Program-Files\Steam\SteamApps\bengoldie\condition-zero\cstrike\maps"
pause
"C:\Program-Files\Steam\Steam.exe" -applaunch 10 -dev +sv_cheats 1 +map FirstStarterMap

I have steam.
My Map Folder for Counterstrike is located as follows...
C:Program Files - Steam - Steamapps

What am i doing wrong ... Someone Help me.
Also my Map name is Map
 
 
 
2008 Dec 14 at 01:55 PST
eDan Co.
Mighty Typist

Real Live Hands-On Rabbi Medal
Consolation Medal
2007 Sep 24 • 2921
252 ₧
What do you get when you try to run it?
May contain traces of invisible text.
 
 
 
2008 Dec 14 at 02:01 PST
DanielMartin
2008 Dec 14 • 8
Well When i double click the file

It just comes up as the file with all the text in
Which i put in the post above.

No command prompt, nothing zilch
 
 
 
2008 Dec 14 at 02:01 PST
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
DanielMartin said:
Well When i double click the file

It just comes up as the file with all the text in
Which i put in the post above.

No command prompt, nothing zilch

you have to save it as a .bat file as it says in the tut.
In the notepad go under Save as, change type to all types and under name write Map.bat then save.
...and that's the bottom line because Mate de Vita said so.
 
 
 
2008 Dec 14 at 02:03 PST — Ed. 2008 Dec 14 at 02:04 PST
eDan Co.
Mighty Typist

Real Live Hands-On Rabbi Medal
Consolation Medal
2007 Sep 24 • 2921
252 ₧
Ok, so you saved it as a TXT-file. Open it in notepad, go to File-> Save as...

Name - mapname.bat
Type - All file types

Now when you name the file the the BAT ending, it will actually be a BAT-file.
May contain traces of invisible text.
 
 
 
2008 Dec 14 at 02:04 PST
DanielMartin
2008 Dec 14 • 8
@echo off
hlcsg -nowadtextures Map
hlbsp Map
hlvis Map
hlrad Map
Map.bsp "C:\Program-Files\Steam\SteamApps\bengoldie\condition-zero\cstrike\maps"
pause
"C:\Program-Files\Steam\Steam.exe" -applaunch 10 -dev +sv_cheats 1 +map Map

Ok at the top of notepad it says the following...

Map.bat

Ok So far?
 
 
 
2008 Dec 14 at 02:07 PST
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
what happens if you run it now?
...and that's the bottom line because Mate de Vita said so.
 
 
 
2008 Dec 14 at 02:18 PST
DanielMartin
2008 Dec 14 • 8
It just opens the text document again
 
 
 
2008 Dec 14 at 02:20 PST
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
DanielMartin said:
It just opens the text document again

What icon does it show beside this file in the folder where your file is located? A notepad icon?
If so then you probably didn't save it correctly.
Try this:
go under folder options and uncheck the hide file extensions. Then see whether the file has a .txt or a .bat at the end of the name. If it has a .txt change it to .bat and run it.
...and that's the bottom line because Mate de Vita said so.
 
 
 
2008 Dec 14 at 02:23 PST
DanielMartin
2008 Dec 14 • 8
Right I've checked the properties

It is a txt.file

But it needs a program to open with for me to change the actuall file type instead of just simply adding a new name to it
 
 
 
2008 Dec 14 at 02:26 PST
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
DanielMartin said:
Right I've checked the properties

It is a txt.file

But it needs a program to open with for me to change the actuall file type instead of just simply adding a new name to it

Are you sure you saved as eDan told you in the notepad (you MUST select all types under type, otherwise it will save it as a .txt. Also you have to write .bat at the end of the name)?
...and that's the bottom line because Mate de Vita said so.
 
 
 
2008 Dec 14 at 02:29 PST
DanielMartin
2008 Dec 14 • 8
Ok I'm Using Windows Vista
When i save as "It."

I put in Map.bat

But it still comes up as a .txt file

Also There are only two options i can select when saving

All Files Or Text Documents
 
 
 
2008 Dec 14 at 02:33 PST
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
DanielMartin said:
Ok I'm Using Windows Vista
When i save as "It."

I put in Map.bat

But it still comes up as a .txt file

Also There are only two options i can select when saving

All Files Or Text Documents

select all files...
...and that's the bottom line because Mate de Vita said so.
 
 
 
2008 Dec 14 at 02:34 PST
DanielMartin
2008 Dec 14 • 8
Yeah but when i save it

It says

Confirm to save as Map.bat.txt

I CANT CHANGE THE TXT!!!!!!!!!!
 
 
 
2008 Dec 14 at 02:35 PST
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
god freakin windows vista...
wait I'll be right back on my xp computer.
...and that's the bottom line because Mate de Vita said so.
 
 
 
2008 Dec 14 at 02:37 PST
scorch-1995

2008 Dec 7 • 46
DanielMartin said:
Yeah but when i save it

It says

Confirm to save as Map.bat.txt

I CANT CHANGE THE TXT!!!!!!!!!!


Try doing the whole thing again. Make a file, call it what name you want for your map.bat and then right-click, edit and write it in. Please don't get pissed that you already knew it. I'm a noob. I'm just trying to help.
You say "pls", because it is shorter then "please", I say "no" because it is shorter than "yes".
 
 
 
2008 Dec 14 at 02:40 PST
scorch-1995

2008 Dec 7 • 46
scorch-1995 said:
DanielMartin said:
Yeah but when i save it

It says

Confirm to save as Map.bat.txt

I CANT CHANGE THE TXT!!!!!!!!!!


Try doing the whole thing again. Make a file, call it what name you want for your map.bat and then right-click, edit and write it in. Please don't get pissed that you already knew it. I'm a noob. I'm just trying to help.


Oh, yeah and try redirect it to C:/Program Files/Valve/cstrike/maps Steamapps didn't work for me.
You say "pls", because it is shorter then "please", I say "no" because it is shorter than "yes".
 
 
 
2008 Dec 14 at 02:42 PST
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
OK.
Open the folder in which your file is located. Do the file extensions of all the files in the folder show (like .exe, .bat, .txt...)?
If they don't then try to find something similar to (this is in XP):
Tools->Folder Options->View->Hide extensions for known file types
Uncheck this.

Then click on the file in the folder, press F2 and try renaming it to Map.bat. If it asks you if you really want to change the name, because the file could become unusable blah blah blah click yes.
...and that's the bottom line because Mate de Vita said so.
 
 
 
2008 Dec 14 at 02:52 PST
DanielMartin
2008 Dec 14 • 8
Omg your having a laugh.

WINDOWS VISTA IS BULLSHIT!

I CANT DO FUCKING ANYTHING

I wana make a Condition Zero Map ok?

I opened that file with hammer, nothing on it.

ARRRRRGGGGGHHHHHHHHHHHHHHHGHH

Btw Do you have xfire - itsz quicker and easier to tlk and i can send u the docs.
 
 
 
2008 Dec 14 at 02:58 PST
Page [1]