-----------------------------------------------------------------------------------------------------------------
--   WWII American Truck -  Mod by Markindel - www.news3d.eu                    --
------------------------------------------------------------------------------------------------------------------


mount_vfs_model_path	(current_mod_path.."/Shapes")
mount_vfs_liveries_path (current_mod_path.."/Liveries")
mount_vfs_texture_path  (current_mod_path.."/Textures/Textures_TruckGMC.zip")

-- GAZ-66

GT = {};
set_recursive_metatable(GT, GT_t.generic_wheel_vehicle);
set_recursive_metatable(GT.chassis, GT_t.CH_t.GAZ66);

GT.visual.shape = "N3D_TruckGMC";
GT.visual.shape_dstr = "N3D_TruckGMC_Dsrt";


--chassis
GT.swing_on_run = false

--Burning after hit
GT.visual.fire_size = 0.6 --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 = 500 --burning time (seconds)

GT.Name = "N3D_TruckGMC";
GT.DisplayName = _("WWII USS Truck GNC");
GT.Rate = 3;

GT.DetectionRange  = 0;
GT.ThreatRange = 0;
GT.mapclasskey = "P0091000005";
GT.attribute = {wsType_Ground,wsType_Tank,wsType_NoWeapon,wsTypeGAZ_66,
				"Trucks",
				};
GT.category = "Unarmed";
GT.warehouse = true
-------------------------------------------------------------------------------------------------------------------------
add_surface_unit(GT)