module Base { model PU_Chains_FL_Trailer51chevy { mesh = vehicles/Trailer51chevyArmor|chaintires, texture = Vehicles/puv_parts, shader = vehiclewheel, scale = 0.0035, } model PU_Chains_FR_Trailer51chevy { mesh = vehicles/Trailer51chevyArmor|chaintires, texture = Vehicles/puv_parts, shader = vehiclewheel, scale = 0.0035, invertX = TRUE, } model PU_Trunk_Trailer51chevy_Light { mesh = vehicles/Trailer51chevyArmor|trunklightrear, texture = Vehicles/puv_parts, shader = vehiclewheel, scale = 0.004525, } model PU_Trunk_Trailer51chevy_Heavy { mesh = vehicles/Trailer51chevyArmor|trunkheavyrear, texture = Vehicles/puv_parts, shader = vehiclewheel, scale = 0.004525, } template vehicle PU_Armor_Trailer51chevy { template = ATA2Protection/part/ATA2ProtectionTrunk, part ATA2ProtectionTrunk { model Light { file = PU_Trunk_Trailer51chevy_Light, } model Heavy { file = PU_Trunk_Trailer51chevy_Heavy, } } part Tire* { setAllModelsVisible = false, table install { complete = ATATuning2.InstallComplete.TireNotAllModelsVisible, } table uninstall { complete = ATATuning2.UninstallComplete.TireNotAllModelsVisible, } lua { create = ATATuning2.Create.TireNotAllModelsVisible, init = ATATuning2.Init.TireNotAllModelsVisible, checkOperate = Vehicles.CheckOperate.Tire, update = Vehicles.Update.Tire, } } template = ATA2Protection/part/ATA2ProtectionWheels, part TireFrontLeft { model ATAProtection { file = PU_Chains_FL_Trailer51chevy, } } part TireFrontRight { model ATAProtection { file = PU_Chains_FR_Trailer51chevy, } } } }