|
|
发表于 2008-11-7 22:11:09
|
显示全部楼层
ESC不行,有些设置是不显示的.要改的话,就要在
7 \7 r2 G# U# M' ?我的文档\Battlefield 2\Profiles\0001\Controls.con(记事本打开)里面修改
( {% C" ?% q! t+ |" }修改前最好做备份.修改错了可以还原回去1 f: u x, r8 r; |
注意里面的语法 只要是有大写的,例如lnfantryPlayerInputControlMap,就可以看成是! z+ [ b+ [4 e. T8 k* P# U
lnfantry PlayerInput Control Map
2 A/ R3 ^. }, gControlMap.create InfantryPlayerInputControlMap 步兵设置
; ?$ |' c8 A% `ControlMap.create LandPlayerInputControlMap 地面载具设置
+ p7 U% @* I, E: T1 XControlMap.create AirPlayerInputControlMap 固定翼设置
& r+ @: r7 N6 Q; MControlMap.create HelicopterPlayerInputControlMap 直升机设置
9 s6 G; X1 g/ O# j6 Z3 T3 x; ?# }: s9 FControlMap.create SeaPlayerInputControlMap 船支设置
r9 y& J' K: N7 ~8 t0 t/ ?ControlMap.create defaultGameControlMap 默认设置
$ ~/ J* U h! O' }" C* ]以下是我以前的帖子* S- h0 t" M A$ C: [
我们玩BF2,设置的键位都存放在我的文档\Battlefield 2\Profiles\0001,0002……\Controls, H$ f" y* k& B3 E4 j
有时候,想在游戏修改某某键位,却不能在BF2的游戏里进行设置。会提示在某某位置已经使用。却找不到在某某位置的设置。这样的话,就需要在Controls里进行修改。修改之前,要对Controls进行备份。因为有时没有修改好的话,会造成错误。用备份的Controls替换一下,就还原了.。5 b1 C; h) G6 E. \2 N
下面就说说Controls的原理。下面二句就是Controls常用的语法。
: d' Y9 t$ P8 X0 I, j* e在Controls里随便找了几句
+ R. f$ e2 N1 R0 nControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0 (鼠标设置)- P* P4 R W. t8 i/ e. A8 j
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1 (键盘设置)
' H0 i. X1 d/ a8 L* U5 Z2 z区别就在于语句中addButton和addKey
/ O4 q, y& B! H下面是对说一下Controls语法的分解
$ U4 W0 [ z/ ^. [* Z D3 n5 pControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0
2 k$ a% B. F5 U, u, g. s$ l8 @: B可以分割成几部分* Y3 u! `7 e4 D$ U
ControlMap.addButtonToTriggerMapping U; K- x, H4 [
c_PISprint , c0 f: E! ~, ?& J Z
IDFMouse
- D. n( {$ G/ M& V4 g% w9 ^$ ?IDButton_2 0 0
. A( R5 J: R% q' p5 a9 }ControlMap.addButtonToTriggerMapping 不用管它,可以无视它# Y e+ W# C1 b: a- x
c_PISprint c_PI可以无视 Sprint 设置的动作
w2 q) S" C( c7 ~IDFMouse 前半部IDF可以无视 Mouse 鼠标, n/ D; {- R8 o5 E/ L" [
IDButton_2 0 0 前半部ID也可以无视 Button_2 0 0(鼠标)某某键
* e1 b- o& u2 ^9 KControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1$ k/ @' `6 {2 w# c* m8 h4 Q- o
同样道理,也可以分割成几部分
/ H0 _, O( b G% aControlMap.addKeyToTriggerMapping/ T8 \* V/ O3 x2 ^8 y& J; E
c_PISprint c_PI可以无视 Sprint 设置的动作
0 W# ]) b$ z" dIDFKeyboard 前半部IDF可以无视 Keyboard 键盘
# K# t S2 ^8 B% Y& b/ g/ K8 jIDKey_Tab 0 1 ID也可以无视 Key_Tab 0 1 按键_Tab 0 1 就是要设置的键位8 P7 G) T/ W' X. O
注:Sprint就是奔跑的意思,这是我自己作的键位修改,我只是在Controls里随便找了几句。正好赶上同一设置了。
: {, ~* z. E+ E( ?6 a看了语法的分析,想必大家已经有所了解。下一步就说如何修改
& }. _. M7 M' F1 r- N; d+ ^例如
4 O2 H8 N+ I1 }* S! W9 M- p- {ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1
3 \1 I$ ^+ C9 d此句的全意就是设置键盘上Tab键为奔跑。想修改,就修改语句中IDKey_Tab 0 1。Tab换成其他键位就可以。同样,也可以反其道而行之,修改c_PISprint中Sprint。, [5 P6 \4 u$ I. X# F
有时候,想在游戏修改某某键位,却提示在某某位置已经使用。却找不到在某某位置的设置。游戏里面,有的设置就不显示,只存在Controls里。就需要删除掉某某语句了。就要靠自己慢慢找了。 |
|