[Template AAUnitJPNVehicleHQTruckCorp Template=AAUnitJPNVehicleHQTruck]
{
		name = "#gerit_truck_corps_AAUnitGERitVehicleHQTruckCorp_name"
	
	[BodyComponent]
	{
		health = 500
		defense = 2
	}

	[EconomyComponent]
	{
		[Cost]
		money = 200
		
		[Production]
		money = 12
		ammo = 10
		oil = 5
	}
	
	[MobileDeploymentComponent]
	{
	
		unpack_to_actor_ids = gerit_corps
		
		packed_position_offset = 0,0
		packed_orientation = 1,0
	}
	
	[MoverComponent]
	{
		speed_max = 6


		;; ids of the trailer actor
		trailer_actor = ger_trailer_corps

	[TrailerHitch]
	{		
			;; node name and node offset of the truck's hitch
			node_ids = hitch
			node_offset = 0, -1.2, .5
	}
}
	
	[PropertiesComponent]
	{	
		[Property]
		property_IDS = corpshq	
	}	
		
	[View]
	{
		resource_prefix = GERitTruck/JPNTruck
		icon = /UI/Game/BuildingButtons/IconCorps.png

		[WhenSelected Template=FXC_PlaySFX]
		audio_ids = corps_select
	}
}

[Thing Template=AAUnitJPNVehicleHQTruckCorp ]
{
	IDS = gerit_truck_corps
	editor_name = "#gerit_truck_corps_Thing_editor_name"
}

[Thing Template=AAUnitJPNVehicleHQTruckCorp ]
{
	IDS = gerit_truck_corps_dynamic
	editor_name = "#gerit_truck_corps_dynamic_editor_name"

	[MobileDeploymentComponent]
	{
		unpack_to_actor_ids = jpn_corps_dynamic
	}

	[Placement]
	placement_group_ids = null
}

[Thing Template=AAUnitJPNVehicleHQTruckCorp ]
{
	IDS = gerit_truck_corps_amphibious
	editor_name = "#gerit_truck_corps_amphibious_editor_name"
		
	transport_actor = jpn_transport_water_hq

	[Placement]
	placement_group_IDS = null
}

[Thing Template=AAUnitJPNVehicleHQTruckCorp ]
{
	IDS = gerit_truck_corps_amphibious_dynamic
	editor_name = "#gerit_truck_corps_amphibious_dynamic_editor_name"

	transport_actor = jpn_transport_water_hq

	[Placement]
	placement_group_IDS = null

	[MobileDeploymentComponent]
	{
		unpack_to_actor_ids = gerit_corps_dynamic
	}
}