Hammer Compiling


dErOp sHeEp
10-31-2005, 05:26 PM
QUOTE
_________________________________
I HAVE searched the net, found every last thing on how to design a map, and how to set up Hammer, I searched the forums and found this; http://forums.steampowered.com/foru...ght=hammer+help
So I have looked, but unsuccessfully
_________________________________

I can design a map sweet, compiling is my problem. If someone understands where I am coming, pointing me in the right direction would be much appreciated, otherwise, the following details would be helpful from someone who has Hammer up and running;

Under Tools/Options, on the 'Game Configurations' tab, what I should have in each field. Don't worry about my Steam directory I know where that is, it is just after, for eg.; G:/program files/valve/steam/steamapps/(my account) - that I get lost.

** I am trying to set this up to work with DoD, so (I think) some of them are going to be half life directories and some DoD **

Also, the details from the 'Build Programs' tab, I do have the correct directories for the CSG, BSP, VIS, RAD compile programs.

Any help would be appreciated.

... And off the side, if anyone does, would it just be easier to set up DoD retail on a separate partition and use that, i get the impression it is hard to map with Steam for reasons other than locked GCF's.

dErOp sHeEp.
UNQUOTE

I origanally posted on stempowered.com but no one was much help, the details I mentioned above would be most helpful.

StreamlineData
10-31-2005, 06:36 PM
I, personally, am slightly confused by your post... but... from what I *think* I understand by your cry for help.......

(here's how I got my DOD1.3 for Hammer set up):

Game Executable Directory
C:\Program Files\Steam\SteamApps\[email here]\day of defeat

Mod Directory
C:\Program Files\Steam\SteamApps\[email here]\day of defeat\dod

Game Directory
C:\Program Files\Steam\SteamApps\[email here]\day of defeat\dod

RMF Directory
i left this empty

Is this what you were asking about?

If you get an actual compiling problem, copy+paste the error here.

dErOp sHeEp
11-01-2005, 12:13 AM
Have applied this settings, that was helpful - I have a lot to say and will post back later, am a bit busy right now,

thanks,

dErOp sHeEp
11-01-2005, 01:44 AM
OK applied those changes here is a screenshot (my account name is blotted out).

http://img398.imageshack.us/img398/6703/dod28fa.jpg

Also here is a screenie of the 'build programs tab', if someone could confirm that it is correct. :)

http://img389.imageshack.us/img389/3593/blah28mk.jpg

Now, once I have that sorted and correct my next problem is the run game window, in advanced mode it looks like this:

http://img378.imageshack.us/img378/9954/dgfafgadgfadfg0wm.jpg

The problem is likely a setup problem, as you can see the 'configurations' derop down menu has 'Half-Life (full)' selected, there are four others;

Half-Life: Counter-Strike
" " Opposing Force
" " Team Fortress
there is also one that JUST says Day of Defeat, I am dead certain I created this one (probably had no idea what I was doing) when I click on it it displays none of the tickboxes and jargon under the 'Compile/run commands' field so I obviously have (created it myself).

When I click go!, Hammer exits, and nothing happens, hl does not load.

I am hoping that someone can pick up what is wrong here, and set me straight, compare it with your own.

tell me if there is a lapse,
thanks,

dErOp sHeEp
11-02-2005, 05:05 PM
Could someone please crosscheck this with theirs, how do I set up a field in the 'Run Map' window for DoD, I remember something about not being able to simply type out the strings in the 'Compile/run commands' window.

Or, as always point me in the right direction with a tutorial. I am yet to find a good one on setting up Hammer, it's not hard to get to know the tools.

StreamlineData
11-02-2005, 07:55 PM
Ok... I wrote this tutorial a really long time ago... and others would probably have a better way to do it. But here's the way I have my Hammer 3.5 configured:
==============================================

This is a Hammer 3.4/3.5 set-up tutorial according to my config. If anyone has anything to add, well.. just post it here.
This is for anyone who has any interesting in mapping.

I have posted this earlier... somewhere... but it looks like it was deleted.
=================
I'm using the old 3.5 beta version (which you'll have to download here (http://members.shaw.ca/anguscheng/DOD/hammer_testbuild04.zip)). I'm having a real problem with 3.5 for HL2.....

I think I'll start right at the beginning just to cover all the setup basics.... just in case.

*opens up hammer 3.5 beta*
Here's what I did. I went to the VERC and downloaded the most recent FGD files:
FGD 1 - dod.fgd (http://members.shaw.ca/anguscheng/DOD/dod_fgd_01.zip)
FGD 2 - halflife-DOD2-expert.fgd (http://members.shaw.ca/anguscheng/DOD/halflife_fgd_02.zip)
and saved them to:
%Hammer Dir%/fgd/day of defeat/

Game Configurations tab
I then created a new config (easy to figure out) :
1) Under "Configuration:" there's the "Edit" button.
2) click "Add", bla bla bla, go "ok", click "close"

Under "Game Data files:" click "Add" and add the 1 FGD file included with hammer as well as the two that you downloaded.

Under "Texture Format:" select "WAD3 (HalfLife / TFC)"
Under "Map Type:" select "HalfLife / TFC"

Under "Default Point Entity class:" select "info_player_allies"
Under "Default SolidEntity class:" select "func_wall"

ok.
For "Game Executable Directory"
C:\Program Files\Steam\SteamApps\*your account email*\day of defeat

For "Mod Directory"
C:\Program Files\Steam\SteamApps\*your account email*\day of defeat\dod

For "Game Directory"
C:\Program Files\Steam\SteamApps\*your account email*\day of defeat\dod

and leave "RMF Directory" alone.

Build Programs tab
Under "Configuration" select the most obvoius to you ;)

For "Game executable:"
C:\Program Files\Steam\SteamApps\*your account email*\day of defeat\hl.exe

ok ok ok.... the next four fields would be assuming you've already downloaded the latest build of ZHLT (which you can get right here (http://downloads.ammahls.com/zhlt/zhlt321.zip))

For "CSG executable:"
%Hammer Dir%\ZHLT\hlcsg.exe

For "BSP executable:"
%Hammer Dir%\ZHLT\hlbsp.exe

For "VIS executable:"
%Hammer Dir%\ZHLT\hlvis.exe

For "RAD executable:"
%Hammer Dir%\ZHLT\hlrad.exe

And for "Place compiled maps in this directory........blablabla"
This is your choice:
1) If you want to test your map immediately after compile, then you would put it in the standard dod maps folder.
2) If you prefer to manually copy it to the maps folder (easier to keep track of imho), then you can just choose whatever folder.

Remember, this is not where you save your maps..... this is where the .BSP would be going.

Textures tab
This is pretty simple. Just goto your
day of defeat/dod/
folder and you'll find a whole bunch of WAD textures. You just add that one by one to this area.

Compiling
This is pretty easy. (Go to Expert Mode)
You'll want to copy the settings as Counter-Strike. Easy to figure out.. whatever.

In one of the command settings, "$game_exe", the parameter, "-game cstrike" should obviously be changed to "-game dod".

In my config, I have the "run game automatically" unchecked because I put my map output to a different folder. If you want to run the game automatically, you should have chosen your .bsp output folder to the standard dod maps directory.

Other Stuff
Any help you need you can probably find anywhere. However, the most informative forum would be on the dayofdefeat.com forums
http://www.dayofdefeat.com/forums/forumdisplay.php?s=&forumid=10

hope this all helps!

dErOp sHeEp
11-02-2005, 09:54 PM
You are amazing, thank you so much, I will go through it now and get back to you.

:D :D :D
Thanks

StreamlineData
11-02-2005, 10:00 PM
Originally posted by dErOp sHeEp
You are amazing, thank you so much, I will go through it now and get back to you.

:D :D :D
Thanks you're welcome :)
As I said, if other mappers see it and has a better way of setting it up, then you can try their way... but mine has worked pretty okay so far.

oh, before you compile, there's a command... i forgot where to add it... but the command is:
-wadinclude
or something like that. It's so that your map doesn't have to reference any WAD files. All the textures are included with your map. Yeah, it makes the map file bigger, but trust me, unless you're using default textures, it makes life a helluva lot easier just to include it.

kimball
11-02-2005, 10:16 PM
http://www.mardymouse.co.uk/modules.php?name=Content&pa=showpage&pid=1

commander keen
11-02-2005, 11:37 PM
awesome tut thanks!

question though, when i go to compile i get errors.

this is what i get** Executing...
** Command: "c:\program files\valve\steam\steamapps\<your email>\sourcesdk\bin\vbsp.exe"
** Parameters: -game "c:\program files\valve\steam\steamapps\cer_keen\day of defeat source\dod" "C:\Program Files\Valve\Steam\SteamApps\cder_keen\sourcesdk_co ntent\b"

* Could not execute the command:
"c:\program files\valve\steam\steamapps\<your email>\sourcesdk\bin\vbsp.exe" -game "c:\program files\valve\steam\steamapps\corkeen\day of defeat source\dod" "C:\Program Files\Valve\Steam\SteamApps\comkeen\sourcesdk_cont ent\b"
* Windows gave the error message:
"Access is denied."

** Executing...
** Command: "c:\program files\valve\steam\steamapps\<your email>\sourcesdk\bin\vvis.exe"
** Parameters: -game "c:\program files\valve\steam\steamapps\comkeen\day of defeat source\dod" -fast "C:\Program Files\Valve\Steam\SteamApps\coder_keen\sourcesdk_c ontent\b"

* Could not execute the command:
"c:\program files\valve\steam\steamapps\<your email>\sourcesdk\bin\vvis.exe" -game "c:\program files\valve\steam\steamapps\cer_keen\day of defeat source\dod" -fast "C:\Program Files\Valve\Steam\SteamApps\co_keen\sourcesdk_cont ent\b"
* Windows gave the error message:
"Access is denied."

** Executing...
** Command: "c:\program files\valve\steam\steamapps\<your email>\sourcesdk\bin\vrad.exe"
** Parameters: -game "c:\program files\valve\steam\steamapps\coeen\day of defeat source\dod" -noextra "C:\Program Files\Valve\Steam\SteamApps\comr_ke\sourcesdk_cont ent\b"

* Could not execute the command:
"c:\program files\valve\steam\steamapps\<your email>\sourcesdk\bin\vrad.exe" -game "c:\program files\valve\steam\steamapps\commen\day of defeat source\dod" -noextra "C:\Program Files\Valve\Steam\SteamApps\comr_keen\sourcesdk_co ntent\b"
* Windows gave the error message:
"Access is denied."

** Executing...
** Command: Copy File
** Parameters: "C:\Program Files\Valve\Steam\SteamApps\commanen\sourcesdk_con tent\b.bsp" "C:\Program Files\Valve\Steam\SteamApps\<your email>\day of defeat source\dod\maps\b.bsp"

The command failed. Windows reported the error:
"The system cannot find the file specified."

any ideas of what i did wrong? i followed the tut as far as i know correctly.

StreamlineData
11-03-2005, 12:45 AM
Originally posted by commander keen
awesome tut thanks!

question though, when i go to compile i get errors.

this is what i get

any ideas of what i did wrong? i followed the tut as far as i know correctly. oh, commander... the instructions i gave were for hammer 3.4/3.5 - Mapping for DOD 1.3 not Source. Sheep was having trouble compiling for a map in 1.3.

You want a set up tutorial for Hammer 4. Here's a really good one since the SDK isn't out for DODS yet:
http://www.dayofdefeat.com/forums/showthread.php?s=&threadid=55247

dErOp sHeEp
11-03-2005, 02:01 AM
Originally posted by StreamlineData
oh, commander... the instructions i gave were for hammer 3.4/3.5 - Mapping for DOD 1.3 not Source. Sheep was having trouble compiling for a map in 1.3.

You want a set up tutorial for Hammer 4. Here's a really good one since the SDK isn't out for DODS yet:
http://www.dayofdefeat.com/forums/showthread.php?s=&threadid=55247

===
Too true, I can run DOD:S with about 30FPS max, and I don't like it anyway, hence I'm not interested in mapping for it. It does however amuse me that you tagged on the end of my thread...
===

I have looked at MardyMouse before, as you can see it still doesn't have anything on compiling, but there is a link now :)

so much to say, will talk tomorow.

kimball
11-03-2005, 06:09 PM
Well, the tut I posted is for 1.3 the old version. From the looks of your compile you are building something for dod:source.

Which game are you mapping for?

StreamlineData
11-03-2005, 07:40 PM
Originally posted by kimball
Well, the tut I posted is for 1.3 the old version. From the looks of your compile you are building something for dod:source.

Which game are you mapping for? Who are you asking?

The tutorial I posted is for 1.3 (as I've repeatedly stated before).

Sheep already stated that he doesn't like Source much, so he's only interested in mapping for 1.3.

Commander... I have no idea. I think he got confused between Hammer 3.5 and Hammer 4... and accidentally set up his Hammer 4 for mapping for 1.3. Either that, or he actually means to map for source but misunderstood my tutorial and applied my instructions to mapping for Source.

Note:
When I say "Hammer 3.4/3.5" I'm referring to a seperate program that is not included in the Source SDK.

Hammer 4 *is* the program that you get when you open up the Source SDK and open "Valve Hammer Editor".

commander keen
11-03-2005, 09:45 PM
yea thats probably one prob i'm having.

i am attempting to map for source, now i tried that tutorial also and i got the same error problem.

maybe i'll ask about in that thread unless anyone would know why it might be giving me that error since it doesn't seem to be correlated with what setup i'm using

dErOp sHeEp
11-04-2005, 03:05 AM
===
Streamline

I followed that, here is:

http://img494.imageshack.us/img494/2023/untitled2327xv.jpg

If something is wrong there give me a shout,
===

Now, when I click go to compile my map, Hammer exits, and nothing happens. I am on 56k and leave Steam running in 'Online Mode' even after I disconnect. unfortunately I also note that none of my hl.exe's work, including the dod one. They don't work online/offline mode, online/offline, they don't work full stop. I'm not sure this is a problem anyone can help me with - and we should be getting BB soon, but, as always

If anyone can help I would be more than greatful,

BlackRat
11-05-2005, 01:29 AM
My problem is im trying to learn to mapping but i cant compile anything in offline mode unless i go online start Steam then disconnect and to be honest thats to much of a hassle for me . i whish Valve would sort their crap out with Steams offline mode its friggin joke atm

dErOp sHeEp
11-05-2005, 05:59 AM
I might install DoD retail separately and use that, retail was 1.3 wasn't it?... and no, *I* did not buy DoD, someone else did for me after I'd told them I already owned it...

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.