![]() |
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Member
Hostage
Join Date: Aug 2008
Posts: 2
|
I have everything setup correctly in the options, but when I hit F9 to run the map and select OK, it crashes and leaves no error message. The only idea I have is that the first time this happened, a Data Execution Prevention message came up, and I added Valve Hammer Editor to the list. But now it still closes but with no message and I'm not sure why.
|
|
|
|
|
|
#2 (permalink) |
|
Moderator
THE ARCHITECT!
Join Date: Jun 2008
Location: USA
Posts: 2,196
|
What does the error message say? How big and detailed is the map? What start up commands have you put in to the start up options, if any? What are the compile settings set to? What mod are you mapping? What are your computer specs?
__________________
^^^Topic area^^^ CS:S servers: Signature area 207.210.236.122:27015 -]ToC[- Tac-ops | RPG/DM | Recruiting 72.249.10.136:27015 -]ToC[- Tac-ops | Surf maps | Recruiting Website: www.tocclan.net Forums: www.tocclan.net/forums Looking for a server? Try CS.Com. |
|
|
|
|
|
#3 (permalink) |
|
Member
Hostage
Join Date: Aug 2008
Posts: 2
|
It turns out my problem had nothing to do with the Data Execution Prevention. I found on another site that Valve Hammer Editor would crash because of too many .wad textures (i had like 100 maybe) so i reduced it to under 20 and everything runs fine now.
Thanks for your reply though. |
|
|
|
|
|
#4 (permalink) |
|
Member
Hostage
Join Date: Sep 2008
Posts: 13
|
the best way ,i think is to use an separated compilation tool
1- download the ZHLT Windows executables. (google it to get the lasted version),That file should be a ZIP file so go ahead and extract all the files in it to a new folder on your hard drive. A good place for this is: c:\zhlt\ 2- Open that folder so you are looking at the contents: If you do not see file extensions on your files, like the '.exe', '.txt' above, then Don't see file extensions on your computer? You need to disable extension hiding in Windows. All you have to do is click Tools -> Folder Options on the menu bar of an open folder. Then click the View tab on the window that pops up. Locate "Hide extensions for known file types" and make sure it is NOT checked. Then click OK and you're done! 3- reate a new text document by right clicking in the white-space and then using the pop-up menu. Name the file 'mapname.bat' where mapname is what you decided to call your map. 4- Go back into Hammer and click File->Export to .MAP. Save you map as 'mapname.map' in the folder where you just created 'mapname.bat'. Then close Hammer and go back to the folder where 'mapname.bat' is. 5- Now right click on 'mapname.bat' and choose Edit. This should cause Notepad to open with nothing in it. Type the following stuff into the document exactly as shown, replacing 'mapname' with whatever name you are actually using: Without Steam @echo off hlcsg -nowadtextures mapname hlbsp mapname hlvis mapname hlrad mapname copy mapname.bsp "C:\half-life\cstrike\maps" cd C:\half-life pause hl -dev -console -game cstrike +sv_cheats 1 +map mapname "C:\half-life" may not be the correct location of Half-Life on your computer. Make sure you type the correct location on both the lines where it says that. With Steam @echo off hlcsg -nowadtextures 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 +sv_cheats 1 +map mapname "C:\Steam" may not be the correct location of Steam on your computer. Make sure you type the correct location on both the lines where it says that. Also replace "EMAIL" with your account name. And if you do not have a "maps" folder, create one. -6 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): Press any key to continue . . . Now do NOT press a key! First make sure nothing went wrong. Look in the folder where 'mapname.bat' is and if you see a new file called 'mapname.err' then your map FAILED to compile. If it failed Have a map compile error? Don't feel bad. Everybody gets these and all the time. In the command window press CTRL-C to abort the process. Type Y if it asks for (Y/N). Now fix the problem -- here's what you should do: * Make sure you typed everything correctly in your .bat file. * Make sure your .map file is in the folder with your .bat file. * Make sure hlcsg.exe, hlbsp.exe, hlvis.exe, and hlrad.exe are in the folder, too. If it still doesn't work, open the file 'mapname.err' in Notepad. It will have a brief description of what went wrong. If it says LEAK or other errors then you should know what to do from the Zhlt official site >Compilation errors. Last edited by twinrrazzor; 09-08-2008 at 05:09 PM. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Valve Hammer Editor help? | Craig25 | General Talk | 10 | 11-19-2008 04:00 PM |
| Valve Hammer Editor Confusing Problem | gM.kRew | Mapping | 3 | 06-02-2008 07:41 PM |
| Need Help For Valve | Christian9872 | Counter Strike 1.6 | 2 | 03-19-2008 04:56 PM |
| hammer Editor map making? | Snowman | CS: Source | 1 | 02-03-2008 02:22 AM |
| Valve Hammer Editor simple question | snipingkid | CS: Source | 1 | 08-08-2007 05:20 PM |