|
发表于 2012-2-4 16:40:07
|
显示全部楼层
FC2 实现6轴的修改方法
转自ED论坛:http://forums.eagle.ru/showthread.php?t=51693
注意备份!修改必须使用NOTEPAD++等专用软件!禁止写字板和记事本。
打开server.lua
原始段落如下:
Original:
--local old_aircrafts_6DOF = {x = {-2,2},y = {-2,2},z = {-2,2},roll = 90.0} -- {x = {0,0},y = {0,0},z = {0,0},roll = 0}
local old_aircrafts_6DOF = {x = {-0.02,0.05},y = {-0.03,0.03},z = {-0.03,0.03},roll = 90.0}
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}
--
修改成:
--local old_aircrafts_6DOF = {x = {-2,2},y = {-2,2},z = {-2,2},roll = 90.0} -- {x = {0,0},y = {0,0},z = {0,0},roll = 0}
local old_aircrafts_6DOF = {x = {-0.02,0.05},y = {-0.03,0.03},z = {-0.03,0.03},roll = 90.0}
local new_6DOF = {x = {-0.02,0.35},y = {-0.15,0.21},z = {-0.26,0.26},roll = 90.0}
limits_6DOF = {}
limits_6DOF[PlaneIndex.iSu_27] = new_6DOF
limits_6DOF[PlaneIndex.iSu_33] = new_6DOF
limits_6DOF[PlaneIndex.iSu_25] = new_6DOF
limits_6DOF[PlaneIndex.iSu_39] = new_6DOF
limits_6DOF[PlaneIndex.iMiG_29] = new_6DOF
limits_6DOF[PlaneIndex.iMiG_29K] = new_6DOF
limits_6DOF[PlaneIndex.iA_10] = new_6DOF
limits_6DOF[PlaneIndex.iF_15] = new_6DOF
limits_6DOF[PlaneIndex.iKA_50] = new_6DOF
freetrack2.2中 Z轴卡死决绝办法 将Z轴曲线横坐标改到90 就不会了
youku上有效果视屏 搜索: FC2 6 |
|