2 Pages 12>
Setting up HAMMER for HL2:CTF 1.7 Options
Business
#1 Posted: : Monday, August 28, 2006 11:29:15 AM
Rank: Dutchess of Doodoo



Groups: Registered User, Server Admin, WDFNews.com Official Mapper

Joined: 6/3/2006
Posts: 2,236
Points: 318
Location: $L
So you wanna get into the boring and tedious world of CTF mapping, huh? You figure instead of getting a real job you'll waste your time building maps for a computer game? Well buck up kiddo, there may be a future for you here. Before you can just jump right in and whip out the next 2fort you need to configure the most powerful tool known to the CTF mapping world, HAMMER! Follow these instructions and you should have no problem getting started. Ready???

1.) First thing you need to do is install the Source SDK. Go into steam under tools and find it and install.

2.) Next step is to go here and download the current version of amckerns Custom Source Tools (CST 1.1 is currently the only tools that work for this mod, DO NOT use 1.2!) Unzip the package they come in and put them in this directory - Steam\SteamApps\your_login\sourcesdk\bin.

3.) Third step is to go here to get the HL2:CTF 1.7 fgd. (You could technically skip this step, but you will have to manually enter in entities, plus the entities will show up as big 'ERROR' signs in the editor, plus you will not be able to use trigger entities. So I dont recomend skipping this step...) After you download the file unzip the package. There are directions on where the files go in a notepad doc but just in case your lazy the hl2ctf.fgd file goes to - Steam\SteamApps\your_login\sourcesdk\bin.

the other two folders contain the files that make the models show up in the view screens in HAMMER. they go in -Steam\SteamApps\SourceMods\hl2ctf\models\editor and ...\materials\editor respectively.

4.) Now that you have all the files lined up, startup HAMMER, BEFORE you start a new map go to Tools ---> Options...

5.) The first tab that comes up in the Configure Hammer toolbox is Game Configurations. Next to the drop down box entitled Configurations click the Edit button. Now click the Add button. Name the game HL2CTF 1.7 or something similar.

6.) Back to the Configure Hammer toolbox, You should have your newly created HL2CTF 1.7 Game Config selected. Now under the Game Data Files box we want to select our custom hl2ctf.fgd. If the Game Data files box is empty click the add button. Navigate to your sourcesdk\bin and select the .fgd. Next we want to have a complete entity list so click the add button again and this time select hl2mp.fgd (BIG THANKS to llenta for that one).

7.) Next under the box called Game Directory (where GameInfo.txt is) You'll want to browse set it to the directory that HL2CTF 1.7 is in. It should be here - Steam\SteamApps\SourceMods\hl2ctf
(NOTE ON THIS STEP: If you cannot  find GameInfo.txt in this directory, you may need to copy it from your HL2:DM directory and paste it in your CTF directory. Honestly I can't remember)

8.) Next thing to edit on this tab is HAMMER .VMF Directory. This is where hammer will put the editable maps (.vmf) you save for CTF. set it to - Steam\SteamApps\SourceMods\hl2ctf\maps.

9.) Since we are just setting up HAMMER, we will skip to the last tab in our Configure Hammer tool box. The tab is called Build Programs. Make sure you have the Configuration drop down box set to HL2CTF 1.7!!! The Game executable box you can leave blank because you never use it. For the BSP, RAD, and VIS executables navigate to your sourcesdk\bin and pick the CST versions of each program, not Valves. (cstbsp, cstvis, cstrad). Set the path for your compiled maps to - Steam\SteamApps\SourceMods\hl2ctf\maps

10.) Final step, Copy the file lights.rad from this directory - Steam\SteamApps\your_login\half-life 2 deathmatch\hl2mp and paste it in this directory - Steam\SteamApps\SourceMods\hl2ctf
This will help you avoid problems such as lighting glitches and checkerboard reflection textures. All thats left is to shutdown HAMMER and the Source SDK launcher. Now re-open the SDK launcher and in the Current Game dropdown box at the bottom of the launcher make sure you select HL2:CTF 1.7 or whatever you named it.

Now your all set to head straight into the program! Happy Mapping, and remember be creative, the sky is the limits.

*****KEY TERMS*****
BSP - Map file that is read by the HL2CTF game, but not HAMMER
VMF - Map file that can be read by HAMMER but not the game

*****SPECIAL NOTES*****

As of the latest Valve SDK release, the Valve compile tools are no longer compatible with HL2CTF 1.7!!!!! OH NO! This issue may be resolved in 1.8 but if you are having problems such as items dropping through the displacement surfaces, MAKE SURE YOU USE AMCKERN'S CST TOOLS!!!!!!!

llenta wrote:
if you recently reinstalled steam, hammer won't open for the program you are configuring unless you start that program first.
example- if you want to edit hl2dm, then you have to start the actual game of hl2dm, then quit the game.  this will write some files in the necessary folders that hammer needs to see.  so after a fresh reload you need to run your games just once so that hammer can see the created files and configure itself. 


b.snooch

last edited - 9/14/06
You wanna take this to Fuck Town?
Oh gadzooks, yes!
GrUmPy
#2 Posted: : Monday, August 28, 2006 1:01:23 PM
Rank: Fecal Impaction For the Win!


Groups: Registered User

Joined: 5/9/2006
Posts: 1,730
Points: 5
Location: in your dreams

Snooch...

You is da man... Hell I may even take on some of those mapping projects now with this info

Once Known as Grumpy... Oh hell lets face it... I have and will always be Grumpy
llenta
#3 Posted: : Monday, August 28, 2006 1:03:16 PM
Rank: Not Cool Enough for a Rank :(



Groups: {pDs} Member, Server Admin, WDFNews.com Official Mapper

Joined: 5/9/2006
Posts: 2,540
Points: 12
Location: ?

Great write-up, but i have a few question for you.

  • what is the download in step #2 for?
  • also why can't you have more then one .fgd at a time (i do)?
GrUmPy
#4 Posted: : Monday, August 28, 2006 1:07:41 PM
Rank: Fecal Impaction For the Win!


Groups: Registered User

Joined: 5/9/2006
Posts: 1,730
Points: 5
Location: in your dreams

Good Idea llenta..

Snooch.. You been stickied

 

Once Known as Grumpy... Oh hell lets face it... I have and will always be Grumpy
{pDs} Aww
#5 Posted: : Monday, August 28, 2006 1:29:05 PM
Rank: You're gonna stick that where?

Groups: {pDs} Member, Server Admin, WDFNews.com Official Mapper

Joined: 5/9/2006
Posts: 469
Points: 12
Location: Stupid Town

Yes Snooch what is step 2?

 

Business
#6 Posted: : Monday, August 28, 2006 1:50:40 PM
Rank: Dutchess of Doodoo



Groups: Registered User, Server Admin, WDFNews.com Official Mapper

Joined: 6/3/2006
Posts: 2,236
Points: 318
Location: $L
ok the CST tools are some custom made compile tools by amckern who is a well respected source mapper. IN MY OPINION they run faster than Valve's tools, and they don't seem to generate as many errors as Valve's tools especially in the area of vis and rad. Also when valve was releasing SDK updates everyday CST tools where not affected by some of the update errors especially the one that smudged up the linux data in compiled maps.

llenta: the hl2ctf.fgd already contains all the entities from hl2dm...except maybe that filter_activator_team!?

Edit: llenta you are a genius!!!!
You wanna take this to Fuck Town?
Oh gadzooks, yes!
llenta
#7 Posted: : Monday, August 28, 2006 2:26:54 PM
Rank: Not Cool Enough for a Rank :(



Groups: {pDs} Member, Server Admin, WDFNews.com Official Mapper

Joined: 5/9/2006
Posts: 2,540
Points: 12
Location: ?

i don't know about you guys, but ever since the last update, HAMMER seems to be much more stable.  in fact, it has yet to freeze or give me any other kind of errors.  it used to be a very buggy program, but it looks like they actually got something right here.  i tend not to fix anything if it isn't broken, so until HAMMER starts giving me issues again, i think i will leave it as is.  believe me when i say that i'm sure their program is an improvement over valve's, but at the molment, i don't think i wan't to change my config's if i don't have to.

What does step #10 do?  i didn't do that either and i never seem to run into any issues.  is this step only necessary if you are running the custom tools and not just the defaults from HAMMER?

King Gojinn
#8 Posted: : Monday, August 28, 2006 2:40:21 PM
Rank: You're gonna stick that where?


Groups: {pDs} Member

Joined: 7/17/2006
Posts: 329
Points: 0
Location: Who the hell knows?
Glad you added this dude. *Bows* 




[20:39] {pDs} t3h Cam3l: hey craig, how do i set up a private server?
[20:40] {pDs} t3h Cam3l: i want to teach my gf how to play and the crypt was empty but its starting to fill
[20:40] ҜịηĢ ĜŏĵÏŅņ: Fail.
Business
#9 Posted: : Monday, August 28, 2006 3:25:18 PM
Rank: Dutchess of Doodoo



Groups: Registered User, Server Admin, WDFNews.com Official Mapper

Joined: 6/3/2006
Posts: 2,236
Points: 318
Location: $L
okay well step 10 is to prevent you from getting this error in your compile logs (from Interlopers.com Error Page.)

Could not find lights.rad in lights.rad

The affected object may not work and/or cause general errors

Description:
Vrad.exe couldn't find lights.rad, a file used to determine which textures can emit light by themselves.

Solution:
Move to/make a new lights.rad in the right directory. You should search for the file in your mod's directory, most mods have one.


As you can see this can happen in vrad and cstrad. Also I think it leads to that nasty purple checkerboard, on the reflections from a texture:




You can see the textures, but there is like a layer of that purple checkerboard on them, means there is missing info, about the reflections and how much light they give off. I thinks this file will fix it. Browse your compile logs for the above error.
You wanna take this to Fuck Town?
Oh gadzooks, yes!
llenta
#10 Posted: : Monday, August 28, 2006 3:37:14 PM
Rank: Not Cool Enough for a Rank :(



Groups: {pDs} Member, Server Admin, WDFNews.com Official Mapper

Joined: 5/9/2006
Posts: 2,540
Points: 12
Location: ?

thanks

i always thought that issue was a client side problem because restarting steam usually fixed it for people.  i will look into that when i get home from work.

Business
#11 Posted: : Tuesday, September 12, 2006 5:22:10 PM
Rank: Dutchess of Doodoo



Groups: Registered User, Server Admin, WDFNews.com Official Mapper

Joined: 6/3/2006
Posts: 2,236
Points: 318
Location: $L
updated.
You wanna take this to Fuck Town?
Oh gadzooks, yes!
Demori
#12 Posted: : Tuesday, September 12, 2006 11:16:05 PM
Rank: You're gonna stick that where?


Groups: Registered User

Joined: 9/8/2006
Posts: 86
Points: 0
Location: Planet of the Killer Cows
Thanks a million Snooch for this info!
When drunk and can't aim for your life, trust the crowbar.



OMG LOOK AT THE AWESOME HL PROGRESS!
Business
#13 Posted: : Thursday, September 14, 2006 2:05:07 AM
Rank: Dutchess of Doodoo



Groups: Registered User, Server Admin, WDFNews.com Official Mapper

Joined: 6/3/2006
Posts: 2,236
Points: 318
Location: $L
updated.
You wanna take this to Fuck Town?
Oh gadzooks, yes!
Business
#14 Posted: : Monday, September 25, 2006 4:18:27 PM
Rank: Dutchess of Doodoo



Groups: Registered User, Server Admin, WDFNews.com Official Mapper

Joined: 6/3/2006
Posts: 2,236
Points: 318
Location: $L
updated. amckern has released new compile tools CST 1.2!!!! Notable features are support for The Ship mapping.

http://ammahls.com/index.php?page=downloadcat&cat=tools
You wanna take this to Fuck Town?
Oh gadzooks, yes!
twitch
#15 Posted: : Wednesday, November 01, 2006 5:41:00 PM
Rank: Frozen Penguin

Groups: Registered User

Joined: 11/1/2006
Posts: 1
Points: 0
Location: Yuba City CA
Thanks for the info! I am getting back into mapping and find this site useful.
Users browsing this topic
Guest
2 Pages 12>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.