[Thing Template=AAUnitRUSKneel]
{
	IDS = gerit_infantry_mg
	name = "#gerit_infantry_mg_name"
	editor_name = "#gerit_infantry_mg_editor_name"

	[BodyComponent]
	{
		health = 50
		defense = 1
	}

	[CharacterComponent Template=AAInfantryMGCharacterComponent]
	
	[MoverComponent]
	{
		speed_max = 1.0
	}
		
	[PropertiesComponent]
	{
		[Property]
		property_IDS = support

		[Property]
		property_IDS = front
						
		[Property]
		property_IDS = mg

		[Property]
		property_IDS = property_infantry_unit
		
		[Property]
		property_IDS = combat_unit
	}
	
	[PerformerComponent]
	{
		[Ability Template=AAGunLocal]
		{
			[AbilityDefinition Template=AAInfantryMG]
			{				
				name = "#gerit_infantry_mg_AbilityDefinition_name"
				area = 1.0
				attenuation_range_min = 0.5
				attenuation_factor_max = 0.5
				max_targets = 6
				
				recharge_time = 2
				range = 6
				
				[Effect Template=PierceDamageEffect]
				amount = 180
				
				[WhenDo template=FXC_PlaySFX]
				{
					audio_ids = rus_mg_heavy
				}
			}
		}
	}

	[View]
	{
		resource_prefix = GERitInfantryMG/RUSInfantryMG

		[WhenCreated Template=FXC_Equipment]
		action = HIDE
		location = base
		equipment_type_ids = tripoddown

		[WhenCreated Template=FXC_Equipment]
		action = UNHIDE
		location = rhand
		equipment_type_ids = rifle
	}
}