Setting up Source SDK for 2.2

Discussion in 'Mapping' started by Jimather, Dec 14, 2008.

  1. Jimather

    Jimather Member

    Messages:
    495
    Likes Received:
    0
    Trophy Points:
    0
    Do i need to select engine version Orange box when setting up the empires game configuration ?

    If i select orange box then i can't seem to make an empires config, only if i select the hl2 episode one engine can i actually seem to get anywhere.
     
  2. Chris0132'

    Chris0132' Developer

    Messages:
    9,482
    Likes Received:
    0
    Trophy Points:
    0
    You do know how to make a new config don't you? Preferences > game configuations.
     
  3. Jimather

    Jimather Member

    Messages:
    495
    Likes Received:
    0
    Trophy Points:
    0
    yep, i have set it up exactly as described in another thread and its not working.
     
  4. Omneh

    Omneh Member

    Messages:
    1,726
    Likes Received:
    5
    Trophy Points:
    0
    Just substitute "orangebox" for "ep1" for everything in your game options.
     
  5. Brutos

    Brutos Administrator Staff Member Moderator

    Messages:
    3,385
    Likes Received:
    0
    Trophy Points:
    0
    woot? Dont you want to take advantage the ob features omni?
     
  6. Jimather

    Jimather Member

    Messages:
    495
    Likes Received:
    0
    Trophy Points:
    0
    it seems to be fixed now, there was nothing in the source sdk orangebox gameconfig file, so i pasted everything from the source sdk ep1 game config file and it appears to all load up just fine.

    However it doesnt say empires 2.2 in the drop down box on the sdk spash screen, just empires ?
     
  7. Brutos

    Brutos Administrator Staff Member Moderator

    Messages:
    3,385
    Likes Received:
    0
    Trophy Points:
    0
    Post your gameconfig to pastebin and let us check it.
     
  8. Chris0132'

    Chris0132' Developer

    Messages:
    9,482
    Likes Received:
    0
    Trophy Points:
    0
    What did you set as the config name? That's what shows up in the drop down.

    I really don't think you know what you're doing here.
     
  9. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    nether do i, i just replace ep1 and ep 2 for what mod i want to map for
     
  10. Jimather

    Jimather Member

    Messages:
    495
    Likes Received:
    0
    Trophy Points:
    0
    Well thats why im asking people on a forum about it :|

    http://pastebin.com/m7aa7441f

    thats from the source sdk orange box
     
  11. Jcw87

    Jcw87 Member

    Messages:
    1,676
    Likes Received:
    0
    Trophy Points:
    0
    This is my working Empires config.

    Code:
    		"Empires 2.2"
    		{
    			"GameDir"		"c:\program files\steam\steamapps\SourceMods\Empires"
    			"hammer"
    			{
    				"GameData0"		"c:\program files\steam\steamapps\SourceMods\Empires\mapsrc\fgd\empires.fgd"
    				"TextureFormat"		"5"
    				"MapFormat"		"4"
    				"DefaultTextureScale"		"0.250000"
    				"DefaultLightmapScale"		"16"
    				"GameExe"		"c:\program files\steam\steamapps\jcw87\source sdk base 2007\hl2.exe"
    				"DefaultSolidEntity"		"color_correction_volume"
    				"DefaultPointEntity"		"ai_ally_manager"
    				"BSP"		"c:\program files\steam\steamapps\jcw87\sourcesdk\bin\orangebox\bin\vbsp.exe"
    				"Vis"		"c:\program files\steam\steamapps\jcw87\sourcesdk\bin\orangebox\bin\vvis.exe"
    				"Light"		"c:\program files\steam\steamapps\jcw87\sourcesdk\bin\orangebox\bin\vrad.exe"
    				"GameExeDir"		"c:\program files\steam\steamapps\jcw87\source sdk base 2007"
    				"MapDir"		"c:\program files\steam\steamapps\SourceMods\Empires\mapsrc"
    				"BSPDir"		"c:\program files\steam\steamapps\SourceMods\Empires\maps"
    				"CordonTexture"		"BLACK"
    				"MaterialExcludeCount"		"0"
    			}
    		}
    
    BTW, welcome back from the dead ^^
     
  12. Jimather

    Jimather Member

    Messages:
    495
    Likes Received:
    0
    Trophy Points:
    0
    good to be back :)
     
  13. Doggeti

    Doggeti Former Developer

    Messages:
    228
    Likes Received:
    0
    Trophy Points:
    0
    Looks ok. In line 74 you can replace "Empires" with anything you want. That will appear in the drop down.
     
  14. John Shandy`

    John Shandy` Member

    Messages:
    744
    Likes Received:
    0
    Trophy Points:
    0
    After doing all of that, I still cannot select Engine Version: The Orange Box, Current Game: Empires 2.2.

    It will only allow me to select Engine Version: Half-Life 2: Episode One, Current Game: Empires 2.2.

    If I launch Hammer with those selected, and go to File > New, I get an error that reads:

    The only Steam applications I have installed at this time are:

    Half-Life 2
    Empires 2.2
    Source SDK
    Source SDK Base
    Source SDK Base - Orange Box

    I do have /mapsrc/ & /mapsrc/fgd/ along with the empires.fgd.

    I configured Hammer based on ScardyBob's post in the "Mapping for 2.2" thread, but as I don't have Half-Life 2 Deathmatch installed, I followed suit with Jcw87's post (shown above) in which he uses "source sdk base 2007."

    Any helpful hints would be appreciated.
     
  15. Solokiller

    Solokiller Member

    Messages:
    4,861
    Likes Received:
    7
    Trophy Points:
    0
    You could just copy and paste JCW87's config and put it in the gameconfig.txt in sourcesdk/bin/orangebox/bin/, then edit the settings after opening it in Hammer.
    Make sure the SDK window is closed before doing this, it needs to load the new config before you can select it.
     
  16. Brutos

    Brutos Administrator Staff Member Moderator

    Messages:
    3,385
    Likes Received:
    0
    Trophy Points:
    0
    I have the feeling that a closing bracket is at the wrong position (This thing ->} ).
     
  17. Solokiller

    Solokiller Member

    Messages:
    4,861
    Likes Received:
    7
    Trophy Points:
    0
    Everything looks fine to me. You just need to make sure that the last entry in the list has a third closing bracket, like it is before you do anything to it.
     
  18. John Shandy`

    John Shandy` Member

    Messages:
    744
    Likes Received:
    0
    Trophy Points:
    0
    I managed to get it working - something weird was happening, and of course after I ask for help it starts working, turning me into a digital liar. Oh well, thanks for the tips.
     
  19. DocRabbit

    DocRabbit Member

    Messages:
    307
    Likes Received:
    17
    Trophy Points:
    0
    The section of Gamesinfo some may forget to include.

    Code:
    "Configs"
    {
    	"Games"
    	{
    		
    		(EMPIRES SECTION FROM ABOVE GOES HERE)
    		
    			}
    	"SDKVersion"		"3"
    }
    As for the problem of getting the name Empires 2.2 to stick, first make sure the Game is named that in the gameinfo.txt file in the OB bin file directory. with SDK not running, right click gameinfo.txt in the general properties set it to readonly. launch SDK, and you should see it as 2.2. open hammer, make sure all works, the exit hammer, exit SDK. go back to gameinfo.txt and remove the readonly check you put. Now it should remember the 2.2.

    Also, the Wiki needs updated too, as this will be an ongoing issue if people look to the wiki and not the forum.
     
    Last edited: Dec 22, 2008
  20. flasche

    flasche Member Staff Member Moderator

    Messages:
    13,299
    Likes Received:
    168
    Trophy Points:
    0
    push, because i couldnt get hammer working other than this.
    probably its a problem because i only own HL2.

    if anyone else has the problem with the missing materials for the grid.

    follow post #15, #19, #11 ...

    maybe this could be stickied or someone adds it to the wiki. its faster than setting hammer up the normal way anyway.

    edit:
    you have to add halflife2.fgd and base.fdg manually tho, for some reason its not in jcw's post :D
     
    Last edited: Mar 15, 2009

Share This Page