{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(gunner) bone(gunner) door(emit4) animation(gunner)) 
("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 "gunner"
			{forward	{begin	"board_LowTank_stand"} {end "seat_gunner_stand"} {base "doorleft_2"}}
			{reverse 	{end	"emit_tank_1_hold" 1} {base "doorleft_2" -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 "gunner"		{group "crew"} {visor "gunner"}}
		{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"}
		}
		{visor "gunner"
			{bone "foresight3"}
			{vision "vehicle_top_mgun"}
		}
	}

	{extender "inventory"
		{Box
			{item "762 bigbox ammo" 1000}
			{item "762 tracerbox ammo" 500}
		}
	}
	{Weaponry
		{place "mgun"
			{weapon "minigun" filled}
			{foresight "foresight3"}
			{gunner "gunner"}
			{charger "gunner"}
		}
	} 

	{Chassis
		{Locomotion ("locomotion")
			{Maxspeed 40}
	  		{maxSpeedAtMaxTurn 20}
			{StartTime	  13}
    		{TurnStart  1.7} 
    		{BrakeTime    1} 
    		{StopTime     2} 
    		{TurnRadius   9} 
    		{TurnStop   0.9}
     		{Gears  0.2 0.5 1} 
    		{RearGears 0.38}
		}
		{speed
        		{slow  5}
    		}
		("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.mdl"}


}
