[Thing Template=AAUnitGBRVehicleHQTruck]
{
	IDS = gbr_truck_40mmartillery
	name = "#gbr_truck_40mmartillery_name"
	editor_name = "#gbr_truck_40mmartillery_editor_name"
	
	[BodyComponent]
	{
		health = 500
		defense = 2
	}

	[EconomyComponent]
	{
		[Cost]
		money = 10

		[Upkeep]
		money = 1
		ammo = 1
		oil = 1
	}
	
	[ElementComponent]
	required_structures =  gbr_motor_pool, gbr_brigade_artillery
	
	[MobileDeploymentComponent]
	{
	
		unpack_to_actor_ids = gbr_bunker_aa
		
		packed_position_offset = 0,0
		packed_orientation = 1,0
	}

	[MoverComponent]
	{
		speed_max = 6.0
		acceleration = 2
		trailer_actor = gbr_trailer_corps

		[TrailerHitch]
		{
			node_ids = hitch
			node_offset = 0, -1.7, .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 = GBRTruck/GBRTruck
		icon = /UI/Game/BuildingButtons/IconBunkerAA.png

		[WhenCreated Template=FXC_PlaySFX]
		audio_ids = gbr_truck_deployed

		[WhenSelected Template=FXC_PlaySFX]
		audio_ids = brigade_artillery_select
	}
}
