[Thing Template=AAUnitGBRVehicleHalftrack]
{
	IDS = gbr_halftrack_aa
	name = "#gbr_halftrack_aa_name"
	editor_name = "#gbr_halftrack_aa_editor_name"

	[BodyComponent]
	{
		health = 500
		defense = 200
	}
	
	[ElementComponent]
	{
		required_structures = gbr_motor_pool
	}

	[MoverComponent]
	{
		speed_max = 5.0
		acceleration = 3.5
	}
	
	
	[PerformerComponent]
	{
		[Turret]
		{
			turret_ids = Turret
			yaw_rotation_per_sec_degrees = 180
		}
		
		[Ability Template=AAGunLocal]
		{		
			[AbilityDefinition Template=AAAttackAntiAirMG]
			{
				name = "#gbr_halftrack_aa_AbilityDefinition_name"
				recharge_time = 3
				range = 60
							
				[Effect Template=PierceDamageEffect]
				amount = 800
				
				[WhenDo Template=FXC_PlaySFX]
				audio_ids = gbr_aa
				
				[WhenDo Template=FXC_PlayObjectAnimation]
				object_animation_IDS = Recoil1
			}
		}
	}

	[PropertiesComponent]
	{		
		[Property]
		property_IDS = support
		
		[Property]
		property_IDS = front
		
		[Property]
		property_IDS = property_aa
		
		[Property]
		property_IDS = combat_unit
		
		[Property]
		property_IDS = halftrack_unit
	}
	
	[View]
	{
		resource_prefix = GBRHalftrackAA/GBRHalftrackAA

		[AspectNormal]
		{						
			[Animation Template=ObjectAnimationCustomPlay]
			ids = Recoil1
			length = 1
			kf = GBRHalftrackAA/GBRHalftrackAARecoil1.kf
		}
	}	
}