[Thing Template=AAUnitGERVehicleMediumTank]
{
	IDS = gerit_tank_sem47
	name = "#gerit_tank_sem47_name"
	editor_name = "#gerit_tank_sem47_editor_name"

	[BodyComponent]
	{
		health = 500
		defense = 300
	}
	
	[MoverComponent]
	{
		speed_max = 4.0
		
		[WhenStartMoving template=FXC_CreateVFX]
		{
			VFX_IDS = start_exhaust_01
			location = exhaust_point_01	
	  	}
	  	
	  	[WhenStartMoving template=FXC_CreateVFX]
		{
			VFX_IDS = start_exhaust_01
			location = exhaust_point_02	
	  	}
	}

	[ElementComponent]
	{
		required_structures = ger_motor_pool
	}
	
	[PropertiesComponent]
	{

		[Property]
		property_IDS = front

		[Property]
		property_IDS = captain

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

		[Ability template=AAProjectileLocal]
		{
			[AbilityDefinition Template=AAAntiTankGun]
			{				
				name = "#gerit_tank_sem47_AbilityDefinition_name"
				recharge_time = 6
				range = 16
				area = 1
								
				[Effect Template=APDamageEffect]
				amount = 500

				
				[WhenDo Template=FXC_PlayObjectAnimation]
				object_animation_IDS = Recoil1

				[WhenDo template=FXC_PlaySFX]
				audio_ids = ger_cannon_light
			}
		}
	}
	
	[View]
	{
		resource_prefix = GERITTankSem47/JPNTanklight
		
		[AspectNormal]
		{						
			[Animation Template=ObjectAnimationCustomPlay]
			ids = Recoil1
			length = 1
			kf = GERITTankSem47/JPNTanklightRecoil1.kf
		}
	}
}