{entity
	(include "/properties/car.ext")
	(include "/properties/shadow/tank.inc"  scale(0.9))
	(include "/properties/selection/vehicle.inc"  scale(1.1))
	{mass 4500}
	{props "vehicle" "armored_car" "turn_over" "wheeled" "vision_lev05"}
	{PatherId "vehicle.small"}
	("armor_medium" args 1.0)

	{Volume "box01"
		{tags "body"}
		{component "body"}
		{thickness 20}
	}
	{Volume "box02"
		{tags "body"}
		{component "body"}
		{thickness 20}
	}
	{Volume "cylinder01"
		{tags "body"}
		{component "body"}
		{thickness 20}
	}


("crew_human" place(driver) bone(driver) door(emit1) animation(driver)) 
("crew_human" place(seat1) bone(seat1) door(emit2) animation(passenger1)) 
("crew_human" place(seat2) bone(seat2) door(emit4) animation(passenger2)) 
("crew_human" place(seat3) bone(seat3) door(emit3) animation(passenger3)) 
("crew_human" place(seat4) bone(seat4) door(emit4) animation(passenger2)) 
("crew_human" place(seat5) bone(seat5) door(emit3) animation(passenger3)) 

	{boarder
		{anm "driver"
			{forward	{begin	"board_Kubel_driver"} {end "seat_driver_car"} {base "doorleft_1"}}
			{reverse 	{end	"board_Kubel_driver" -1} {base "doorleft_1" -1}}
		}
		{anm "passenger1"
			{forward	{begin	"board_Kubel_driver"} {end "seat_passenger"} {base "doorright_1"}}
			{reverse 	{end	"board_Kubel_driver" -1} {base "doorright_1" -1}}
		}
		{anm "passenger2"
			{forward	{begin	"board_Kubel_driver"} {end "seat_passenger"} {base "doorleft_2"}}
			{reverse 	{end	"board_Kubel_driver" -1} {base "doorleft_2" -1}}
		}
		{anm "passenger3"
			{forward	{begin	"board_Kubel_driver"} {end "seat_passenger"} {base "doorright_2"}}
			{reverse 	{end	"board_Kubel_driver" -1} {base "doorright_2" -1}}
		}


	}

	{placer
		{place "driver"		{group "crew"} {visor "driver"}}
		{place "seat1"		{group "crew"} {visor "main"}}
		{place "seat2"		{group "crew"} {visor "main"}}
		{place "seat3"		{group "crew"} {visor "main"}}
		{place "seat4"		{group "crew"} {visor "main"}}
		{place "seat5"		{group "crew"} {visor "main"}}
	}

	("wheel" args "wheelright1")
	("wheel" args "wheelleft1")
	("wheel" args "wheelright2")
	("wheel" args "wheelleft2")

	{sensor
		{visor "driver"
			{bone "visor1"}
			{vision "vehicle_main"}
		}
	}

	{Chassis
		{Locomotion ("locomotion")
			{Maxspeed 40}
	  		{maxSpeedAtMaxTurn 20}
		}
		("car_trace" fx("tracewheel04") step(0.08) wheell("wlf") wheelr("wrf") bonel("FXtraceL1") boner("FXtraceR1"))
		("car_trace" fx("tracewheel04") step(0.08) wheell("wlr") wheelr("wrr") bonel("FXtraceL2") boner("FXtraceR2"))
	}

	{Extension "pmc_armored_car_closed.mdl"}

}
