{
	(include "/properties/tank.ext")
	(include "/properties/shadow/tank.inc"  scale(1.2))
	(include "/properties/selection/vehicle.inc"  scale(1.2))
	{props "medium" "-turret" "self_propelled"}
	
	{TexMods
		{"ambush1" "1"}
	}
	
	{volume "body1"
		{tags "body"}
		{component "body"}
		{thickness 30
		    {front  80}
			{top	15}
			{bottom	20}
			{rear   20}
		}   
	}
	{volume "body2"
		{tags "body"}
		{component "body"}
		{thickness 30
		    {front  80}
			{top	15}
			{bottom	20}
			{rear   20}
		}   
	}

	{volume "mgun_shield1"
		{thickness 15
		}   
	}
	{volume "mgun_shield2"
		{thickness 25
		}   
	}

	{volume "shield_left"		{thickness 10}}
	{volume "shield_right"		{thickness 10}}
	{component "shield_left"	
		{Able {repair} {break_by_pierce}}
		{RepairTime 20}
	}
	{component "shield_right"	
		{Able {repair} {break_by_pierce}}
		{RepairTime 20}
	}

	{extender "shield"
		(mod "mp"
			{on}
		)
	}

	{Weaponry
		{TargetZone 5}
		{place "gun"
			{Rotate}
			{DefaultWeapon "75mm_stuk40"}
			{Mounted}
			{weapon {ammo "ammo bullet75 ap" 1}}
		}
		{place "mgun"
			{Rotate}
			{LinkBone "mgun"}
			{LinkAnimation "off"}
			{DefaultWeapon "mg34"}
			{Mounted}
			{weapon {ammo "ammo mgun" 100}}
		}
	}
	
	{boarder
		{anm "left"
			{forward	{begin	"board_tank_left"} {end "seat_armor"}}
			{reverse 	{end	"emit_tank_1"}}
		}
		{anm "right"
			{forward	{begin	"board_tank_right"} {end "seat_armor"}}
			{reverse 	{end	"emit_tank_1"}}
		}
	}
     
	("crew_human" 			place(driver)		door1(emit1) door2(emit2) visor(main))
	("crew_human" 			place(gunner)		door1(emit1) door2(emit2) visor(main))
	("crew_human_visible" 	place(commander)	door1(emit1) door2(emit2) visor(main))
	("crew_human" 			place(charger)		door1(emit1) door2(emit2) visor(main))

	{sensor
		{visor "main"
			{vision "stug4g-main"}
			{bone "visor1"}
		}
	}

	{extender "inventory"
		{weapon "gun" {fixed}}
		{box
			{item  "ammo mgun" 650}
			{item "ammo bullet75 ap" 50}
			{item "ammo bullet75 fg" 27}
			{item "grenade pwm1" 2}
			{item "bandage" 5}
			{item "ammo pistol" 200}
			{item "ammo rifle" 50}
		}
	}
	
	{mass 28500}
	{Chassis
		{track_size 0.6 0.7}
		{Locomotion 
			{MaxSpeed 	    20} ; максимальная скорость, kmph
			{StartTime 		 7} ; время разгона до макс. скорости с 0, seconds
			{BrakeTime 		1} ; время торможения с макс. скорости до 0, seconds
			{StopTime		 1} ; время остановки после отключения двигателя с макс. скорости до 0, seconds
			{TurnRadius     5} ; мин. радиус разворота, meter
			{TurnTime		15} ; время на разворот на 360 градусов при макс. скорости разворота, seconds
			{TurnStart		 2}	; время разгона до макс. угловой скорости с 0, seconds
			{TurnStop	   0.5}	; время остановки с макс. угловой скорости до 0, seconds
			{Gears 0.2 0.3 0.5 0.7 1.0} ; передаточные коэф-ты коробки передач
			{RearGears 0.2 0.5} ; передаточные коэф-ты коробки передач
		}
	}
	("tracks_forced")
	{Extension "StuG-4G_v1.mdl"}

	{Bone "turret" {speed 0.03}}
}
