|
|
发表于 2008-11-7 22:11:09
|
显示全部楼层
ESC不行,有些设置是不显示的.要改的话,就要在
8 J6 ?7 `9 o, g1 D4 `% O我的文档\Battlefield 2\Profiles\0001\Controls.con(记事本打开)里面修改. G8 x$ V6 Q2 l- i, V+ x
修改前最好做备份.修改错了可以还原回去8 k0 h W S! V$ U/ x' c. ?
注意里面的语法 只要是有大写的,例如lnfantryPlayerInputControlMap,就可以看成是1 c0 K3 X: E N2 m; c3 p1 Q6 G
lnfantry PlayerInput Control Map
! k* O8 R* B! b% w% n9 kControlMap.create InfantryPlayerInputControlMap 步兵设置& K# C( ] a' ?1 a9 ?% b- ?5 W% a
ControlMap.create LandPlayerInputControlMap 地面载具设置: \( P+ C9 I& B. O) s
ControlMap.create AirPlayerInputControlMap 固定翼设置5 h1 E2 |% F9 ~" T; X: p9 T3 B
ControlMap.create HelicopterPlayerInputControlMap 直升机设置
# f* L6 j$ o5 c; o. t* o jControlMap.create SeaPlayerInputControlMap 船支设置
9 t! B" y: d( L0 UControlMap.create defaultGameControlMap 默认设置
- n; e1 X. \ n0 d/ }) K以下是我以前的帖子; ] [" l/ O' w, i+ @; k# H0 ~, @
我们玩BF2,设置的键位都存放在我的文档\Battlefield 2\Profiles\0001,0002……\Controls
2 d! z( X. X0 v有时候,想在游戏修改某某键位,却不能在BF2的游戏里进行设置。会提示在某某位置已经使用。却找不到在某某位置的设置。这样的话,就需要在Controls里进行修改。修改之前,要对Controls进行备份。因为有时没有修改好的话,会造成错误。用备份的Controls替换一下,就还原了.。7 y0 p4 s" ^3 x* D- {
下面就说说Controls的原理。下面二句就是Controls常用的语法。2 d3 _4 G2 S) p" ?: g
在Controls里随便找了几句
8 m% \ t4 l2 M4 Y6 C- mControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0 (鼠标设置)2 |$ |; x O+ y1 _& b" a
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1 (键盘设置)7 X/ J: X7 M9 S+ ^5 L2 d
区别就在于语句中addButton和addKey
1 ?: @3 M. q4 P* E/ A* _- m下面是对说一下Controls语法的分解
. X& `+ b- u3 g- J9 @8 EControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0: Z; A( \' ]# }4 W
可以分割成几部分
$ z* F `8 j( a5 n. {3 H: j! kControlMap.addButtonToTriggerMapping
+ S3 h) j: d* Z# v) ]9 Vc_PISprint
7 X% U# N$ y9 t! {1 R2 N) iIDFMouse / E* w( z2 T# d
IDButton_2 0 0( D% c6 p+ W8 C4 t# {
ControlMap.addButtonToTriggerMapping 不用管它,可以无视它3 {% O/ {% e2 C3 @
c_PISprint c_PI可以无视 Sprint 设置的动作
6 j; C; `% w- H( C: m+ zIDFMouse 前半部IDF可以无视 Mouse 鼠标
( l, }. n& E7 {$ }5 }IDButton_2 0 0 前半部ID也可以无视 Button_2 0 0(鼠标)某某键 x) k8 Q+ y7 \
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1
" x8 E& A( M' Y/ {( m$ T: z5 [" x同样道理,也可以分割成几部分$ C: \! X i3 e
ControlMap.addKeyToTriggerMapping$ N; Q& W) u( |
c_PISprint c_PI可以无视 Sprint 设置的动作4 f) c% [* E7 L" B4 D \
IDFKeyboard 前半部IDF可以无视 Keyboard 键盘; I* Y. M/ r V: i# J4 F
IDKey_Tab 0 1 ID也可以无视 Key_Tab 0 1 按键_Tab 0 1 就是要设置的键位
2 I3 Y. z; A X5 Z注:Sprint就是奔跑的意思,这是我自己作的键位修改,我只是在Controls里随便找了几句。正好赶上同一设置了。, c; |: u# g: k6 C
看了语法的分析,想必大家已经有所了解。下一步就说如何修改3 o7 K6 ^5 q' F
例如- Q y) c0 A7 _! q5 k% a
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1" m T4 f$ d( F2 Z" k# n7 ^
此句的全意就是设置键盘上Tab键为奔跑。想修改,就修改语句中IDKey_Tab 0 1。Tab换成其他键位就可以。同样,也可以反其道而行之,修改c_PISprint中Sprint。& Y0 `( }4 r. ?- n, Y0 I _' M4 m4 S
有时候,想在游戏修改某某键位,却提示在某某位置已经使用。却找不到在某某位置的设置。游戏里面,有的设置就不显示,只存在Controls里。就需要删除掉某某语句了。就要靠自己慢慢找了。 |
|