[Template RUSHalftrack Inherit=AAUnitRUSVehicleHalftrack]
{
	[BodyComponent]
	{
		health = 500
		defense = 200
	}
	
	[MoverComponent]
	{
		speed_max = 5.0
		turn_radius = 1.5
	}

	[ElementComponent]
	{
		required_structures = rus_motor_pool
	}
	
	[PropertiesComponent]
	{
		[Property]
		property_IDS = front
		
		[Property]
		property_IDS = support
		
		[Property]
		property_IDS = mg		
		
		[Property]
		property_IDS = combat_unit
		
		[Property]
		property_IDS = halftrack_unit
	}
	
	[PerformerComponent]
	
	[View]
	{
		resource_prefix = RUSHalftrack/RUSHalftrack
	}
}

;;----------------------------- UNITS ------------------------ ;;

[Thing Template=RUSHalftrack]
{
	IDS = rus_halftrack
	name = "#rus_halftrack_Thing_name"
	editor_name = "#rus_halftrack_Thing_editor_name"

	[PerformerComponent]
	{
		
		[Ability Template=AAGunLocal]
		{	
			[AbilityDefinition Template=AAVehicleMG]
			{
				name = "#rus_halftrack_AbilityDefinition_name"
				area = 1.5
				attenuation_range_min = 0.5
				attenuation_factor_max = 0.5
				max_targets = 4
				
				recharge_time = 2
				range = 20
				
				[Effect Template=PierceDamageEffect]
				amount = 200

				[WhenDo template=FXC_PlaySFX]
				audio_ids = rus_mg_heavy
			}
		}
	}
}