Creating a Dreamball Map

From Valve Developer Community
Revision as of 13:49, 29 November 2008 by Craziestdan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Setting Up the SDK

Before you get started you need to set up the SDK. Go to

steam/steamapps/USERNAME/source/bin/orangebox/bin/

in here open

GameConfig.txt and inside it at the bottom before:

	}
	"SDKVersion"		"3"
}

Add this and replace the paths/username with your own ones:

		"Dreamball"
		{
			"GameDir"		"c:\program files\steam\steamapps\SourceMods\dreamball"
			"hammer"
			{
				"GameData0"		"c:\program files\steam\steamapps\SourceMods\dreamball\mapsrc\dreamball.fgd"
				"TextureFormat"		"5"
				"MapFormat"		"4"
				"DefaultTextureScale"		"0.250000"
				"DefaultLightmapScale"		"16"
				"GameExe"		"c:\program files\steam\steamapps\USERNAME\source sdk base 2007\hl2.exe"
				"DefaultSolidEntity"		"func_detail"
				"DefaultPointEntity"		"ai_ally_manager"
				"BSP"		"c:\program files\steam\steamapps\USERNAME\sourcesdk\bin\orangebox\bin\vbsp.exe"
				"Vis"		"c:\program files\steam\steamapps\USERNAME\sourcesdk\bin\orangebox\bin\vvis.exe"
				"Light"		"c:\program files\steam\steamapps\crUSERNAME\sourcesdk\bin\orangebox\bin\vrad.exe"
				"GameExeDir"		"c:\program files\steam\steamapps\USERNAME\sourcemods\dreamball"
				"MapDir"		"c:\program files\steam\steamapps\SourceMods\sourcesdk_content\dreamball\mapsrc"
				"BSPDir"		"c:\program files\steam\steamapps\SourceMods\dreamball\maps"
				"CordonTexture"		"tools\toolsskybox"
				"MaterialExcludeCount"		"0"
			}
		}

Building the Map

Tip.png Tip: There are 2 example maps supplied to aid you, if needed, in the mapsrc folder.
Tip.png Tip: In the mapsrc/prefabs are a few prefabs to get you started with your map.



When you create the map, you can do however you like, only thing you need to do is build with the cam_template.vmf. Open that map in the mapsrc folder, save it as your own. You need to leave all the entities in that map alone, and build your map around the camera. These are the entities that create the camera. Do not move or rotate them. You can do anything in here, just leave them entities alone otherwise you will create bugs in the map.