Translations:Binds/81/zh: Difference between revisions

From DDraceNetwork
By (talk | contribs)
Created page with "这个绑定能让您锁死角度,只剩下八个方向(每45度): bind {{color|green|x}} {{color|red|"}}{{color|magenta|+toggle}} {{color|blue|cl_mouse_max_distance}} {{color|purple|2 400}}{{color|red|;}} {{color|magenta|+toggle}} {{color|blue|inp_mousesens}} {{color|purple|1 200}}{{color|red|;}} {{color|blue|+showhookcoll}}{{color|red|"}} 您需要在F1控制台输入<code>cl_mouse_max_distance</code>查询参数,并将<code>400</code>替换成查询参数..."
 
Darkh (talk | contribs)
No edit summary
 
Line 1: Line 1:
这个绑定能让您锁死角度,剩下八个方向(每45度):
这个绑定能保证按住{{key press|x}}键时鼠标能指向八个方向(每45度):
  bind {{color|green|x}} {{color|red|"}}{{color|magenta|+toggle}} {{color|blue|cl_mouse_max_distance}} {{color|purple|2 400}}{{color|red|;}} {{color|magenta|+toggle}} {{color|blue|inp_mousesens}} {{color|purple|1 200}}{{color|red|;}} {{color|blue|+showhookcoll}}{{color|red|"}}
  bind {{color|green|x}} {{color|red|"}}{{color|magenta|+toggle}} {{color|blue|cl_mouse_max_distance}} {{color|purple|2 400}}{{color|red|;}} {{color|magenta|+toggle}} {{color|blue|inp_mousesens}} {{color|purple|1 200}}{{color|red|;}} {{color|blue|+showhookcoll}}{{color|red|"}}
您需要在F1控制台输入<code>cl_mouse_max_distance</code>查询参数,并将<code>400</code>替换成查询参数;以及在F1控制台输入<code>inp_mousesens</code>查询参数,并将<code>200</code>换成查询参数:
如果不想改变鼠标的最大活动区域和灵敏度的个人习惯,您需要在F1控制台输入<code>cl_mouse_max_distance</code>查询自己的第一个参数,之后输入<code>inp_mousesens</code>获取第二个参数,将<code>400</code><code>200</code>分别依次换成自己的两个参数:
  bind {{color|green|x}} {{color|red|"}}{{color|magenta|+toggle}} {{color|blue|cl_mouse_max_distance}} {{color|purple|2 [您的参数]}}{{color|red|;}} {{color|magenta|+toggle}} {{color|blue|inp_mousesens}} {{color|purple|1 [您的参数]}}{{color|red|;}} {{color|blue|+showhookcoll}}{{color|red|"}}
  bind {{color|green|x}} {{color|red|"}}{{color|magenta|+toggle}} {{color|blue|cl_mouse_max_distance}} {{color|purple|2 [您的参数]}}{{color|red|;}} {{color|magenta|+toggle}} {{color|blue|inp_mousesens}} {{color|purple|1 [您的参数]}}{{color|red|;}} {{color|blue|+showhookcoll}}{{color|red|"}}

Latest revision as of 05:56, 3 July 2023

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Binds)
This bind allows you to only aim in 45° angles when holding down the key.  This is useful for shooting rockets straight up for double rockets and a few other scenarios.
 bind <span style="color:green">x</span> <span style="color:red">"</span><span style="color:magenta">+toggle</span> <span style="color:blue">cl_mouse_max_distance</span> <span style="color:purple">2 400<span style="color:red">;</span> <span style="color:magenta">+toggle</span> <span style="color:blue">inp_mousesens</span> <span style="color:purple">1 200</span><span style="color:red">;</span> <span style="color:blue">+showhookcoll</span><span style="color:purple"><span style="color:red">"</span>
Keep in mind that if you have changed '''cl_mouse_max_distance''' or '''inp_mousesens''' from the default, using the example above will reset those settings to default.  Before you just enter the binds, check your settings for both first by typing '''cl_mouse_max_distance''' and '''inp_mousesens''' into the console.
 bind <span style="color:green">x</span> <span style="color:red">"</span><span style="color:magenta">+toggle</span> <span style="color:blue">cl_mouse_max_distance</span> <span style="color:purple">2 [Your Value]<span style="color:red">;</span> <span style="color:magenta">+toggle</span> <span style="color:blue">inp_mousesens</span> <span style="color:purple">1 [Your Value]</span><span style="color:red">;</span> <span style="color:blue">+showhookcoll</span><span style="color:purple"><span style="color:red">"</span>
'''Note:''' the '''+showhookcoll''' line is optional.  It's just helpful to see which way you're aiming since your tee's eyes don't follow the 45° constraints, and by nature of how this bind works, your crosshair won't show direction either.

这个绑定能保证按住x键时鼠标只能指向八个方向(每45度):

bind x "+toggle cl_mouse_max_distance 2 400; +toggle inp_mousesens 1 200; +showhookcoll"

如果不想改变鼠标的最大活动区域和灵敏度的个人习惯,您需要在F1控制台输入cl_mouse_max_distance查询自己的第一个参数,之后输入inp_mousesens获取第二个参数,将400200分别依次换成自己的两个参数:

bind x "+toggle cl_mouse_max_distance 2 [您的参数]; +toggle inp_mousesens 1 [您的参数]; +showhookcoll"