module Base { template vehicle W460LWB2DoorArmors { part W460LWBDoorFrontLeftArmor { model W460LWBDoorFrontLeftArmor1 { file = W460LWBdoorfla, } parent = DoorFrontLeft, itemType = Base.W460CarFrontDoorArmor1_Item, specificItem = false, table install { requireInstalled = WindowFrontLeft, } area = SeatFrontLeft, anim ActorOpen { angle = 0.0 270.0 0.0, } anim ActorClose { angle = 0.0 270.0 0.0, } anim Close { anim = door_fl_closing, rate = 1.5, } anim Open { anim = door_fl_closing, reverse = TRUE, rate = 1.0, } anim Closed { anim = door_fl_closing, reverse = TRUE, animate = FALSE, } anim Opened { anim = door_fl_closing, animate = FALSE, } lua { create = W460LWB.Create.DoorFrontLeftArmor, init = W460LWB.Init.DoorFrontLeftArmor, } } part W460LWBDoorFrontRightArmor { model W460LWBDoorFrontRightArmor1 { file = W460LWBdoorfra, } parent = DoorFrontRight, itemType = Base.W460CarFrontDoorArmor1_Item, specificItem = false, table install { requireInstalled = WindowFrontRight, } area = SeatFrontRight, anim ActorOpen { angle = 0.0 90.0 0.0, } anim ActorClose { angle = 0.0 90.0 0.0, } anim Close { anim = door_fr_closing, rate = 1.5, } anim Open { anim = door_fr_closing, reverse = TRUE, rate = 1.0, } anim Closed { anim = door_fr_closing, reverse = TRUE, animate = FALSE, } anim Opened { anim = door_fr_closing, animate = FALSE, } lua { create = W460LWB.Create.DoorFrontRightArmor, init = W460LWB.Init.DoorFrontRightArmor, } } part W460LWBDoor* { category = door, door { } anim Open { sound = VehicleDoorOpenStandard, } anim Close { sound = VehicleDoorCloseStandard, } anim Lock { sound = LockVehicleDoorStandard, } anim Unlock { sound = UnlockVehicleDoorStandard, } anim IsLocked { sound = VehicleDoorIsLockedStandard, } anim ActorOpen { anim = Attack_Shove, rate = 0.3, } anim ActorClose { anim = Attack_Shove, rate = 0.3, } mechanicRequireKey = true, table install { items { item { type = Base.Wrench, count = 1, keep = true, equip = primary, } } time = 1200, skills = Mechanics:4, recipes = Intermediate Mechanics, test = Vehicles.InstallTest.Default, complete = Vehicles.InstallComplete.Door, } table uninstall { items { item { type = Base.Wrench, count = 1, keep = true, equip = primary, } } time = 1200, skills = Mechanics:4, recipes = Intermediate Mechanics, test = Vehicles.UninstallTest.Default, complete = Vehicles.UninstallComplete.Door, } } } } }