[Thing Template=AAUnitUSAVehicleHQTruck]
{
	IDS = usa_truck_engineer
	name = "#usa_truck_engineer_name"
	editor_name = "#usa_truck_engineer_editor_name"

	[BodyComponent]
	{
		health = 500
		defense = 2
	}
	
	[EconomyComponent]
	{
		[Cost]
		money = 500

		[Production]
		ammo = 1
		oil = 1

		[Upkeep]
		building_limit_consumed = 1
	}
	
	[ElementComponent]
	{

	}
	
	[MobileDeploymentComponent]
	{
	
		unpack_to_actor_ids = usa_brigade_engineer
		
		packed_position_offset = 0,0
		packed_orientation = 1,0
	}
	
	[MoverComponent]
	{
		speed_max = 6

		;; ids of the trailer actor
		trailer_actor = usa_trailer_engineer

		[TrailerHitch]
		{		
			;; node name and node offset of the truck's hitch
			node_ids = hitch
			node_offset = 0, -2.2, .5
		}
	}
	
	[PropertiesComponent]
	{	
		[Property]
		property_IDS = engineer_brigade	
	}	
		
	[View]
	{
		resource_prefix = USATruck/USATruck
		icon = /UI/Game/BuildingButtons/IconBrigadeEngineer.png

		[WhenCreated Template=FXC_PlaySFX]
		audio_ids = usa_truck_deployed
	
		[WhenSelected Template=FXC_PlaySFX]
		audio_ids = brigade_engineer_select
	}
}
