{
	(include "/properties/tank.ext")
	(include "/properties/shadow/tank.inc" scale(1.3))
	(include "/properties/selection/vehicle.inc" scale(1.2))
	{props "medium" "-turret" "self_propelled"}
	
	{TexMods
		{"ambush" "1"}
		{"ambush1" "2"}
	}
	{Volume "Gun"
		{thickness 10}
	}
	{volume "body1"
		{component "body"}
		{tags "body"}
		{thickness 30
			{front  50}
		    {rear	20}
		}   
	}
	{volume "body2"
		{component "body"}
		{tags "body"}
		{thickness 30
			{front  50}
		    {rear	20}
		}   
	}


	{boarder
		{anm "driver"
			{forward	{begin	""}}
			{reverse 	{end	"emit_body" 1}}
		}
		{anm "charger"
			{forward	{begin	""} {end "seat_armor"}}
			{reverse 	{end	"emit_body" 1}}
		}
		{anm "gunner"
			{forward	{begin	""} {end "seat_driver_car"}}
			{reverse 	{end	"emit_body" 1}}
		}
		{anm "commander"
			{forward	{begin	""} {end "seat_armor"}}
			{reverse 	{end	"emit_body" 1}}
		}
	}

	(define "crew_human"
		{placer
			{place "%place" {group "crew"} {linkbone "%place"} {turnoff {sensor} {shadow}}}
		}
		{boarder
			{door "%door1"}
			{door "%door2"}
			{link "%door1" "%place" {anm "%place"} {forward putoff} {reverse puton}}
			{link "%door2" "%place" {anm "%place"} {forward putoff} {reverse puton}}
		}
	)

	{placer
		{place "driver" {group "crew"} {visor "driver"}}
	}
	{boarder
		{door "emit1"}
		{door "emit2"}
		{link "emit1" "driver" {anm "driver"} {forward putoff} {reverse puton}}
		{link "emit2" "driver" {anm "driver"} {forward putoff} {reverse puton}}
	}

	("crew_human" place(commander)	door1(emit1) door2(emit2))
	("crew_human" place(gunner)	    door1(emit1) door2(emit2))
	("crew_human" place(charger)	door1(emit1) door2(emit2))




	{Weaponry
		{place "gun"
			{DefaultWeapon "150mm_sfh18"}
			{Mounted}
			{weapon {ammo "ammo bullet150 fg" 1}}
		}
;		{place "mgun"
;			{LinkBone "mgun"}
;			{LinkAnimation "off"}
;			{DefaultWeapon "mg34"}
;			{Mounted}
;		}
	}
	{extender "inventory"
		{weapon "gun" {fixed}}
		{box
			{item "ammo bullet150 fg" 25}
			{item "grenade pwm1" 2}
			{item "bandage" 5}
			{item "ammo pistol" 200}
			{item "ammo rifle" 50}
		}
	}
	
	{mass 23500}
	{Chassis
		{track_size 0.6 0.7}
		{Locomotion ("locomotion")
			{maxspeed 15}
		}
		{speed
			{Slow	5	}	; km/h
			{Normal	10	}
			{Fast	15	}
		}
	}
	("tracks_forced")
	{Extension "Hummel_v1.mdl"}
}
