|
|
发表于 2008-11-7 22:11:09
|
显示全部楼层
ESC不行,有些设置是不显示的.要改的话,就要在
8 w1 t I# F0 d* d) X/ p6 k我的文档\Battlefield 2\Profiles\0001\Controls.con(记事本打开)里面修改
9 w- n5 g, z8 N" P# i+ F修改前最好做备份.修改错了可以还原回去
c9 j; z$ T% ^# S注意里面的语法 只要是有大写的,例如lnfantryPlayerInputControlMap,就可以看成是& O* p8 E: R- T! E
lnfantry PlayerInput Control Map
9 R% R$ g% E. _! j, |* z$ s2 _7 _ControlMap.create InfantryPlayerInputControlMap 步兵设置
4 A7 L: v; W3 H& i" C9 HControlMap.create LandPlayerInputControlMap 地面载具设置
0 K8 w/ q# _7 D/ wControlMap.create AirPlayerInputControlMap 固定翼设置
- V9 K$ W5 W4 E: }2 t3 Y; lControlMap.create HelicopterPlayerInputControlMap 直升机设置 k! w& `7 X, @% V8 X; f9 p
ControlMap.create SeaPlayerInputControlMap 船支设置" F" R% J6 n* a; }4 F# | q
ControlMap.create defaultGameControlMap 默认设置
/ F. `+ B0 i4 S% \+ _6 B以下是我以前的帖子4 I$ n/ S- F3 W2 a3 n
我们玩BF2,设置的键位都存放在我的文档\Battlefield 2\Profiles\0001,0002……\Controls
5 I/ ]. C8 m; J2 [- q有时候,想在游戏修改某某键位,却不能在BF2的游戏里进行设置。会提示在某某位置已经使用。却找不到在某某位置的设置。这样的话,就需要在Controls里进行修改。修改之前,要对Controls进行备份。因为有时没有修改好的话,会造成错误。用备份的Controls替换一下,就还原了.。
6 c) H, i8 D0 ?( U. C6 W* z下面就说说Controls的原理。下面二句就是Controls常用的语法。& A$ U" t$ q- C9 f% @
在Controls里随便找了几句
. o6 m. A: b. t0 R; x5 ZControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0 (鼠标设置)+ B# @7 Z! K3 ]4 L# n/ a1 t% E
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1 (键盘设置)
3 q, W. u* X( f+ _+ c: \; K区别就在于语句中addButton和addKey
1 ^, ^ a2 @) D, [下面是对说一下Controls语法的分解9 L1 y; z1 Q( S6 c
ControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 06 |4 F+ m! t8 [2 m( ^# k/ \, d- g3 K5 i
可以分割成几部分4 L. w; G8 b* y; O
ControlMap.addButtonToTriggerMapping
- s9 N1 x2 D% B0 l# @: Sc_PISprint ) n9 t" ~$ i4 ?
IDFMouse + f8 s" w/ Z: V# K8 t
IDButton_2 0 0! \2 W# n" V2 [9 @" z
ControlMap.addButtonToTriggerMapping 不用管它,可以无视它
+ `# n5 o! K( |3 r5 X2 gc_PISprint c_PI可以无视 Sprint 设置的动作 3 T' t* M* U e+ E
IDFMouse 前半部IDF可以无视 Mouse 鼠标" P) U; E3 G$ e6 j" }6 m
IDButton_2 0 0 前半部ID也可以无视 Button_2 0 0(鼠标)某某键
& `4 k+ |4 P4 X/ t2 X- VControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1
4 d6 k n- m3 Z* J同样道理,也可以分割成几部分8 |2 @3 Q& Q6 S0 ~8 N8 C
ControlMap.addKeyToTriggerMapping# j8 Y0 c5 n# }3 C$ V
c_PISprint c_PI可以无视 Sprint 设置的动作/ P# ^& x! S6 G4 S
IDFKeyboard 前半部IDF可以无视 Keyboard 键盘
+ Z( l5 C; ?; SIDKey_Tab 0 1 ID也可以无视 Key_Tab 0 1 按键_Tab 0 1 就是要设置的键位* H8 w& f2 V/ t; ~$ z6 @/ ~
注:Sprint就是奔跑的意思,这是我自己作的键位修改,我只是在Controls里随便找了几句。正好赶上同一设置了。0 {/ ?$ Y/ _2 t) X _
看了语法的分析,想必大家已经有所了解。下一步就说如何修改3 w4 a" k+ q- H$ n
例如
; W5 U' F( z% A$ e" l6 |7 YControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1" x: M2 {6 j" |+ E4 _% H [& @
此句的全意就是设置键盘上Tab键为奔跑。想修改,就修改语句中IDKey_Tab 0 1。Tab换成其他键位就可以。同样,也可以反其道而行之,修改c_PISprint中Sprint。
6 e) f& I( I8 Y5 T有时候,想在游戏修改某某键位,却提示在某某位置已经使用。却找不到在某某位置的设置。游戏里面,有的设置就不显示,只存在Controls里。就需要删除掉某某语句了。就要靠自己慢慢找了。 |
|