Search
Username:
Password:
Register or Reset Password
Remove the ads!
A Fast Way To Compile Your Maps
Difficulty: Beginner
Category: CS > MappingAuthor(s): http://www.superjer.com
Did you create this? Request ownership

This tutorial works with Valve Hammer Editor only! (I think)

I'm assuming that you have set up hammer properly and have Zoner's Half Life Tools (ZHLT).If you don't then you can get it here

Now make sure your .rmf file is in the same folder as ZHLT. In the blank space right click on your mouse, select new and then text file. Type (mapname).bat and press enter. Your text file should now have become
a batch file. (mapname) might not be your map's name, so change it to your map's name. Right click on (mapname).bat and select edit. For non-Steam type this:

@echo off
hlcsg (mapname)
hlbsp (mapname)
hlvis (mapname)
hlrad (mapname)
copy (mapname).bsp "C:\Counter-Strike\cstrike\maps"
cd C:\Counter-Strike
pause
hl -dev -console -game cstrike +map (mapname)

Where it says Counter-Strike it might not be the name of your CS folder, so change it if not to your CS folder name. Replace (mapname) with your map's name.
For Steam users type this:

@echo off
hlcsg (mapname)
hlbsp (mapname)
hlvis (mapname)
hlrad (mapname)
copy (mapname).bsp "C:\Steam\SteamApps\EMAIL\counter-strike\cstrike\maps"
pause
"C:\Steam\Steam.exe" -applaunch 10 -dev +map (mapname)

Again change (mapname) to your map's name and change EMAIL to your email. Now save the file and open up Hammer to your map. Click file and then export to .map. Make sure your .map file is in the same folder as your .bat file. Double click (mapname).bat and wait. When the Dos Prompt say press any key to continue, look into your folder where the (mapname).bat is. If there is a (mapname).err file then your map has an error. Otherwise, press any key.

If you have an error then either double click (mapname).log or open up (mapname).err with notepad. It will show what errors there are. I'm not going to tell you how to fix those errors.

After the game finished loading, you might spawn automatically as a CT with no weapon or a crosshair. It happens to me every single time. If you just want to test your map, then don't do anything and just explore. If you want to play it for fun and at the same time test it, press Esc, select new game, pick your map, and click start game.
Added: 9 months agoTags: fast, compile, maps
Feedback (17)
Page of 2   1 2 Next Page
DarkMaiku .
BananiteY2M
Posted 1 month ago
What am I Exactly supposed to do? Could some one please make a noob friendly tut...
- Bananite
Deadmonkey .
Y2M
Posted 2 months ago
My text document is not getting a bat file ! :o i did everything u said about that text document but it's still a normal text file ;/
iKrazyMaps4u .
BananiteY2M
Posted 3 months ago
Edit:".map fix"

---------------------------------------------------------------------------------------------------

Author Qoute:

"@echo off
hlcsg (mapname)
hlbsp (mapname)
hlvis (mapname)
hlrad (mapname)
copy (mapname).bsp "C:\Steam\SteamApps\EMAIL\counter-strike\cstrike\maps"
pause
"C:\Steam\Steam.exe" -applaunch 10 -dev +map (mapname) "

---------------------------------------------------------------------------------------------------

"My Correction" His isn't wrong or bad (mostly) but this is more efficient if you wish to do more than just play on it. (Sharing it on FPSBanana.com :) or another place)

@echo off
hlcsg (mapname).map <<---
hlbsp (mapname).map <<---
hlvis (mapname).map <<---
hlrad (mapname).map <<---
copy (mapname).bsp "C:\Documents and Settings\COMPUTER NAME\Desktop"
pause

---------------------------------------------------------------------------------------------------


Please know something about it before you post, dont just copy and paste.. ^,^

ALSO.. Check the Command Prompt to see if anything has gone wrong with your map compiling.. It should be pretty noticeable if it did..

If you would like any help with mapping just ask, I should be able to answer most of your questions. :)

I WILL TRY TO FIX ALL YOUR MAP PROBLEMS IF YOU GIVE ME DETAILS AND MAYBE PICTURES!!!
- Bananite
Flipstip .
BananiteY2M
Posted 4 months ago
When I start my map, it says:"starting local game server" then it loads 6 blocks, and then it just does nothing...
- Bananite
nighttarga .
Shine on you, crazy diamond.Y2M
Posted 4 months ago
There is a faster way i use:
write all that stuf in the notepad
save it as mapname
it will appear the batch file and everitime you make a map name it mapnane put it on the same file the bacth is an just press the batch file everity me you going tuo compile to avoid al wais having to off the ('s.
Flipstip .
BananiteY2M
Posted 4 months ago
Posted by Flipstip

I can compile my map, but when I test it it says: "WARNING: clouldn't open c.wad" but I never had a file called c.wad, so I copied and renamed another .wad file, but then the program doesn't react anymore -or how does taskmanager say it in English?- ...

Never mind, I found out what was wrong: I used to many WAD files, but now I merged them with wally...
Great tutorial!
- Bananite
Flipstip .
BananiteY2M
Posted 4 months ago
I can compile my map, but when I test it it says: "WARNING: clouldn't open c.wad" but I never had a file called c.wad, so I copied and renamed another .wad file, but then the program doesn't react anymore -or how does taskmanager say it in English?- ...
- Bananite
tgskills .
BananiteY2M
Posted 4 months ago
Whenever I make a map and go to play it I get around 5 fps, when I average around 50-60. Can anyone tell me why? Ive seen
on some maps where it has the creator the compiler also. I was wondering if anyone knows how to compile right, or anything.
Thomas for the help!
- Bananite
orcamoda .
OMG ZerogravityY2M
Posted 5 months ago
Pros: helpful, very easy and useful
Cons: repetitive
Improvements: explanation of use in hammer
Notes: None
leRuN .
Bananiteee :DY2M
Posted 8 months ago
To author:dude,i am ready,i made my first map AND YOU ARE THE BEST :D
- Bananiteee :D
Page of 2   1 2 Next Page
Add Feedback
Provide constructive feedback. What is "constructive"?
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.
Assessment
The community's verdict.
User Rating [+]
6/10
bScore
6.0/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This Tutorial in a nutshell...
No stamps recorded
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.



Added by...
AceTrigger .
I Hate Moderators And Administrators
Ranked 951st ( 3) with 2,092 points. 4 points behind fishy_joe .

[+] Donate
Related Tutorials