local HUNToldiII = LightTank:New{
	name				= "38.M Toldi II",
	buildCostMetal		= 1200,
	corpse				= "HUNToldiII_Abandoned",
	maxDamage			= 850,
	trackOffset			= 5,
	trackWidth			= 18,

	weapons = {
		[1] = {
			name				= "Solothurn_36MAP",
			mainDir				= [[0 16 1]],
			maxAngleDif			= 210,
		},
		[2] = {
			name				= "Solothurn_36MHE",
			mainDir				= [[0 16 1]],
			maxAngleDif			= 210,
		},
		[3] = { -- coax 1
			name				= "gebauer_1934_37m",
		},
		[4] = {
			name				= ".50calproof",
		},
	},
	customParams = {
		armour = {
			base = {
				front = {
					thickness		= 13,
					slope			= 30,
				},
				rear = {
					thickness		= 13,
					slope			= -33,
				},
				side = {
					thickness 		= 13,
					slope			= 15,
				},
				top = {
					thickness		= 5,
				},
			},
			turret = {
				front = {
					thickness		= 15,
					slope			= -6,
				},
				rear = {
					thickness		= 13,
					slope			= 20,
				},
				side = {
					thickness 		= 13,
					slope			= 15,
				},
				top = {
					thickness		= 5,
				},
			},
		},
		maxammo					= 24,
		maxvelocitykmh			= 48,
		barrelrecoildist		= 2,
		barrelrecoilspeed		= 10,
		turretturnspeed			= 15,
		elevationspeed			= 20,
		normaltex				= "unittextures/HUNToldiII_normals.png",
	},
}

local HUNToldiIIA = HUNToldiII:New{
	name			= "42.M Toldi IIA",
	buildCostMetal	= 1500,
	corpse			= "HUNToldiIIA_Abandoned",
	maxDamage		= 900,
	weapons = {
		[1] = {
			name				= "Mavag_37_42MAP",
			mainDir				= [[0 16 1]],
			maxAngleDif			= 210,
		},
		[2] = {
			name				= "Mavag_37_42MHE",
			mainDir				= [[0 16 1]],
			maxAngleDif			= 210,
		},
		[3] = { -- coax 1
			name				= "gebauer_1934_37m",
		},
		[4] = {
			name				= ".50calproof",
		},
	},
	customParams = {
		armour = {
			base = {
				front = {
					thickness		= 23,
				},
			},
			turret = {
				front = {
					thickness = 35,
					slope = 0,
				},
			},
		},
		normaltex				= "unittextures/HUNToldiIIA_normals.png",
	},
}

return lowerkeys({
	["HUNToldiII"] = HUNToldiII,
	["HUNToldiIIA"] = HUNToldiIIA,
})
