<!--L1_Elevator-->

<tank>
	<scene name="L1_Elevator">
		<script path="L1_Elevator.lua" state="Loading"></script>
		
		<actors>
		
			<!--Tank-->
			<actor name="Tank" type="actor">
				<script path="Tank.lua" table="Tank" state="Move"></script>
				<translation x="3.5" y="20.0" z="2.0"></translation>
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<mesh path="Tank.msh"></mesh>
				<material>
					<diffusemap path="test/maps/tankdiffuse2.tga"></diffusemap>
					<specularmap path="test/maps/tankspec2.tga"></specularmap>
					<normalmap path="test/maps/tanknormal2.tga"></normalmap>
				</material>
				<physics>
					<mass value="1.0"></mass>
					<collisionbox height="0.5" width="0.5" depth="0.5">
							<transform x = "0.0" y = "0.4" z = "0.0"></transform>
					</collisionbox>					
					<collisioncompound>
						<collisionsphere radius="0.2">
							<transform x = "0.5" y = "0.2" z = "0.0"></transform>
						</collisionsphere>
						<collisionsphere radius="0.2">
							<transform x = "-0.5" y = "0.2" z = "0.0"></transform>
						</collisionsphere>
						<collisionbox height="0.5" width="0.5" depth="0.5">
							<transform x = "0.0" y = "0.7" z = "0.0"></transform>
						</collisionbox>
					</collisioncompound>
				</physics>
			</actor>
		
			<!--Camera-->
			<actor name="Camera" type="camera">
				<script path="GameCamera.lua" state="Follow"></script>
				<!--<script path="FreeCamera.lua" state="Free"></script>-->
				<viewangle value="50.0"></viewangle>
				<translation x="0.0" y="0.0" z="15.0"></translation>
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
			</actor>
			
			<!--Lights-->
			<actor name="Light" type="light">
				<translation x="0.0" y="0.0" z="15.0"></translation>
				<color r="1.0" g="1.0" b="0.98"></color>
				<ambientcolor r="0.05" g="0.05" b="0.05"></ambientcolor>
				<radius value="50.0"></radius>
			</actor>
		
			<!--Bullets-->
			
			<actor name="EnemyBullet1" type="actor">
				<script path="Bullet.lua" table="Bullet" state="Move"></script>
				<translation x="100" y="100" z="100"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="Bullet.msh"></mesh>
				<material>
					<diffusemap path="test/maps/Bullet.tga"></diffusemap>
					<specularmap path="test/maps/Bullet.tga"></specularmap>
					<normalmap path="test/maps/Bullet.tga"></normalmap>
				</material>
				<physics>
					<mass value="0.8"></mass>
					<collisionsphere radius="0.1"></collisionsphere>
				</physics>
			</actor>
			
			<actor name="Bullet1" type="actor">
				<script path="Bullet.lua" table="Bullet" state="Move"></script>
				<translation x="100" y="100" z="100"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="Bullet.msh"></mesh>
				<material>
					<diffusemap path="test/maps/Bullet.tga"></diffusemap>
					<specularmap path="test/maps/Bullet.tga"></specularmap>
					<normalmap path="test/maps/Bullet.tga"></normalmap>
				</material>
				<physics>
					<mass value="1.0"></mass>
					<collisionsphere radius="0.1"></collisionsphere>
				</physics>
			</actor>
			
			<actor name="TnT1" type="actor">
				<script path="TnT.lua" table="TnT" state="Move"></script>
				<translation x="100" y="100" z="100"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="TnT.msh"></mesh>
				<material>
					<diffusemap path="test/maps/Bullet.tga"></diffusemap>
					<specularmap path="test/maps/Bullet.tga"></specularmap>
					<normalmap path="test/maps/Bullet.tga"></normalmap>
				</material>
				<physics>
					<mass value="1.0"></mass>
					<collisionsphere radius="0.1"></collisionsphere>
				</physics>
			</actor>
			
			<!--Geometry-->
			
			<actor name="ElevatorPlatform" type="actor">
				<script path="Elevator.lua" table="Elevator" state="Move"></script>
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="4.0" y="0.0" z="2.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Elevator_Platform.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
					<mass value="1000.0"></mass>
					<collisionbox height="0.1" width="3.0" depth="3.0">
					</collisionbox>
				</physics>
				<arbitrarydata>
					<number name="state" value="1"></number>
				</arbitrarydata>
			</actor>	
			
			<actor name="ElevatorChunk_001" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="0.0" y="0.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Elevator2.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_Elevator2.msh"></collisionmesh>
				</physics>
			</actor>

			<actor name="ElevatorChunk_top" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="0.0" y="20.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Elevator1.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_Elevator1.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="ElevatorChunk_003" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="0.0" y="-20.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Elevator3.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_Elevator3.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="ElevatorChunk_004" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="0.0" y="-36.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Elevator4.msh"></mesh>
				<material>
					<diffusemap path="TestLevelDif.tga"></diffusemap>
					<specularmap path="TestLevelDif.tga"></specularmap>
					<normalmap path="TestLevelDif.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_Elevator4.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="ElevatorChunk_005" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="0.0" y="-52.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Elevator5.msh"></mesh>
				<material>
					<diffusemap path="TestLevelDif.tga"></diffusemap>
					<specularmap path="TestLevelDif.tga"></specularmap>
					<normalmap path="TestLevelDif.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_Elevator5.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="SlantedHallway_001" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-10.0" y="-60.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_slantedHallway.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_slantedHallway.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="Generator" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-18.5" y="-60.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Generator.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_Generator.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="GeneratorShotActor" type="actor">
				<script path="Generator.lua" table="Generator" state="Wait"></script>
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-57" y="-64.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
					<mass value="0.0"></mass>
					<collisionbox height="4.0" width="1.0" depth="4.0"></collisionbox>
				</physics>
			</actor>
			
			<actor name="HallChunk001" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="12.0" y="0.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_hallwayGeneric2.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
					<collisionmesh path="L1_hallwayGeneric2.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="HallwayChunk002" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="16.0" y="0.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_hallwayGeneric2.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
					<collisionmesh path="L1_hallwayGeneric2.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="PortalToHallwayStart" type="actor">
				<script path="L1_NextSceneCollisionSH.lua" state="NextScene"></script>
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="20.0" y="0.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
					<mass value="0.0"></mass>
					<collisionbox height="4.0" width="1.0" depth="4.0"></collisionbox>
				</physics>
			</actor>
			
			<actor name="MineDoor01" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="8.0" y="20.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_MineDoor.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
					<collisionmesh path="L1_MineDoor.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="PortalToWarehouse" type="actor">
				<script path="L1_NextSceneCollisionW.lua" state="NextScene"></script>
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="8.0" y="20.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_MineDoor.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
					<mass value="0.0"></mass>
					<collisionbox height="4.0" width="1.0" depth="4.0"></collisionbox>
				</physics>
			</actor>
			
			<actor name="HallChunk05" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="12.0" y="20.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_HallB.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_HallB.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="MineDoor02" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-4.0" y="20.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_MineDoor.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
					<collisionmesh path="L1_MineDoor.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="PortalToBrainBug" type="actor">
				<script path="L1_NextSceneCollisionB.lua" state="NextScene"></script>
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-4.0" y="20.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_MineDoor.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
					<mass value="0.0"></mass>
					<collisionbox height="4.0" width="0.5" depth="4.0"></collisionbox>
				</physics>
			</actor>
			
			<actor name="HallChunk01" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-12.0" y="0.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Hall_F1.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_Hall_F1.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="HallChunk06" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-16.0" y="0.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Hall_G4.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_Hall_G4.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="HallChunk07" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-20.0" y="0.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Hall_E2.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_Hall_E2.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="HallChunk08" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-24.0" y="0.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Hall_D1.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_Hall_D1.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="HallChunkOcc01_Top" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-24.0" y="8.0" z="4.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Panel_Long_A.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
			</actor>
			
			<actor name="HallChunkOcc01_Bot" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-24.0" y="-4.0" z="4.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Panel_Long_A.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
			</actor>
			
			<actor name="HallChunk09" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-28.0" y="0.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_Hall_E2.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_Hall_E2.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="CrewQuarters" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-53.0" y="0.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_CrewQuarters_mar1.1.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_CrewQuarters_mar1.1.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="MapRoom" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-53.0" y="0.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_MapRoom1.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_MapRoom1.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="MapRoom2" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-53.0" y="3.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_MapRoom2.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_MapRoom2.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="MapRoom3" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-53.0" y="-3.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_MapRoom3.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
				<mass value="0.0"></mass>
				<collisionmesh path="L1_MapRoom3.msh"></collisionmesh>
				</physics>
			</actor>
			
			<actor name="MineDoor03" type="actor">
				<rotationeuler x="0.0" y="0.0" z="0.0"></rotationeuler>
				<translation x="-8.0" y="0.0" z="0.0"></translation>
				<scale x="1.0" y="1.0" z="1.0"></scale>
				<mesh path="L1_MineDoor.msh"></mesh>
				<material>
					<diffusemap path="tester_DIF.tga"></diffusemap>
					<specularmap path="tester_SPC.tga"></specularmap>
					<normalmap path="tester_NRM.tga"></normalmap>
				</material>
				<physics>
					<collisionmesh path="L1_MineDoor.msh"></collisionmesh>
				</physics>
			</actor>
			
		</actors>
	</scene>
</tank>