[Thing Template=AAUnitUSAVehicleHQTruck]
{
	IDS = usa_truck_50calartillery
	name = "#usa_truck_50calartillery_name"
	editor_name = "#usa_truck_50calartillery_editor_name"
	
	[BodyComponent]
	{
		health = 500
		defense = 2
	}

	[EconomyComponent]
	{
		[Cost]
		money = 8

		[Upkeep]
		money = 1
		ammo = 1
		oil = 1
	}
	
	[ElementComponent]
	required_structures =  usa_motor_pool
	
	[MobileDeploymentComponent]
	{
	
		unpack_to_actor_ids = usa_bunker_aa
		
		packed_position_offset = 0,0
		packed_orientation = 1,0
	}
	
	[MoverComponent]
	{
		speed_max = 6

		;; ids of the trailer actor
		trailer_actor = usa_trailer_corps

		[TrailerHitch]
		{		
			;; node name and node offset of the truck's hitch
			node_ids = hitch
			node_offset = 0, -2.2, 0.5
		}
	}
	
	[PropertiesComponent]
	{		

		[Property]
		property_IDS = combat_unit

		[Property]
		property_IDS = property_bunker_aa

		[Property]
		property_IDS = military_building

		[Property]
		property_IDS = property_aa	

		[Property]
		property_ids = antiaircraft_company

	}	
	
	[View]
	{
		resource_prefix = USATruck/USATruck
		icon = /UI/Game/BuildingButtons/IconBunkerAA.png

		[WhenCreated Template=FXC_PlaySFX]
		audio_ids = usa_truck_deployed

		[WhenSelected Template=FXC_PlaySFX]
		audio_ids = brigade_artillery_select
	}
}
