{entity
	(include "/properties/cannon.ext")
	(include "/properties/shadow/tank.inc"  scale(0.5))
	{props "vehicle" "cannon" "wheeled" "vision_cannon_maximum" "round_sandbag2" "muzzle_maximum"}
	{PatherId "cannon.large"}		
	

	("armor_heavy")

	
	("crew_wheeled_gun")
	{boarder
		{anm "gunner"
			{forward	{end "pose_pak40_gunlayer" 10}}
		}
		{anm "commander"
			{forward	{end "pose_pak40_charger" 10}}
		}
		{anm "driver1"
			{forward {end "cannon_pak40_pusher_left" 10}}
		}
		{anm "driver2"
			{forward {end "cannon_pak40_pusher_right" 10}}
		}
		{anm "seat1"
			{forward {end "pose_seat_cannon_left" 10}}
		}
		{anm "seat2"
			{forward {end "pose_seat_cannon_right" 10}}
		}
	}

	("wheel" args "wheelright")
	("wheel" args "wheelleft")

	{extender "inventory"
		{box
			{item "bullet100 ap" 33}
			{item "bullet100 fg" 21}
			(mod "mp"
				{item "sandbag_kit2"}
			)
		}
	}
	{extender "shield"
		{on}
	}

	{component "shield" {tags "shield"}}
	
	{Weaponry
		{place "gun"
			{weapon "100mm_bs3" filled}
			{RestoreIKAfterAim}
			{Rotate}
			("abm_field_gun")
		}
	}

	{mass 3650}
	{Extension "bs3.mdl"}
	(include "/properties/selection/cannon.inc"  scale(0.7))

	{extender "cannon"
		{animation
			{switch "close"}
			{move "cannon_pak40_pusher_left" "cannon_pak40_pusher_right"}
			{aim "cannon_zis3_gunlayer" ""}
			{fire  "Cannon_gunlayer_fire-alert" "cannon_zis3_charger_fire 0.13"}
			{reload  "" "Cannon_zis3_charger"}
		}
		{move {obstacle "close"}}
		{attack {obstacle "open"}}
		(mod "mp" {rotate_ik_Limit 0})
	}

	{Chassis "track"
		("car_trace" fx("tracewheel03") step(0.08) wheell("wlf") wheelr("wrf") bonel("FXtraceL1") boner("FXtraceR1"))
		("car_trace" fx("tracewheel03") step(0.08) wheell("wlr") wheelr("wrr") bonel("FXtraceL2") boner("FXtraceR2"))
		("loco_big")
	}
	{bone "turret"
		{limits -25 25}
		{speed 0.003}
	}
	{bone "gun_rot"
		{limits -10 25}
		{speed 0.003}
	}
	{Volume "body"
	}
	{Volume "gun"
	}
	{Volume "standl"
	}
	{Volume "standr"
	}
	{Volume "turret"
	}
}


