|
发表于 2008-11-7 22:11:09
|
显示全部楼层
ESC不行,有些设置是不显示的.要改的话,就要在5 q4 m6 r: }6 ?! [+ _7 o
我的文档\Battlefield 2\Profiles\0001\Controls.con(记事本打开)里面修改$ r% T3 F, u1 ~! w- `
修改前最好做备份.修改错了可以还原回去
5 j( g8 I% T( ]* w$ \* g注意里面的语法 只要是有大写的,例如lnfantryPlayerInputControlMap,就可以看成是
3 N7 e s Y C8 Wlnfantry PlayerInput Control Map
! n% ?) y# H, `2 L+ O( E$ rControlMap.create InfantryPlayerInputControlMap 步兵设置* t; Z: |2 R/ w2 y% U4 i! q
ControlMap.create LandPlayerInputControlMap 地面载具设置6 T7 |* F( I) a0 J; [
ControlMap.create AirPlayerInputControlMap 固定翼设置
6 h# y; t) k# j2 YControlMap.create HelicopterPlayerInputControlMap 直升机设置 m0 M/ M X) f/ Q1 d4 }! D, m% I; d2 l
ControlMap.create SeaPlayerInputControlMap 船支设置- c6 r/ L1 c& {3 G p1 u
ControlMap.create defaultGameControlMap 默认设置
9 o! ^. n4 N! ?' n以下是我以前的帖子
- d- h3 T, Q9 h! x4 T7 S& q我们玩BF2,设置的键位都存放在我的文档\Battlefield 2\Profiles\0001,0002……\Controls! i$ ^& d1 \! B* s5 n
有时候,想在游戏修改某某键位,却不能在BF2的游戏里进行设置。会提示在某某位置已经使用。却找不到在某某位置的设置。这样的话,就需要在Controls里进行修改。修改之前,要对Controls进行备份。因为有时没有修改好的话,会造成错误。用备份的Controls替换一下,就还原了.。
# G; X1 ?1 i5 K+ {' ]下面就说说Controls的原理。下面二句就是Controls常用的语法。
8 L& a1 Z" h F% ]5 e5 r" s在Controls里随便找了几句; l7 u8 a8 H, y0 y
ControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0 (鼠标设置)" F3 M0 @! j. ?7 l
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1 (键盘设置)/ s) Q/ m9 ?* ~9 U" U8 x% i; p
区别就在于语句中addButton和addKey
4 m. s! G; H5 x下面是对说一下Controls语法的分解3 O$ m/ X; P4 @# [6 K
ControlMap.addButtonToTriggerMapping c_PISprint IDFMouse IDButton_2 0 0" D# x. n% ^5 X1 S2 U: @
可以分割成几部分" R/ A+ O e: ~! C
ControlMap.addButtonToTriggerMapping
( w! l% M ~% V* |7 C5 m+ Qc_PISprint % g! F$ p8 g8 A @& R
IDFMouse ' P2 H$ D; t6 ]6 g( r
IDButton_2 0 0
8 }3 W+ \: v0 c- SControlMap.addButtonToTriggerMapping 不用管它,可以无视它( e9 C% U8 S! g7 u$ S3 z
c_PISprint c_PI可以无视 Sprint 设置的动作
$ X1 v6 J. Z: [0 H# P x: SIDFMouse 前半部IDF可以无视 Mouse 鼠标( _" G+ t* L. g
IDButton_2 0 0 前半部ID也可以无视 Button_2 0 0(鼠标)某某键
: l: h& b' I) Q9 s" EControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1
" Z' |9 t) X$ @4 a同样道理,也可以分割成几部分, b J( @! ^" G2 K& \" y+ k- l8 X
ControlMap.addKeyToTriggerMapping
+ ~ s/ N. n7 ^6 t" |8 G0 w' Hc_PISprint c_PI可以无视 Sprint 设置的动作' i: {0 B# \! t9 Q5 j# u1 D
IDFKeyboard 前半部IDF可以无视 Keyboard 键盘
' {2 l) L8 }: n7 v- @8 xIDKey_Tab 0 1 ID也可以无视 Key_Tab 0 1 按键_Tab 0 1 就是要设置的键位
& g4 {+ D5 `0 s0 o% `% A" p注:Sprint就是奔跑的意思,这是我自己作的键位修改,我只是在Controls里随便找了几句。正好赶上同一设置了。
$ u" w0 J4 v; n看了语法的分析,想必大家已经有所了解。下一步就说如何修改
3 ~ h; [( d' h1 n' f2 X例如0 O& O: w9 P( w: W+ c
ControlMap.addKeyToTriggerMapping c_PISprint IDFKeyboard IDKey_Tab 0 1
$ e; P8 \5 z( H" m$ c6 K此句的全意就是设置键盘上Tab键为奔跑。想修改,就修改语句中IDKey_Tab 0 1。Tab换成其他键位就可以。同样,也可以反其道而行之,修改c_PISprint中Sprint。
( @% F8 n2 [1 s2 A5 p5 U9 B有时候,想在游戏修改某某键位,却提示在某某位置已经使用。却找不到在某某位置的设置。游戏里面,有的设置就不显示,只存在Controls里。就需要删除掉某某语句了。就要靠自己慢慢找了。 |
|