|
|
发表于 2008-11-7 22:11:09
|
显示全部楼层
ESC不行,有些设置是不显示的.要改的话,就要在% ]3 Q7 [* b) O
我的文档\Battlefield 2\Profiles\0001\Controls.con(记事本打开)里面修改
" Z4 L; c- d \修改前最好做备份.修改错了可以还原回去/ d6 g/ |8 }7 t; @; h4 o
注意里面的语法 只要是有大写的,例如lnfantryPlayerInputControlMap,就可以看成是
3 u" V/ M: `8 d9 flnfantry PlayerInput Control Map) C! l6 M! k# W. i2 T7 I
ControlMap.create InfantryPlayerInputControlMap 步兵设置
4 U8 k" ~- p8 NControlMap.create LandPlayerInputControlMap 地面载具设置/ d3 ]6 q7 Y4 J, X
ControlMap.create AirPlayerInputControlMap 固定翼设置
h. Y$ W8 }( z# h6 eControlMap.create HelicopterPlayerInputControlMap 直升机设置* o; S4 w! x6 Q& T" h
ControlMap.create SeaPlayerInputControlMap 船支设置8 g4 S2 o/ ? N/ u2 X1 {( z
ControlMap.create defaultGameControlMap 默认设置
) q& a; b9 l4 q: `5 [( x* w; U9 n以下是我以前的帖子' K3 E! f# k% k& x- q- n" l- I. k
我们玩BF2,设置的键位都存放在我的文档\Battlefield 2\Profiles\0001,0002……\Controls
: t5 J% H( C4 v# q有时候,想在游戏修改某某键位,却不能在BF2的游戏里进行设置。会提示在某某位置已经使用。却找不到在某某位置的设置。这样的话,就需要在Controls里进行修改。修改之前,要对Controls进行备份。因为有时没有修改好的话,会造成错误。用备份的Controls替换一下,就还原了.。' ?. O6 T4 j8 s
下面就说说Controls的原理。下面二句就是Controls常用的语法。
& }" C* w9 A' V在Controls里随便找了几句, _% Q! u3 G; T6 w1 G
ControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0 (鼠标设置)
) A% B9 X; g: e9 Q) \: U# eControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1 (键盘设置)
. c0 q6 H) T9 s区别就在于语句中addButton和addKey
1 p: R5 U) p+ n! J. H. Q% m- m. J- S下面是对说一下Controls语法的分解
( v# W8 g) g# x- I/ HControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 05 r, [. h, S: ]% F& ?
可以分割成几部分
# a) ~. [9 o* W" x! Z& q$ ]% b7 DControlMap.addButtonToTriggerMapping
# O9 ^3 _4 k; X2 b+ Ac_PISprint 6 Q0 a% y( Y3 l+ N
IDFMouse 9 U/ @0 ?/ q' @" C% k4 p
IDButton_2 0 0* }; j: b2 x' A( z* B- Z* a: i) T
ControlMap.addButtonToTriggerMapping 不用管它,可以无视它& z: n) N) @- T3 Q" Q3 X
c_PISprint c_PI可以无视 Sprint 设置的动作
+ f2 s0 }! Z# c6 k# T! AIDFMouse 前半部IDF可以无视 Mouse 鼠标
7 j" W# s: v: |" ]- y* P- o0 uIDButton_2 0 0 前半部ID也可以无视 Button_2 0 0(鼠标)某某键5 l! C% ^6 l2 g; o0 @+ A |
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1 n2 y1 H5 G8 A1 [6 [8 E
同样道理,也可以分割成几部分; {: g, i7 R% P8 {. ~
ControlMap.addKeyToTriggerMapping
7 P: t$ j8 Z! Z! yc_PISprint c_PI可以无视 Sprint 设置的动作
0 ]# M" b7 G; i6 O, l4 OIDFKeyboard 前半部IDF可以无视 Keyboard 键盘
/ F4 ^; q9 B' G7 BIDKey_Tab 0 1 ID也可以无视 Key_Tab 0 1 按键_Tab 0 1 就是要设置的键位
8 t8 q7 ]. z& I- ]: ]* {注:Sprint就是奔跑的意思,这是我自己作的键位修改,我只是在Controls里随便找了几句。正好赶上同一设置了。% E# l6 d# B# b" e# a' B
看了语法的分析,想必大家已经有所了解。下一步就说如何修改
; F. L) @; c" Y: H1 ~例如; H ~( w8 D1 ]- v8 G
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1
5 n) v9 E0 D' b( e j+ r, S* ?: z此句的全意就是设置键盘上Tab键为奔跑。想修改,就修改语句中IDKey_Tab 0 1。Tab换成其他键位就可以。同样,也可以反其道而行之,修改c_PISprint中Sprint。0 Q9 y# ^& e8 {5 v: v
有时候,想在游戏修改某某键位,却提示在某某位置已经使用。却找不到在某某位置的设置。游戏里面,有的设置就不显示,只存在Controls里。就需要删除掉某某语句了。就要靠自己慢慢找了。 |
|