GoldenEye: Source Forums

Editing and Customization => Modding Help => Tutorials => Topic started by: mr aware on February 09, 2009, 05:59:51 am

Title: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: mr aware on February 09, 2009, 05:59:51 am
Maybe I am asking to early but I cant figure out to how to set up hammer for use with the new goleneye. What should my game configuration look like?
Title: Re: explanation for setting up hammer in gesb3
Post by: Mark [lodle] on February 09, 2009, 06:13:34 am
      "ges beta3"
      {
         "GameDir"      "c:\program files\steam\steamapps\SourceMods\gesource"
         "hammer"
         {
            "GameData0"      "c:\program files\steam\steamapps\[steam login]\sourcesdk\bin\orangebox\bin\hl2mp.fgd"
            "GameData1"      "c:\program files\steam\steamapps\sourcemods\gesource\goldeneye.fgd"
            "TextureFormat"      "5"
            "MapFormat"      "4"
            "DefaultTextureScale"      "0.250000"
            "DefaultLightmapScale"      "16"
            "GameExe"      "c:\program files\steam\steamapps\[steam login]\source sdk base 2007\hl2.exe"
            "DefaultSolidEntity"      "func_detail"
            "DefaultPointEntity"      "ai_speechfilter"
            "BSP"      "c:\program files\steam\steamapps\[steam login]\sourcesdk\bin\orangebox\bin\vbsp.exe"
            "Vis"      "c:\program files\steam\steamapps\[steam login]\sourcesdk\bin\orangebox\bin\vvis.exe"
            "Light"      "c:\program files\steam\steamapps\[steam login]\sourcesdk\bin\orangebox\bin\vrad.exe"
            "GameExeDir"      "c:\program files\steam\steamapps\[steam login]\source sdk base 2007"
            "MapDir"      "c:\program files\steam\steamapps\SourceMods\sourcesdk_content\sample_mod\mapsrc"
            "BSPDir"      "c:\program files\steam\steamapps\SourceMods\gesource\maps"
            "CordonTexture"      "tools\toolsskybox"
            "MaterialExcludeCount"      "0"
         }
      }
Title: Re: explanation for setting up hammer in gesb3
Post by: mr aware on February 09, 2009, 08:52:42 pm
Now i can get the map to compile but hl2.exe freezes when i try to test my map. What am I missing?
Title: Re: explanation for setting up hammer in gesb3
Post by: mookie on February 09, 2009, 09:39:15 pm
info_player_deathmatch ?
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: killermonkey on February 10, 2009, 04:33:23 am
also don't forget to throw in some:

info_player_spectator (where you spawn when you first join the map, randomly, and for Fixed Cam spectating)
info_player_janus
info_player_mi6
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: kraid on February 10, 2009, 11:35:17 am
And uncheck the "run game after compiling", start the mod by yourself.
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Zippy on February 10, 2009, 12:12:05 pm
Can someone tell me why my grid looks like this?
http://img514.imageshack.us/img514/3353/griduag5.png

No matter what I do, those lines are stuck there.
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: kraid on February 10, 2009, 01:58:06 pm
You're running a EP2 mod setup while using the Source SDK for EP1.
Changing your Source SDK to OrangeBox should solve the problem.
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: major on February 10, 2009, 02:03:23 pm
(http://img99.imageshack.us/img99/8775/hammerbo6.png)

For future reference.


(I'll rewrite Wiki Article later today, unless someone else wants too)
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Zippy on February 11, 2009, 12:17:15 am
Quote from: major
(I'll rewrite Wiki Article later today, unless someone else wants too)
I'll do it, is the wiki editable by all users?
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: major on February 11, 2009, 12:31:37 am
I'm working on it now.



Was just a couple changes to instructions and Pictures.

http://wiki.goldeneyesource.net/index.php/Setting_Up_Hammer#Setting_Up_Hammer
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Mark [lodle] on February 11, 2009, 12:43:12 am
I'll do it, is the wiki editable by all users?

It is, just need an account. :p

The hammer setup WIP: http://wiki.goldeneyesource.net/index.php/Setting_Up_Hammer
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Sean [Baron] on February 11, 2009, 01:00:41 am
Should probably repost this with everything all together, just for easy of navigation for people, or point them to the wiki, either or.
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: herbius on February 25, 2009, 05:51:24 pm
On the map I'm currently testing, I can spectate fine but as soon as I try to join a team the game crashes. Any ideas why this is happening?
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: major on February 25, 2009, 06:09:52 pm
Did you add any player spawns? if so are they in the ground/ or maybe too high off ground.
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: herbius on February 25, 2009, 06:56:41 pm
I added info_player_spectator, start, mi6 and janus and the load failed. I also tried raising them off the grass and the same thing happened. :(

I've compiled in cordon mode and with no lighting ATM, if that helps.
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Kujo on February 26, 2009, 02:18:54 am
is there a info_player_deathmatch, as well as the 4 you have listed?  That could cause the problem.  I actually had a similar problem when I first started trying to mess around with hammer for ges
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Loafie, Hero of Dreams on February 26, 2009, 03:06:43 am
you're going to need to change all but one of the starts into deathmatch i think. quick and easy with the entity report
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: herbius on February 26, 2009, 07:46:36 am
Cheers, that worked. I must've overlooked the _deathmatch when I was testing the spawns. :)
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Mark [lodle] on February 26, 2009, 08:49:22 am
any chance you can send me the map that crashed ges so i can fix the crash?
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: herbius on February 26, 2009, 04:25:35 pm
OK, I'll upload it onto the net and update this post with the link in a few moments.

http://www.mediafire.com/?sharekey=4875e3eae7f7643e4012e8015643d9c8f87c7c2165c53112 (http://www.mediafire.com/?sharekey=4875e3eae7f7643e4012e8015643d9c8f87c7c2165c53112)

Sorry about not adding the link straight away, I was in the middle of writing a formally indignant letter to a reviewer of one of my FaFiction stories. It involved a drunk getting brutally murdered by a totalitarian cop and was meant to make a point, but I reckon the guy was drunk when he read it and decided to near-flame me about it.

Anyway, that's off-topic. Hope the .vmf provides some insight into the problem. You could probably re-create it by having a map without an info_player_deathmatch though.
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: kraid on February 26, 2009, 06:29:42 pm
Oh, i don't know where to start with the things you need to change.
At first you have to seal the map before even think about compiling.
Finish up your basic layout first before you go on with other things like textures lightning or placement of props & other entities.
Best idea would be to draw down the layout and have some references so you can get a rought idea of what you are going to map.
Right now it looks like you just fired up the SDK and began to map without an idea of what you would like to do.
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: herbius on February 26, 2009, 07:02:27 pm
Sorry, I was compiling with cordons at that time. :)

Maybe that wasn't my best example map... I've  making 'em for ages and since that was pretty much a test one I didn't bother with all the dev geometry. I just wanted some feedback as to how the map looked in GE; I've started completely afresh now and have loads of references I've drawn up for a completely different idea.

http://www.garrysmod.org/downloads/?a=view&id=61193 shows some screenshots of one of mybest maps; unfortunately the cubemaps didn't work for the fix of this (which I really should have checked beforehand ;) ) and I haven't yet been bothered to re-upload. :)
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Mark [lodle] on February 26, 2009, 11:54:10 pm
Thanks ill check it out when i un capped.
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: teekay2010 on July 10, 2010, 01:50:26 pm
I'm having some major problems getting Goldeneye: Source (BETA 4) setup for Hammer.

By default, the Source SDK for me is setup with Source Engine 2009, and three games Portal, HL2, and Goldeneye. Obviously this is wrong since TC's can't be done in 2009 (right?). If I revert back to Source Engine 2007 like the Wiki and logic suggests, I have no game configurations to pick from, nor does it let me Edit Game Configs since there aren't any. I've tried Resetting with no luck.

So I've got it all setup for use with the 2009 Engine, but now none of my 2d viewports show anything, and all of the models in the 3D viewport are black. Freeman looks good black ;).

Even being unable to see anything in 2D, I was able to create a brush and add some multiplayer spawn points. Turns out, it runs fine in the game (with the exception of the HOM effect due to lack of walls or ceiling).

So is there some way I can add GE: Source to my configuration without being in the SDK? I just don't know where to look or what to edit.

I should note that Hammer works perfectly when setup with HL2, and GE:S runs perfectly stand-alone.

Thanks in advance
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Mangley on July 10, 2010, 02:11:35 pm
If you have Half-Life 2: Episode 2, you can install that and it will add a configuration to your Source Engine 2007 configurations. Before the recent updates to Source games, Portal and TF2 could be used aswell, but Valve has ported those to Source Engine 2009 for Mac OS support and are likely to do the same for Episode 2 in the near future.

Thanks for flagging this up though, I wasn't aware this was still an issue with the SDK.
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Kinky on July 10, 2010, 02:14:27 pm
Yep. Got it with our mod as well. For reference the old workaround still works.

Open SDK
Open gameinfo.txt
Change AppID to 440
Open Hammer
Do Things
Compile Map without loading game
Change AppID back to 218
Load game

Long winded i know but it works.
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Mangley on July 10, 2010, 02:31:06 pm
Here is a Source Engine 2007 configuration for GE:S if you don't have any Source 2007 games.

Place it in Steam\steamapps\USERNAME\sourcesdk\bin\source2007\bin

You will need to edit it with notepad and replace all the instances where it says 'USERNAME' with your Steam account name.
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: teekay2010 on July 10, 2010, 07:06:43 pm
Perfect! Got it working using Mangley's txt file. :)

I should note that anyone on a 64 bit platform will also need to change
Program Files to Program Files (x86) like I did.

Thanks!
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: FReXx on July 20, 2010, 10:56:08 am
ty 4 his help :)
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: FReXx on August 14, 2010, 05:11:03 pm
Hi there i download this file http://forums.goldeneyesource.net/index.php?action=dlattach;topic=2954.0;attach=853 (http://forums.goldeneyesource.net/index.php?action=dlattach;topic=2954.0;attach=853) by Mangley but i have a error when i run Goldeneye in Source SDK.

Code: [Select]
Setup file 'gameinfo.txt' doesn't exist in subdirectory 'c:\program files\steam\steamapps\sourcemods\gesource'. Check your -game parameter or VCONFIG setting.

My gameinfo.txt
Code: [Select]
"GameInfo"
{
game "GoldenEye: Source (Beta 4)"
title ""
title2 ""

icon "resource/steamicon"

developer "Team GoldenEye: Source"
developer_url "http://www.goldeneyesource.net"

manual "http://wiki.goldeneyesource.net/index.php/Main_Page"

nohimodel 1
nocrosshair 1
nomodels 1

type multiplayer_only

FileSystem
{
SteamAppId 218
ToolsAppId 211

SearchPaths
{
Game |gameinfo_path|.
Game |all_source_engine_paths|hl2
}
}
}
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Proxie on August 14, 2010, 05:35:16 pm
Make sure you are replacing all the USERNAME parts with your steam username and that you are replacing program files with Program Files (x86) for 64bit.. could also try running hl2: ep2
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Mangley on August 14, 2010, 06:14:43 pm
If you have HL2 Episode 2 installed you won't need that configuration file that I made. Unfortunately with all the engine and SDK changes over the last few months it's now much more difficult to set up Hammer for mods.

Make sure the paths in the file correspond to where you have gesource installed and your Steam account name directory. Like Proxie said, if you're using a 64 bit Windows you will need to edit the directories to "Program Files (x86)"
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: FReXx on August 14, 2010, 06:20:35 pm
If you have HL2 Episode 2 installed you won't need that configuration file that I made. Unfortunately with all the engine and SDK changes over the last few months it's now much more difficult to set up Hammer for mods.

Make sure the paths in the file correspond to where you have gesource installed and your Steam account name directory. Like Proxie said, if you're using a 64 bit Windows you will need to edit the directories to "Program Files (x86)"

Work fine with "Program Files (x86)" thank you  8)
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: FReXx on December 12, 2010, 09:20:44 pm
How to setting up hammer for 4.1?
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: Mangley on December 12, 2010, 09:28:55 pm
How to setting up hammer for 4.1?

Exactly the same as beta 4. In fact your beta 4 configuration should work for it.
Title: Re: [TUT] Setting up hammer for GoldenEye: Source BETA 3
Post by: deuxhero on December 17, 2010, 03:49:05 pm
Here is a Source Engine 2007 configuration for GE:S if you don't have any Source 2007 games.

Place it in Steam\steamapps\USERNAME\sourcesdk\bin\source2007\bin

You will need to edit it with notepad and replace all the instances where it says 'USERNAME' with your Steam account name.

Don't forget that if your steam folder isn't on the c drive you need to edit the reference to that.