|
发表于 2008-11-7 22:11:09
|
显示全部楼层
ESC不行,有些设置是不显示的.要改的话,就要在
4 ?6 e F5 e) p" p我的文档\Battlefield 2\Profiles\0001\Controls.con(记事本打开)里面修改5 d4 T l4 ^, C; p3 ^ c
修改前最好做备份.修改错了可以还原回去) O: ]0 S7 ~; L u. B$ Y
注意里面的语法 只要是有大写的,例如lnfantryPlayerInputControlMap,就可以看成是
( e% \, ]$ s' d9 B) Rlnfantry PlayerInput Control Map9 B4 M% m, K- m+ n0 j$ j( p
ControlMap.create InfantryPlayerInputControlMap 步兵设置
1 P( }& c* F1 KControlMap.create LandPlayerInputControlMap 地面载具设置1 H+ i% N# O5 \+ X* a
ControlMap.create AirPlayerInputControlMap 固定翼设置" D+ w% P. A5 ~' o5 Z9 D
ControlMap.create HelicopterPlayerInputControlMap 直升机设置
. T3 \7 ~8 J9 i8 q# _8 q! R DControlMap.create SeaPlayerInputControlMap 船支设置: t8 x9 H$ C$ S- e+ b/ R
ControlMap.create defaultGameControlMap 默认设置
- m, L$ |3 e. p: W以下是我以前的帖子
g+ z: b, V7 E* }8 }0 d我们玩BF2,设置的键位都存放在我的文档\Battlefield 2\Profiles\0001,0002……\Controls
$ \% H6 z. D0 O有时候,想在游戏修改某某键位,却不能在BF2的游戏里进行设置。会提示在某某位置已经使用。却找不到在某某位置的设置。这样的话,就需要在Controls里进行修改。修改之前,要对Controls进行备份。因为有时没有修改好的话,会造成错误。用备份的Controls替换一下,就还原了.。
: r7 L4 g1 ]8 C U% M下面就说说Controls的原理。下面二句就是Controls常用的语法。% z: y& j8 A" }: O. j9 `- ?
在Controls里随便找了几句
- l7 k q2 W5 ]! H, x$ L) r& RControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0 (鼠标设置)4 S* x6 b6 w% K6 Z2 n7 e
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1 (键盘设置)3 y+ i/ j4 w+ {- L
区别就在于语句中addButton和addKey4 p4 K, i6 g- T) K2 j' n! z
下面是对说一下Controls语法的分解
( p7 l4 N- B2 g$ y# {5 t5 OControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0, g; V3 [" O6 y* ~! A% c+ ^# L- @
可以分割成几部分; w) k8 w7 `" l9 |- v: J
ControlMap.addButtonToTriggerMapping
& L9 e, D+ h1 D" [c_PISprint * r. e9 v0 \" t. p0 d: M% z& V
IDFMouse ' a* W7 U5 ~7 U3 r+ h
IDButton_2 0 0; E$ l- e; \8 s0 A, \" p# t
ControlMap.addButtonToTriggerMapping 不用管它,可以无视它
; \" p3 {( [: l5 T8 {6 }c_PISprint c_PI可以无视 Sprint 设置的动作 1 C8 w+ q5 Y: q. p( M' j4 L
IDFMouse 前半部IDF可以无视 Mouse 鼠标- b2 w( F' ~2 O, R$ |
IDButton_2 0 0 前半部ID也可以无视 Button_2 0 0(鼠标)某某键
e1 c) ]& a3 @3 [- aControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1& s5 |( t" M! \1 F; J. L7 ?7 w
同样道理,也可以分割成几部分
& X* c1 o/ @! p! }ControlMap.addKeyToTriggerMapping! m7 _9 G1 F* K
c_PISprint c_PI可以无视 Sprint 设置的动作
, {( R5 t/ r! ~$ z" y8 C+ x6 Q# Q( |IDFKeyboard 前半部IDF可以无视 Keyboard 键盘
% R5 S# ^; U, y% A7 a2 I- uIDKey_Tab 0 1 ID也可以无视 Key_Tab 0 1 按键_Tab 0 1 就是要设置的键位
3 V* _4 v# ?8 V& n( t* O注:Sprint就是奔跑的意思,这是我自己作的键位修改,我只是在Controls里随便找了几句。正好赶上同一设置了。
9 k& |3 Q# g4 M8 R; O2 D看了语法的分析,想必大家已经有所了解。下一步就说如何修改
) Y1 t# ~( N8 T6 f6 V; o例如
* q3 j% w% h( d4 S' mControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1' n$ Q) p+ o A- D/ {
此句的全意就是设置键盘上Tab键为奔跑。想修改,就修改语句中IDKey_Tab 0 1。Tab换成其他键位就可以。同样,也可以反其道而行之,修改c_PISprint中Sprint。4 k7 M v7 h3 a- J3 Y! N8 C
有时候,想在游戏修改某某键位,却提示在某某位置已经使用。却找不到在某某位置的设置。游戏里面,有的设置就不显示,只存在Controls里。就需要删除掉某某语句了。就要靠自己慢慢找了。 |
|