[Thing Template=AAUnitGBRVehicleMediumTank]
{
	IDS = usa_tank_m36
	name = "#usa_tank_m36_name"
	editor_name = "#usa_tank_m36_editor_name"

	[BodyComponent]
	{
		health = 1000
		defense = 400
	}

	[ElementComponent]
	{
		required_structures = usa_motor_pool
		morale_value = 10
	}

	[MoverComponent]
		
	{
		speed_max = 4.0
		
		[WhenStartMoving template=FXC_CreateVFX]
		{
			VFX_IDS = start_exhaust_02
			location = exhaust_point_01	
	  	}
	  	
	  	[WhenStartMoving template=FXC_CreateVFX]
		{
			VFX_IDS = start_exhaust_02
			location = exhaust_point_02	
	  	}
	}
	
	[PropertiesComponent]
	{		
		[Property]
		property_IDS = support

		[Property]
		property_IDS = captain

		[Property]
		property_IDS = front
		
		[Property]
		property_IDS = combat_unit
	}
	
	[PerformerComponent]
	{
		check_damage_resistance = true

		[Ability template=AATurretAttackLocal]
		{
			
			[AbilityDefinition Template=AAAntiTankGun]
			{				
				name = "#usa_tank_m36_AbilityDefinition_name"
				recharge_time = 7
				range = 48
				
				[Effect Template=APDamageEffect]
				amount = 1600

				[Effect Template=AddDamageEffect]
				damage_type_IDS = gunfire
				targets = infantry
				amount = 10

				
				[WhenDo template=FXC_PlaySFX]
				audio_ids = usa_cannon_heavy
			}
		}
	}
	
	[View]
	{
		resource_prefix = USATankM36/USATankM36
	}
}