--TATRA_815_VT_8x8


GT = {};
GT_t.ws = 0;

--chassis
set_recursive_metatable(GT, GT_t.generic_wheel_vehicle,generic_vehicle);

GT_t.CH_t.TATRA815VT8x8 = { 
life = 3,
mass = 24000,
length = 8.65,
width = 2.25,
max_road_velocity = 85,  
max_slope = 1.4,
canSwim = false,
canWade = true,
engine_power = 190,
max_vert_obstacle = 0.6,
max_acceleration = 1.28,
min_turn_radius = 21,
X_gear_1 = 2.504,
Y_gear_1 = 0,
Z_gear_1 = 0.825,
X_gear_2 = -2.608,
Y_gear_2 = 0,
Z_gear_2 = 0.825,
r_max = 0.65, --speed_rotation_wheels
armour_thickness = 0.003,
gear_type = GT_t.GEAR_TYPES.WHEELS,
};
 
 
set_recursive_metatable(GT.chassis, GT_t.CH_t.TATRA815VT8x8);
--[[  
GT.DM = {
	{ area_name = "LAUNCHER001", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER002", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER003", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER004", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER005", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER006", 		armour = {width=0.150}},  
	{ area_name = "LAUNCHER007", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER008", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER009", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER010", 		armour = {width=0.150}},   
	{ area_name = "LAUNCHER011", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER012", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER013", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER014", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER015", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER016", 		armour = {width=0.150}},  
	{ area_name = "LAUNCHER017", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER018", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER019", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER020", 		armour = {width=0.150}},  
	{ area_name = "LAUNCHER021", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER022", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER023", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER024", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER025", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER026", 		armour = {width=0.150}},  
	{ area_name = "LAUNCHER027", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER028", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER029", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER030", 		armour = {width=0.150}},  
	{ area_name = "LAUNCHER031", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER032", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER033", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER034", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER035", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER036", 		armour = {width=0.150}},  
	{ area_name = "LAUNCHER037", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER038", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER039", 		armour = {width=0.150}},
	{ area_name = "LAUNCHER040", 		armour = {width=0.150}},  
	{ area_name = "LAUNCHER_ANGLE", armour = {width=0.300}},
	{ area_name = "LAUNCHER_ROT",   armour = {width=0.300}},  
	{ area_name = "LAUNCHER_BASE",  armour = {width=0.300}},
	{ area_name = "BODY",           armour = {width=0.300}},
	{ area_name = "BODY_BACK01",    armour = {width=0.150}}, 
	{ area_name = "BODY_BACK02",    armour = {width=0.150}},    
	{ area_name = "BODY_LEFT",      armour = {width=0.020}},  
	{ area_name = "BODY_DOWN",      armour = {width=0.300}},  
	{ area_name = "KABINA_FRONT",   armour = {width=0.300}},   
	{ area_name = "KABINA_LEFT",    armour = {width=0.300}}, 
	{ area_name = "KABINA_RIGHT",   armour = {width=0.300}}, 
	{ area_name = "KABINA_BOTTOM",  armour = {width=0.300}}, 
	{ area_name = "KABINA_BACK",    armour = {width=0.300}},
	{ area_name = "KABINA_TOP",     armour = {width=0.300}},     
	{ area_name = "WHEEL001",       armour = {width=0.020}}, 
	{ area_name = "WHEEL002",       armour = {width=0.020}}, 
	{ area_name = "WHEEL003",       armour = {width=0.020}}, 
	{ area_name = "WHEEL004",       armour = {width=0.020}}, 
	{ area_name = "WHEEL005",       armour = {width=0.020}}, 
	{ area_name = "WHEEL006",       armour = {width=0.020}}, 
	{ area_name = "WHEEL007",       armour = {width=0.020}}, 
	{ area_name = "WHEEL008",       armour = {width=0.020}},             
}               ]]


GT.visual.shape = "TATRA 815 VT";
GT.visual.shape_dstr = "TATRA 815 VT_DM";


GT.swing_on_run = false;

GT.sensor = {};
set_recursive_metatable(GT.sensor, GT_t.SN_visual);
GT.sensor.height = 2.85;

--Burning after hit
GT.visual.fire_size = 0.7; --relative burning size
GT.visual.fire_pos[1] = 1; -- center of burn at long axis shift(meters)
GT.visual.fire_pos[2] = 0;-- center of burn shift at vertical shift(meters)
GT.visual.fire_pos[3] = 0; -- center of burn at transverse axis shift(meters)
GT.visual.fire_time = 900; --burning time (seconds)
--GT.animation_arguments.crew_presence = 50;


GT.driverViewConnectorName = "DRIVER_POINT";


GT.Name = "TATRA 815 VT 8x8";
GT.Aliases = {"TATRA 815 VT 8x8"}
GT.DisplayName = _("TATRA 815 VT 8x8");
GT.Rate = 15;

GT.DetectionRange  = 0;
GT.ThreatRange = 0;
GT.mapclasskey = "P0091000211";
GT.attribute = {wsType_Ground,wsType_Tank,wsType_NoWeapon,wsType_GenericVehicle,
				        "Trucks",
                };
GT.category = "Unarmed";

        
GT.Countries = { "Czech Republic","Slovakia","Poland","Germany","Finland","Greece","Georgia", };        
--------------------------------------------------------------------------------

        
add_surface_unit(GT)
