|
发表于 2008-11-7 22:11:09
|
显示全部楼层
ESC不行,有些设置是不显示的.要改的话,就要在% n1 w+ ]! @ r4 ?" t. h
我的文档\Battlefield 2\Profiles\0001\Controls.con(记事本打开)里面修改3 ~5 A7 A o6 ~$ r
修改前最好做备份.修改错了可以还原回去
% C, Y' |; F; {6 u' O, \注意里面的语法 只要是有大写的,例如lnfantryPlayerInputControlMap,就可以看成是
& a; }( c) Y. p- d7 K! ~! M' xlnfantry PlayerInput Control Map7 q3 k' b! ?7 @! l% h! y. \
ControlMap.create InfantryPlayerInputControlMap 步兵设置
+ v% h* r6 r! y5 K. T# ]ControlMap.create LandPlayerInputControlMap 地面载具设置- [8 I; R8 `% V/ H) M( Q
ControlMap.create AirPlayerInputControlMap 固定翼设置
* c/ h8 s9 N4 g0 @5 {ControlMap.create HelicopterPlayerInputControlMap 直升机设置2 r" g- O0 q0 r) L
ControlMap.create SeaPlayerInputControlMap 船支设置
& e* M3 j$ U2 E% a6 H rControlMap.create defaultGameControlMap 默认设置& c2 l! R2 g+ p$ L1 B2 ?
以下是我以前的帖子! A6 N6 p( c: s
我们玩BF2,设置的键位都存放在我的文档\Battlefield 2\Profiles\0001,0002……\Controls; D4 `, L$ Q* B% u. m2 }( s1 S9 n
有时候,想在游戏修改某某键位,却不能在BF2的游戏里进行设置。会提示在某某位置已经使用。却找不到在某某位置的设置。这样的话,就需要在Controls里进行修改。修改之前,要对Controls进行备份。因为有时没有修改好的话,会造成错误。用备份的Controls替换一下,就还原了.。, @) r9 F* R, y/ S# o
下面就说说Controls的原理。下面二句就是Controls常用的语法。/ y/ r$ N1 ^, A1 N" H; ~* P+ ?" W
在Controls里随便找了几句
/ {) Y8 p- C$ g: G" @! R _ControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0 (鼠标设置)3 b+ K3 n* [3 r* x, H
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1 (键盘设置), q2 k& G* Q6 y( d8 U! @
区别就在于语句中addButton和addKey
5 s' v; t: C6 J j下面是对说一下Controls语法的分解% Q4 M, o3 z" k+ i, Q' j9 T, t
ControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0
, C5 Q W& O5 v+ |4 W1 e0 _可以分割成几部分
; X5 V) c9 R% yControlMap.addButtonToTriggerMapping
7 s8 N5 g# z/ p" P. Sc_PISprint
0 E/ _+ S) f; T6 w- [6 w! fIDFMouse
- A$ o+ U% n* i. I- V! ]0 WIDButton_2 0 07 O6 k6 s$ u Y/ y* G
ControlMap.addButtonToTriggerMapping 不用管它,可以无视它
8 S: \2 o! C* V! B6 ]5 W5 X% ^c_PISprint c_PI可以无视 Sprint 设置的动作
; c' k9 h( s0 C/ z/ GIDFMouse 前半部IDF可以无视 Mouse 鼠标0 \* a7 W* a' g7 H
IDButton_2 0 0 前半部ID也可以无视 Button_2 0 0(鼠标)某某键
* }* ^9 H1 S; S* CControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 14 J; d' V/ ^. @
同样道理,也可以分割成几部分! }6 k* z% l- S5 c
ControlMap.addKeyToTriggerMapping! Z8 P" ~7 |- e+ Q# V2 k g
c_PISprint c_PI可以无视 Sprint 设置的动作8 h6 o% ]2 ?. W6 p$ t. v
IDFKeyboard 前半部IDF可以无视 Keyboard 键盘
6 }# @5 c7 V `IDKey_Tab 0 1 ID也可以无视 Key_Tab 0 1 按键_Tab 0 1 就是要设置的键位% t! j$ ]* ~' y: {, Z
注:Sprint就是奔跑的意思,这是我自己作的键位修改,我只是在Controls里随便找了几句。正好赶上同一设置了。9 O0 F" t1 S F* l' M% y* y- S
看了语法的分析,想必大家已经有所了解。下一步就说如何修改
4 i* X- m- G; |( u$ C例如2 b: N; f) n4 n7 W1 Y% i" @
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1
9 S/ @7 v9 p: [- k3 L; B此句的全意就是设置键盘上Tab键为奔跑。想修改,就修改语句中IDKey_Tab 0 1。Tab换成其他键位就可以。同样,也可以反其道而行之,修改c_PISprint中Sprint。4 d( U3 X; z9 V" ~& Q
有时候,想在游戏修改某某键位,却提示在某某位置已经使用。却找不到在某某位置的设置。游戏里面,有的设置就不显示,只存在Controls里。就需要删除掉某某语句了。就要靠自己慢慢找了。 |
|