Edit your server.lua as follows (and don't forget to backup your original file first):
Find these original contents of the server.lua
Code: Select all
limits_6DOF = {}
limits_6DOF[PlaneIndex.iSu_27] = old_aircrafts_6DOF
limits_6DOF[PlaneIndex.iSu_33] = old_aircrafts_6DOF
limits_6DOF[PlaneIndex.iSu_25] = old_aircrafts_6DOF
limits_6DOF[PlaneIndex.iSu_39] = old_aircrafts_6DOF
limits_6DOF[PlaneIndex.iMiG_29] = old_aircrafts_6DOF
limits_6DOF[PlaneIndex.iMiG_29K] = old_aircrafts_6DOF
limits_6DOF[PlaneIndex.iA_10] = old_aircrafts_6DOF
limits_6DOF[PlaneIndex.iF_15] = old_aircrafts_6DOF
limits_6DOF[PlaneIndex.iKA_50] = {x = {-0.02,0.35},y = {-0.15,0.21},z = {-0.26,0.26},roll = 90.0}
Code: Select all
limits_6DOF = {}
limits_6DOF[PlaneIndex.iSu_27] = {x = {-0.02,0.35},y = {-0.15,0.21},z = {-0.20,0.20},roll = 90.0}
limits_6DOF[PlaneIndex.iSu_33] = {x = {-0.02,0.35},y = {-0.15,0.21},z = {-0.26,0.26},roll = 90.0}
limits_6DOF[PlaneIndex.iSu_25] = {x = {-0.02,0.15},y = {-0.15,0.21},z = {-0.26,0.26},roll = 90.0}
limits_6DOF[PlaneIndex.iSu_39] = {x = {-0.02,0.35},y = {-0.15,0.21},z = {-0.26,0.26},roll = 90.0}
limits_6DOF[PlaneIndex.iMiG_29] = {x = {-0.02,0.35},y = {-0.15,0.21},z = {-0.26,0.26},roll = 90.0}
limits_6DOF[PlaneIndex.iMiG_29K] = {x = {-0.02,0.35},y = {-0.15,0.21},z = {-0.26,0.26},roll = 90.0}
limits_6DOF[PlaneIndex.iA_10] = {x = {-0.02,0.35},y = {-0.15,0.21},z = {-0.26,0.26},roll = 90.0}
limits_6DOF[PlaneIndex.iF_15] = {x = {-0.02,0.35},y = {-0.15,0.21},z = {-0.26,0.26},roll = 90.0}
limits_6DOF[PlaneIndex.iKA_50] = {x = {-0.02,0.35},y = {-0.15,0.21},z = {-0.26,0.26},roll = 90.0}
For example, to limit 6DOF roll try lowering the value from 90. 0 degrees to 70. 0 for example. You can also limit the other 6DOF limits to find more realistic limits for how much a pilot would be able to move his head around inside the F-15 cockpit with a helmet on. We may want to lower some of the values to reduce 2D cockpit clipping also, but still be able to lean around the canopy bow!