
[Thing Template=AAUnitGERVehicleLightTank]
{
	IDS = ger_tank_pziiie
	name = "#ger_tank_pziiie_name"
	editor_name = "#ger_tank_pziiie_editor_name"

	[BodyComponent]
	{
		health = 1000
		defense = 500
	}
	

	
	[MoverComponent]
	{
		speed_max = 4.0
		acceleration = 2.0
		
		[WhenStartMoving template=FXC_CreateVFX]
		{
			VFX_IDS = start_exhaust_01
			location = exhaust_point_01	
	  	}
	  	
	  	/*
		[WhenStartMoving template=FXC_PlaySFX]
		{
			audio_ids = attack_usa_mg_light
		}
		*/
	}
	
	[ElementComponent]
	{
		required_structures = ger_motor_pool
	}
		
	[PropertiesComponent]
	{
		[Property]
		property_IDS = captain

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

		[Ability template=AATurretAttackLocal]
		{
			
			[AbilityDefinition Template=AAMediumTankGun]
			{				
				name = "#ger_tank_pziiie_AbilityDefinition_name"
				recharge_time = 6
				range = 16
				area = 1

				[Effect Template=APDamageEffect]
				amount = 600
				
				[Effect Template=AddDamageEffect]
				damage_type_IDS = gunfire
				targets = infantry
				amount = 5

				[WhenDo Template=FXC_PlayObjectAnimation]
				object_animation_IDS = Recoil1

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

	[View]
	{
		resource_prefix = GERTankpziiie/GERTankMedium
		
		[AspectNormal]
		{						
			[Animation Template=ObjectAnimationCustomPlay]
			ids = Recoil1
			length = 1
			kf = GERTankMedium/GERTankMediumRecoil1.kf
		}
	}
}
