//////////////////////////////////////////////////////////
// Physics Test Scene

AddTerrainObject = TerrainObject
	PresetName = Test Terrain Block
	// Foreground color bitmap
	FGColorFile = ContentFile
		Path = Base.rte/Scenes/Objects/BlockFG.bmp
	// Material bitmap
	MaterialFile = ContentFile
		Path = Base.rte/Scenes/Objects/BlockMat.bmp

AddScene = Scene
	PresetName = Physics Test
	LocationOnPlanet = Vector
		X = 0
		Y = 0
	// Gravity acceleration, m/s^2
	GlobalAcceleration = Vector
		X = 0
		Y = 20
//		Y = 0

	// Terrain SceneLayer
	Terrain = SLTerrain
		PresetName = Test Terrain
		BitmapFile = ContentFile
			Path = Base.rte/Scenes/Test.bmp
		WrapX = 1
		WrapY = 0
		ScrollRatio = Vector
			X = 1.0
			Y = -1.0
		BackgroundTexture = ContentFile
			Path = Base.rte/Scenes/Textures/DirtDark.bmp

		/////////////////////////////////////////
		// Material frostings
		
		AddTerrainFrosting = TerrainFrosting
			TargetMaterial = Material
				CopyOf = Topsoil
			FrostingMaterial = Material
				CopyOf = Grass
			MinThickness = 8
			MaxThickness = 10
			InAirOnly = 1

		/////////////////////////////////////////
		// Terrain Debris which is scattered
		
		AddTerrainDebris = TerrainDebris
			CopyOf = Gold

		AddTerrainDebris = TerrainDebris
			CopyOf = Plants

		AddTerrainDebris = TerrainDebris
			CopyOf = Boulders

		/////////////////////////////////////////
		// List of TerrainObjects to apply
/*
		PlaceTerrainObject = TerrainObject
			CopyOf = Test Terrain Block
			Position = Vector
				X = 230
				Y = 186
*/
/*
	PlaceSceneObject = Actor
		CopyOf = Brain Case
		Position = Vector
			X = 50
			Y = 50
		Team = 0

	PlaceSceneObject = Actor
		CopyOf = Brain Case
		Position = Vector
			X = 150
			Y = 50
		Team = 1
*/
/*
	PlaceSceneObject = MOSRotating
		CopyOf = Test Block Small
		Position = Vector
			X = 270
			Y = 118
		Velocity = Vector
			X = 0
			Y = 2
		Rotation = Matrix
			AngleDegrees = 45

	PlaceSceneObject = MOSRotating
		CopyOf = Test Block Small
		PresetName = Test Block Small BOTTOM
		Position = Vector
			X = 270
			Y = 147
		Velocity = Vector
			X = 0
			Y = 0
		Rotation = Matrix
			AngleDegrees = -90
*/
/*
	PlaceSceneObject = MOPixel
		CopyOf = Test Particle
		Position = Vector
			X = 200
			Y = 160
		Velocity = Vector
			X = 20
			Y = 0
*/
/*
	PlaceSceneObject = MOSRotating
		CopyOf = Skeleton Head Gib A
		Position = Vector
			X = 140
			Y = 340
*/
/*
	PlaceSceneObject = AHuman
		CopyOf = Soldier Light
		AddToGroup = Fighters
		Position = Vector
			X = 255
			Y = 110
		Team = 0
		AddInventoryDevice = HDFirearm
			CopyOf = Medium Digger
*/
/*
	PlaceSceneObject = ACRocket
		CopyOf = Rocket MK1
		PresetName = Top Rocket
		Position = Vector
			X = 235
			Y = 240
		Velocity = Vector
			X = 0
			Y = 0
		Rotation = Matrix
			AngleDegrees = -90
		Team = 0

	PlaceSceneObject = ACRocket
		CopyOf = Rocket MK1
		PresetName = Bottom Rocket
		Position = Vector
			X = 285
			Y = 310
		Velocity = Vector
			X = 0
			Y = 0
		Rotation = Matrix
			AngleDegrees = 90
		Team = 0
*/
	// Background scene layer definitions
	AddBackgroundLayer = SceneLayer
		CopyOf = Near Layer
	AddBackgroundLayer = SceneLayer
		CopyOf = Clouds Layer
	AddBackgroundLayer = SceneLayer
		CopyOf = Sky Layer