{entity
	(include "/properties/armoredcar.ext")
	(include "/properties/shadow/tank.inc"  scale(1.0))
	(include "/properties/selection/vehicle.inc"  scale(1.1))
	{collider "truck"}
	{props "vehicle" "car" "truck" "wheeled" "vision_lev03" "m1097_avenger"}
	{able "emit_on_attack"}
	("armor_light" args 1.0)
	{Volume "Body"
		{tags "body"}
		{component "body"}
		{thickness 12}
	}
	{Volume "Engine"
		{tags "engine"}
		{component "engine"}
		{thickness 9}
	}
	{volume "gun_rot"
		{able {bullet 0} {visible 0}}
		{thickness 6}
	}
	{volume "turret"
		{component "turret"}
		{thickness 1}
	}

	{Volume "glass1"
		{Thickness 2}
		{able {visible 0}{window}}
	}
	{Volume "glass2"
		{Thickness 2}
		{able {visible 0}{window}}
	}
	{Volume "glass3"
		{Thickness 2}
		{able {visible 0}{window}}
	}
	{Volume "glass4"
		{Thickness 2}
		{able {visible 0}{window}}
	}
	{Volume "glass"
		{Thickness 2}
		{able {visible 0}{window}}
	}

	("crew_2_human")
	("crew_human" place(gunner) bone(gunner) door(emit3)	animation(gunner))

	{boarder
		{anm "driver"
			{forward	{begin	"board_big-midcar_driver"} {end "seat_driver_car"} {base "doorleft"}}
			{reverse 	{end	"board_big-midcar_driver" -1} {base "doorleft" -1}}
		}
		{anm "commander"
			{forward	{begin	"board_big-midcar"} {end "seat_passenger"} {base "doorright"}}
			{reverse 	{end	"board_big-midcar" -1} {base "doorright" -1}}
		}
		{anm "gunner"
			{forward	{begin	"board_t-34"} {end "cannon_maxson_charger"} {base "door"}}
			{reverse 	{end	"emit_tank_1_hold" 1} {base "door" -1}}
		}
}


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

	
	
	{extender "inventory"
			{weapon "mgun"
			{mask "weapon mgun"}
		}
		{box
			{size 7 6}
			
			{item "ammo 50Nato" 150}
			{item "browning_m2hb" filled {user "mgun"}}
			{item "dynamite"}
			{item "can"}
			{item "repair_kit"}	
		}
	}
	{Weaponry
		{place "gun"
			{weapon "fim-92a" filling "ammo fim-92a_ammo" 8}
			{foresight "foresight"}
			{charger "driver"}
			{gunner "driver"}
			{barrels 8}
			
			
			
		}
                {place "mgun"
			{type "mgun_aa"}
			{gunner "gunner"}
			{charger "gunner"}
			{LinkBone "mgun_rot"}
			{foresight "foresight3"} 
			{LinkAnimation "off"}
			{basic}
			
		}
	}

	{mass 3900}

	{sensor
		{visor "driver"
			{bone "visor1"}
			{vision "vehicle_main"}
		}		
		
	}
	{sensor
		{visor "gunner"
			{bone "visor2"}
			{vision "vehicle_main"}
		}
}		
	{Chassis
		{Locomotion ("locomotion")
			{Maxspeed 48}
	  		{maxSpeedAtMaxTurn 30}
		}
		("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 "m1097_avenger.mdl"}
	
}
