SDK behaves strangely

Discussion in 'Mapping' started by Doggeti, Jun 6, 2006.

  1. Doggeti

    Doggeti Former Developer

    Messages:
    228
    Likes Received:
    0
    Trophy Points:
    0
    Today I wanted to start to map for empires. I copied the .fgd to into the sourcesdk\bin folder. Then I ran hammer and setup a configuration called Empires. When I restarted the SDK I found an entry called Empires in the 'Current Game' dropdown. I selected it and ran hammer. But then when I opened Tools-Options the Half-Life 2 configuration was selected. Now I can't map for empires because when I change the configuration I must restart hammer for the changes to take effect. But guess what: After the restart Half-Life 2 is selected again. How can I fix that?

    Thanks in advance.
     
  2. Gunnery Seargent Hartman

    Gunnery Seargent Hartman Member

    Messages:
    157
    Likes Received:
    0
    Trophy Points:
    0
    I think there is / was a problem regarding this mentioned on steampowered.com.
    It uses the Game Configuration of the last played game .. or something along that line.
    I didn't pay attention to it, really.

    Try launching and closing Empires before starting the SDK.
     
  3. Doggeti

    Doggeti Former Developer

    Messages:
    228
    Likes Received:
    0
    Trophy Points:
    0
    That doesnt help and If I choose CS:S or DoD, hammer uses the correct configuration. Must be a problem with my Empires config.

    The spaces in the paths are added by the forum.
     
    Last edited: Jun 6, 2006
  4. Broccoli

    Broccoli Member

    Messages:
    1,635
    Likes Received:
    0
    Trophy Points:
    0
    I had some trouble adding the configurations too. Have you tried using the 'reset configurations' option, then adding empires from within hammer again? If all else fails and you're only gonna be mapping for empires, just delete the other configs. You can always get them back again.
     
  5. Doggeti

    Doggeti Former Developer

    Messages:
    228
    Likes Received:
    0
    Trophy Points:
    0
    You're right. I'll just delete all others. And yes, I tried to reset the configurations, which also didn't help.
     
  6. Gunnery Seargent Hartman

    Gunnery Seargent Hartman Member

    Messages:
    157
    Likes Received:
    0
    Trophy Points:
    0
    "Empires Mod"
    {
    "GameDir" "d:\steam\SteamApps\SourceMods\Empires"
    "hammer"
    {
    "GameData0" "d:\steam\SteamApps\SourceMods\Empires\mapsrc\fgd\empires.fgd"
    "TextureFormat" "5"
    "MapFormat" "4"
    "DefaultTextureScale" "0.250000"
    "DefaultLightmapScale" "8"
    "DefaultSolidEntity" "func_detail"
    "DefaultPointEntity" "light"
    "BSP" "d:\steam\steamapps\**bleh**\sourcesdk\bin\vbsp.exe"
    "Vis" "d:\steam\steamapps\**bleh**\sourcesdk\bin\vvis.exe"
    "Light" "d:\steam\steamapps\**bleh**\sourcesdk\bin\vrad.exe"
    "GameExeDir" "d:\steam\SteamApps\SourceMods\Empires"
    "MapDir" "d:\steam\steamapps\**bleh**v\sourcesdk_content\generic"
    "BSPDir" "d:\steam\SteamApps\SourceMods\Empires\maps"
    "CordonTexture" "BLACK"
    "MaterialExcludeCount" "0"
    }
    }

    My config looks like this *compare*

    #Edit:

    "GameDir" "d:\steam\SteamApps\SourceMods\Empires"
    "GameExeDir" "d:\steam\SteamApps\SourceMods\Empires"

    That's all that's different (and important)

    GameExeDir however is only used for launching hl2 in sp with the map to test it after compile (which i never use)
     
    Last edited: Jun 7, 2006
  7. Doggeti

    Doggeti Former Developer

    Messages:
    228
    Likes Received:
    0
    Trophy Points:
    0
    Hartman, that was my problem, thank you very much. Oh I just see you are also German, so: Danke :)
     

Share This Page