|
|
发表于 2008-11-7 22:11:09
|
显示全部楼层
ESC不行,有些设置是不显示的.要改的话,就要在8 k. W1 p5 }) X
我的文档\Battlefield 2\Profiles\0001\Controls.con(记事本打开)里面修改7 H W" }1 x! v1 W/ B/ S% F
修改前最好做备份.修改错了可以还原回去) A6 s2 t) j! ]
注意里面的语法 只要是有大写的,例如lnfantryPlayerInputControlMap,就可以看成是
5 B; |5 Y2 W( Nlnfantry PlayerInput Control Map, X) L5 R- j i) V
ControlMap.create InfantryPlayerInputControlMap 步兵设置
) [# x& N5 M4 vControlMap.create LandPlayerInputControlMap 地面载具设置4 `4 m+ P" ?# i
ControlMap.create AirPlayerInputControlMap 固定翼设置
+ ^6 l6 N8 g& X; LControlMap.create HelicopterPlayerInputControlMap 直升机设置0 e& o1 Y3 Y/ g' f
ControlMap.create SeaPlayerInputControlMap 船支设置
5 O2 l3 h' O# P z% a$ _8 AControlMap.create defaultGameControlMap 默认设置3 L d) H/ w7 u6 V
以下是我以前的帖子
5 z* q% g3 d+ {* o& z我们玩BF2,设置的键位都存放在我的文档\Battlefield 2\Profiles\0001,0002……\Controls, e* L; r0 L' c2 G& \
有时候,想在游戏修改某某键位,却不能在BF2的游戏里进行设置。会提示在某某位置已经使用。却找不到在某某位置的设置。这样的话,就需要在Controls里进行修改。修改之前,要对Controls进行备份。因为有时没有修改好的话,会造成错误。用备份的Controls替换一下,就还原了.。" k: D! t' ]$ g, y& E% }+ J# \+ \
下面就说说Controls的原理。下面二句就是Controls常用的语法。
" j1 D2 a2 A" h3 ^! b# b6 x在Controls里随便找了几句3 F- ]" s' N! `& o) K
ControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0 (鼠标设置)' U3 v$ p3 p/ q- v1 c
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1 (键盘设置)
2 T9 Q6 o* e7 @# _区别就在于语句中addButton和addKey
. g, r& s Y' \* p. g8 R& _下面是对说一下Controls语法的分解1 k, [) N) t- {4 {6 x! E3 }, q
ControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0
' V6 k; I/ c* s可以分割成几部分* V Q' p7 n% ?- O
ControlMap.addButtonToTriggerMapping
1 v9 _$ k) A7 c+ r' z1 w C4 |% _c_PISprint + ~4 n- g- a; G& e( e
IDFMouse * v4 @3 f; D" z4 b$ X
IDButton_2 0 0
8 m+ e/ c z1 b3 w' U5 pControlMap.addButtonToTriggerMapping 不用管它,可以无视它
, g' D' h2 h) W( V) g( ^c_PISprint c_PI可以无视 Sprint 设置的动作
1 M8 Y. F; I8 W4 i& ~IDFMouse 前半部IDF可以无视 Mouse 鼠标
] ^$ r5 {' u" U8 HIDButton_2 0 0 前半部ID也可以无视 Button_2 0 0(鼠标)某某键
# f8 B. |8 z- p; tControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1% B" Z% [% E3 G) E# d' i' X
同样道理,也可以分割成几部分 s O) F3 Z, y U; ~9 S9 o
ControlMap.addKeyToTriggerMapping
@" G/ _' V0 H( G% tc_PISprint c_PI可以无视 Sprint 设置的动作" g+ t6 o5 G0 l2 S. l
IDFKeyboard 前半部IDF可以无视 Keyboard 键盘
7 g: p1 K6 q( Y$ N, _2 oIDKey_Tab 0 1 ID也可以无视 Key_Tab 0 1 按键_Tab 0 1 就是要设置的键位0 k% w4 X/ G) X+ [7 q# |
注:Sprint就是奔跑的意思,这是我自己作的键位修改,我只是在Controls里随便找了几句。正好赶上同一设置了。
0 q) E" ~3 v& q看了语法的分析,想必大家已经有所了解。下一步就说如何修改
0 d: X; v7 R% `* N2 a例如4 e0 c1 X6 K5 M, ?+ j) N
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1$ C+ a/ B% R8 m$ P
此句的全意就是设置键盘上Tab键为奔跑。想修改,就修改语句中IDKey_Tab 0 1。Tab换成其他键位就可以。同样,也可以反其道而行之,修改c_PISprint中Sprint。
$ m' N8 J) A6 s1 c4 \$ I' w有时候,想在游戏修改某某键位,却提示在某某位置已经使用。却找不到在某某位置的设置。游戏里面,有的设置就不显示,只存在Controls里。就需要删除掉某某语句了。就要靠自己慢慢找了。 |
|