Re: [article] Configuring Hammer 3.4 to use Steam
Posted by R@lph VViggum on Thu Jan 15th at 9:03pm 2004
Very helpful tutorial, even though Steam isn't exactly mapper friend.

R@lph VViggum
member
156 posts
166 snarkmarks
Registered: Jun 11th 2003
Location: Illinois
Occupation: Level Designer
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by matt on Fri Jan 16th at 10:35am 2004
Now I'll never map for steam. Ever.

matt
member
1100 posts
190 snarkmarks
Registered: Jun 26th 2002
Location: Edinburgh
Occupation: Student!
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by Sinner_D on Fri Jan 16th at 11:56am 2004
wouldnt this be pointless for those using a third party compiler prog? as far as i know, once you make a map, all you have to to is put the bsp, and other files in there respective directories.
from what ive learned and always thought was that the "game config tab" was to setup where your .bsp file would look for such files needed for the map in question. so if you fill that out correctly, it doesnt matter where or how u compile the map, aslong as you put the files where they are needed to be after compile.

Sinner_D
member
376 posts
78 snarkmarks
Registered: Oct 11th 2002
Location: Sandiego, CA
Occupation: Freelance mapper
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by Crono on Fri Jan 16th at 12:56pm 2004
All that is needed to compile a map into a bsp is the .map file.
And yeah Sinner, you're right, but that's exactly what this is doing.
If you're using a 3rd party compiler console then why would you configure hammer at all? Past the FGD file and the Wad files needed for the actual map editing. Unless you want hammer to call the 3rd party compile dialog . . . which it can probably do.
All that's going on when you compile with hammer is a series of calls to certain programs (or compilers) in whatever order you want.
Ok, let me see if I can briefly explain what I was talking about in the previous comment.
When compiling in Hammer, in the Advanced compiler Dialog you list the commands.
I took out the Change Directory command, because it will default at the rmfs path directory (e.g. if your rmf is saved on your desktop, your desktops path in hammer is the same as saying $path) thus allowing you to have the rmf anywhere instead of in the $gamedir directory.
Now, as you said, once the map is compiled into a bsp, all you need is the bsp in the maps directory. ($bspdir) which is the part where you put your map directory "place compiled maps here before running".
The steam.exe is ran by the parameter $game_exe
These are all set up seperatly and they are all in the Build Programs tab, these are the only things needed for building the map (thus the name of the tab).
obviously the last parameter left is $file which is just the name of your rmf.
Lets assume you have an RMF file in 'C:/MAPS' called 'fubar'
When it says:
$csg_exe $path$file
It means:
Run "/ZHLT/hlcsg.exe" with "C:/MAPS/fubar'
The compilers need a .MAP file (that type of encription). What it most likely does is looks for fubar.MAP since it knows there should already be a .MAP file there, made by you or Hammer or whatever, it will add the .Map portion in on it's own, if it's not then it whines at you.
Everything else continues in the same way. So, if it never calls the mod directory (and for steam is doesn't, not as long as your map folder path and such is inputed properly) then it will never be a problem because it is simply not needed.
Now, I'm not saying these things aren't needed for compiling WON maps. Because I really don't know, I've never messed around with removing and adding compiling options there.
But this works well, and it is actually less work, I apologize that I didn't spend as much time before I wrote the tutorial as I did afterwords, I was just excited that it ran with steam lol.
But this will work well. And if you're using a 3rd party compiling console, why are you messing with it at all? Just open your rmf over there and let it be compiled.
This tutorial is basically just to have everything compile properly and run automatically with steam, just as it did when mapping with WON from within Hammer.
on a side note, matt, to be honest it's easier. But if it makes you feel better, HL2, I'm assuming, will ship with a brang-new Hammer which is 100% tailor made for steam, as was hammer 2.0-3.5 tailor made for WON (Which is why some stuff isn't needed for a steam compile). I assure you everything will work out well.
If you haven't noticed, the recent updates of steam have cut the system recource cost. Now, your internet browser takes up about 6 times as much recources as steam (both being Idle). While Steam is running Half-Life your Browser still takes up twice as much system recources, while the browser is idle and steam is not.
Anyway, I suppose Steam has no where to go, but up.

Crono
super admin
6628 posts
633 snarkmarks
Registered: Dec 19th 2003
Location: Oregon, USA
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by Leperous on Thu Jan 15th at 11:06pm 2004
Ok, I understand what you're saying and have edited it some more. But are you sure that your RMF has to be compiled in the SteamApps folder? I don't understand how Hammer/the compilers would work differently if it wasn't!

Leperous
member
3382 posts
788 snarkmarks
Registered: Aug 21st 2001
Location: UK
Occupation: Lazy student
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by Gollum on Fri Jan 16th at 2:23pm 2004
Yikes - comments that are almost as long as the tutorial, in order to explain the tutorial.
Don't forget that clarity of expression is fundamental to writing a tutorial, together with a well-defined and focused objective.
*Hides gmdm2 tutes under the carpet*

Gollum
member
1268 posts
207 snarkmarks
Registered: Oct 26th 2001
Location: Oxford, England
Occupation: Student
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by Crono on Fri Jan 16th at 8:04pm 2004
Yeah . . . . like I said I can't edit the tutorial, If I could I would. And that last comment was to clear up a lot of confusion people might have about how it actually works. Sorry about the length.
Honestly, I feel like a morron for posting the tutorial and then an hour later finding a completly different way, practically on accident!! Which happens to be easier and more diverse.
[EDIT]
I wasn't explaining the tutorial in that post, I found other ways to make this work better, but it's being annoying. Such as, Hammer insists on putting compiled maps in the /SteamApps/ directory, which is not in any of the settings. It's doing some pretty random things suddenly. But for the most part, doing it the way I suggested in the tutorial will work just fine. I'm trying to figureout the reason why it's being so odd. If anyone wants to help out, by all means do so. If you can tell me why Hammer insists on everything being in the /SteamApps/ Directory whence compiling finishes (literally, before the copy commands) then you get extra brownie points . . .[/EDIT]

Crono
super admin
6628 posts
633 snarkmarks
Registered: Dec 19th 2003
Location: Oregon, USA
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by omegaslayer on Fri Feb 20th at 2:54am 2004
Great this works nice tut, now i have to configure the model rendering in WC, along with the sprites.

omegaslayer
member
2481 posts
401 snarkmarks
Registered: Jan 16th 2004
Location: Seattle, WA
Occupation: Sr. DevOPS Engineer
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by Crono on Wed Feb 25th at 5:03am 2004
Thanks Omega, Something to remember when using model viewing in Hammer with Steam is that, you must be able to actually select the models, which means you have to extract them (meaning there's technically two copies on your Hard drive) so that Hammer can use them.
Also, as you'll probably find, once you start importing models, you have to create a res file for the map. Seems like a lot of work, huh? But I think it's becoming a very stable and reliable system such that more games then just half-life can rely on.

Crono
super admin
6628 posts
633 snarkmarks
Registered: Dec 19th 2003
Location: Oregon, USA
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by $loth on Wed Jul 28th at 1:20pm 2004
Where would you put the wads? In the SteamAppsadamnaser@comcast.nethalf-lifevalve folder?

$loth
member
2256 posts
286 snarkmarks
Registered: Feb 27th 2004
Location: South England
Occupation: Student
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by Crono on Thu Jul 29th at 9:23pm 2004
If you're mapping for half-life, yes ... but on your computer lol

Crono
super admin
6628 posts
633 snarkmarks
Registered: Dec 19th 2003
Location: Oregon, USA
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by Zechro on Wed Jul 4th at 8:07pm 2007
Does this work if you have "Half-life: source" instead of the normal Half-life?
Zechro
member
6 posts
11 snarkmarks
Registered: Jun 15th 2007
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by Crono on Wed Jul 4th at 8:24pm 2007
No, you would use Hammer 4.0 for any source games. You might have to configure it yourself though (which there is plenty of information floating around on)

Crono
super admin
6628 posts
633 snarkmarks
Registered: Dec 19th 2003
Location: Oregon, USA
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by Vortiguantian on Mon Jul 20th at 11:38pm 2009
Ummmm, just so you know the links to the FGDs don't work, I keep getting error 404 page not found.

Vortiguantian
member
20 posts
36 snarkmarks
Registered: May 5th 2009
Location: The last place you would think to look
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by Crono on Tue Jul 21st at 2:36am 2009
You're more than welcome to go search for the FGD's you need. The article is more than 5 years old at this point, and is also, largely irrelevant.
In any case, I'm not hunting down new FGD links.
I also notice that the slashes were parsed out for some reason ... all the directory paths are now nonsense. 

Crono
super admin
6628 posts
633 snarkmarks
Registered: Dec 19th 2003
Location: Oregon, USA
Blame it on Microsoft, God does.
Re: [article] Configuring Hammer 3.4 to use Steam
Posted by G4MER on Tue Jul 21st at 5:33am 2009
Maybe you should have a way to retire old articles that no longer apply?

G4MER
member
2458 posts
360 snarkmarks
Registered: Sep 6th 2003
Location: USA