[resolved]Hammer editor help (MOD-RELATED)

Discuss modifications and also recruit team members.

[resolved]Hammer editor help (MOD-RELATED)

Postby Freemans_Fanatic12 on Fri Jun 29, 2012 7:10 am

First of all, hello. As you can probably see I'm new here. I've been back and forth to interlopers many times and it has been an entertaining and helpful site. From what I've seen most people here are very skilled in Source Mapping, modeling etc. So I've come here to hopefully get some help for my mod.
I started this mod officially on MODDB a couple days ago. I got a decent graphic design/texture artist on my team and everything has been going smoothly, UNTIL... I decided to stop making my maps with the Episode 2 config (My mod is for Episode 2,) and make a config for my mod, because Hammer would NOT let me browse for sounds in my mod folder, for example to play a song I made to play in an 'ambient_generic'. SO, whether or not changing the config would affect this, I have had YET TO TRY, because all my viewports are BLACK. Grids are gone, models are buggy in the 3D viewport. I have tried: changing the 'Game Config' file in Source 2007 exactly how it said to on a website, restarting the SDK, using my SDK widget, and other things I can't remember at 3:00 AM. I DON'T KNOW what could be causing this, :x and the last Valve update supposedly fixed the viewport bug. I'm sorry if this is tl;dr but I'm DESPERATE for help here, and for the sake of my mod's development, I'm begging any of you helpful minds at Interlopers to help me. Thank you SO MUCH. :smt045
If you care to see it, this is the mod's page.http://www.moddb.com/mods/the-underground/#3063279
ADDITIONALLY: I have tried this for Engines 2009, and 2007 isn't working for me at all. It just resets my config.
Last edited by Freemans_Fanatic12 on Sun Jul 01, 2012 7:58 pm, edited 1 time in total.
"..." - Gordon Freeman, Half-Life.
User avatar
Freemans_Fanatic12
Member
Member
 
Joined: Fri Jun 29, 2012 6:35 am
Location: Hialeah, Florida

Re: Hammer editor help (MOD-RELATED)

Postby Armageddon on Fri Jun 29, 2012 7:27 am

When I make my mod I put all the content I make in both the episode 2 folder and my mod folder, that way I can map with the episode 2 hammer and then just drop my maps in my mod folder, this is more complicated if you have custom entity code which I doubt you have. Setting up the SDK for a mod is a worthless waste of time IMHO.
User avatar
Armageddon
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Sun Dec 14, 2008 5:53 am

Re: Hammer editor help (MOD-RELATED)

Postby Sandern on Fri Jun 29, 2012 7:34 am

Armageddon wrote:When I make my mod I put all the content I make in both the episode 2 folder and my mod folder, that way I can map with the episode 2 hammer and then just drop my maps in my mod folder, this is more complicated if you have custom entity code which I doubt you have. Setting up the SDK for a mod is a worthless waste of time IMHO.

Or modify the searchpaths in gameinfo.txt of Episode Two to include your mod folder.
Sandern
Regular
Regular
 
Joined: Thu Jun 30, 2005 1:08 pm
Location: Netherlands

Re: Hammer editor help (MOD-RELATED)

Postby marnamai on Fri Jun 29, 2012 12:56 pm

May I refer to a previous thread in which I explained this into detail.
viewtopic.php?f=2&t=35776
User avatar
marnamai
Veteran
Veteran
 
Joined: Thu Nov 10, 2005 12:17 pm
Location: Belgium

Re: Hammer editor help (MOD-RELATED)

Postby Epifire on Fri Jun 29, 2012 4:13 pm

Me and my team just modified the gameinfo.txt, and copied over the EP 2 content to our mod folder. It's messy when you first look at it, but when the mod is all done you can pack a lot of that into the BSP and then it is safe to delete the excess stuff so it is all a cleaner mod package.

Then you get the EP 2 Hammer, and it is safe to code without worrying about version issues. The SDK just takes some getting used to, and it is really nifty to get at least a decent programmer if you want to accent your mod with any new features.
Image
User avatar
Epifire
Senior Member
Senior Member
 
Joined: Fri Mar 25, 2011 8:54 pm
Location: Minnesota, where you're froze 24/7

Re: Hammer editor help (MOD-RELATED)

Postby Freemans_Fanatic12 on Fri Jun 29, 2012 5:21 pm

Thanks for all of the help guys, I'll try check out Marnamai's article, and if I can't find an answer I'll give a try at modifying the searchpaths.
Ok, I was looking at Marnamai's fix, but where it says "Put this between the third and second to last bracket" or something to that affect, I don't really get what that means, because there's a lot of "third" and "second-to last brackets". So if you can please clarify. and yes my profile is 'viperlovesvlave' because I got Steam when I was twelve.
That's what the gameconfig.txt looks like,

"Configs"
{
"Games"
{
"Half-Life 2"
{
"GameDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\half-life 2\hl2"
"hammer"
{
"GameData0" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\halflife2.fgd"
"TextureFormat" "5"
"MapFormat" "4"
"DefaultTextureScale" "0.250000"
"DefaultLightmapScale" "16"
"GameExe" "c:\program files (x86)\steam\steamapps\viperlovesvlave\Source SDK Base 2007\hl2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "info_player_start"
"BSP" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\vbsp.exe"
"Vis" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\vvis.exe"
"Light" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\vrad.exe"
"GameExeDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\half-life 2"
"MapDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk_content\hl2\mapsrc"
"BSPDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\half-life 2\hl2\maps"
"CordonTexture" "tools\toolsskybox"
"MaterialExcludeCount" "0"
}
}
"Half-Life 2: Episode One"
{
"GameDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\half-life 2 episode one\episodic"
"hammer"
{
"GameData0" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\halflife2.fgd"
"TextureFormat" "5"
"MapFormat" "4"
"DefaultTextureScale" "0.250000"
"DefaultLightmapScale" "16"
"GameExe" "c:\program files (x86)\steam\steamapps\viperlovesvlave\half-life 2 episode one\hl2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "info_player_start"
"BSP" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\vbsp.exe"
"Vis" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\vvis.exe"
"Light" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\vrad.exe"
"GameExeDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\half-life 2 episode one"
"MapDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk_content\episodic\mapsrc"
"BSPDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\half-life 2 episode one\episodic\maps"
"CordonTexture" "tools\toolsskybox"
"MaterialExcludeCount" "0"
}
}
"Half-Life 2: Episode Two"
{
"GameDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\half-life 2 episode two\ep2"
"hammer"
{
"GameData0" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\halflife2.fgd"
"GameData1" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\sdk.fgd"
"TextureFormat" "5"
"MapFormat" "4"
"DefaultTextureScale" "0.250000"
"DefaultLightmapScale" "16"
"GameExe" "c:\program files (x86)\steam\steamapps\viperlovesvlave\half-life 2 episode two\hl2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "info_player_start"
"BSP" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\vbsp.exe"
"Vis" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\vvis.exe"
"Light" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\vrad.exe"
"GameExeDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\half-life 2 episode two"
"MapDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk_content\ep2\mapsrc"
"BSPDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\half-life 2 episode two\ep2\maps"
"CordonTexture" "tools\toolsskybox"
"MaterialExcludeCount" "0"
}
}
"Portal"
{
"GameDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\portal\portal"
"hammer"
{
"GameData0" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\portal.fgd"
"TextureFormat" "5"
"MapFormat" "4"
"DefaultTextureScale" "0.250000"
"DefaultLightmapScale" "16"
"GameExe" "c:\program files (x86)\steam\steamapps\viperlovesvlave\portal\hl2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "info_player_start"
"BSP" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\vbsp.exe"
"Vis" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\vvis.exe"
"Light" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\vrad.exe"
"GameExeDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\portal"
"MapDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk_content\portal\mapsrc"
"BSPDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\portal\portal\maps"
"CordonTexture" "tools\toolsskybox"
"MaterialExcludeCount" "0"
}
}
"Gmod "
{
"GameDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\garrysmod\garrysmod"
"hammer"
{
"GameData0" "c:\program files (x86)\steam\steamapps\viperlovesvlave\garrysmod\garrysmod\garrysmod.fgd"
"GameData1" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\base.fgd"
"GameData2" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\cstrike.fgd"
"GameData3" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\halflife2.fgd"
"GameData4" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\source2009\bin\sdk.fgd"
"TextureFormat" "5"
"MapFormat" "4"
"DefaultTextureScale" "0.250000"
"DefaultLightmapScale" "16"
"GameExe" "C:\program files (x86)\steam\steamapps\viperlovesvlave\garrysmod\hl2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "info_player_start"
"BSP" "C:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\orangebox\bin\vbsp.exe"
"Vis" "C:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\orangebox\bin\vvis.exe"
"Light" "C:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk\bin\orangebox\bin\vrad.exe"
"GameExeDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\garrysmod"
"MapDir" "c:\program files (x86)\steam\steamapps\viperlovesvlave\sourcesdk_content\gmod"
"BSPDir" "C:\program files (x86)\steam\steamapps\viperlovesvlave\garrysmod\garrysmod\maps"
"CordonTexture" "tools/toolsskybox"
"MaterialExcludeCount" "0"
}
}
}
"SDKVersion" "4"
}
"..." - Gordon Freeman, Half-Life.
User avatar
Freemans_Fanatic12
Member
Member
 
Joined: Fri Jun 29, 2012 6:35 am
Location: Hialeah, Florida

Re: Hammer editor help (MOD-RELATED)

Postby Freemans_Fanatic12 on Fri Jun 29, 2012 5:39 pm

Armageddon wrote:When I make my mod I put all the content I make in both the episode 2 folder and my mod folder, that way I can map with the episode 2 hammer and then just drop my maps in my mod folder, this is more complicated if you have custom entity code which I doubt you have. Setting up the SDK for a mod is a worthless waste of time IMHO.

Sorry to double-post, but I did pretty much what you did, until I realized the maps were using directories from the Episode 2 folders. When I would try to direct the sounds and scripts to my folder, it wouldn't play in-game. In the case of the sounds it wouldn't even show up in the browser.
"..." - Gordon Freeman, Half-Life.
User avatar
Freemans_Fanatic12
Member
Member
 
Joined: Fri Jun 29, 2012 6:35 am
Location: Hialeah, Florida

Re: Hammer editor help (MOD-RELATED)

Postby marnamai on Sat Jun 30, 2012 6:13 pm

You have to put the extra mod config between the second and third last "}" bracket of the entire file.

The file should end with this after your modconfig
Code: Select all
   }
   "SDKVersion"      "4"
}


Sounds not showing up is because you didn't declare them in the scripts folder "game_sounds" file
User avatar
marnamai
Veteran
Veteran
 
Joined: Thu Nov 10, 2005 12:17 pm
Location: Belgium

Re: Hammer editor help (MOD-RELATED)

Postby Freemans_Fanatic12 on Sat Jun 30, 2012 9:40 pm

I spent 10 minutes having this reply open, on 3 different instances I was typing bad news, but then I realized after Hammer doing the same bug over and over again, why don't I just past the config from 2009 to 2007? I guess I was to stupid to realize this, but I don't care, IT WORKED! I just have to change the vvis, vbsp, and vrad directories and i'm set. My music even works now! Thanks to everyone for there help, but I couldn't have done this without you Marnamai.
If you ever want to make a cameo in the mod or be in an easter egg just let me know. I pretty much owe you this mod...
You saved me from that --->http://www.mediafire.com/imageview.php?quickkey=cgyj6039k381qya :lol:
"..." - Gordon Freeman, Half-Life.
User avatar
Freemans_Fanatic12
Member
Member
 
Joined: Fri Jun 29, 2012 6:35 am
Location: Hialeah, Florida

Return to Mod Talk

Who is online

Users browsing this forum: No registered users

cron