Translations:Binds/85/zh: Difference between revisions

From DDraceNetwork
No edit summary
No edit summary
Line 16: Line 16:
   
   
  {{color|purple|bind}} {{color|green|x}} {{color|magenta|exec}} {{color|blue|rainbow_tee_on.cfg}}
  {{color|purple|bind}} {{color|green|x}} {{color|magenta|exec}} {{color|blue|rainbow_tee_on.cfg}}
将这两个配置文件放在配置目录里,并在F1控制台输入:
将这两个配置文件放在恰当的配置路径,并在F1控制台输入:
  bind {{color|green|x}} {{color|magenta|exec}} {{color|blue|rainbow_tee_on.cfg}}
  bind {{color|green|x}} {{color|magenta|exec}} {{color|blue|rainbow_tee_on.cfg}}
您可以加入<code>player_color_feet</code>指令达到更有趣的变色效果。要了解关于颜色的指令。
可以加入<code>player_color_feet</code>指令达到更有趣的变色效果。更多颜色相关的指令参见[https://wiki.ddnet.org/wiki/Binds#Colors 颜色]

Revision as of 05:51, 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)
'''rainbow_tee_on.cfg'''
 bind <span style="color:green">a</span> <span style="color:blue"><span style="color:red">"</span>+left<span style="color:red">;</span> player_color_body</span> <span style="color:red">red"</span>
 bind <span style="color:green">d</span> <span style="color:blue"><span style="color:red">"</span>+right<span style="color:red">;</span> player_color_body</span> <span style="color:red">yellow"</span>
 bind <span style="color:green">space</span> <span style="color:blue"><span style="color:red">"</span>+jump<span style="color:red">;</span> player_color_body</span> <span style="color:red">green"</span>
 bind <span style="color:green">mouse1</span> <span style="color:blue"><span style="color:red">"</span>+fire<span style="color:red">;</span> player_color_body</span> <span style="color:red">blue"</span>
 bind <span style="color:green">mouse2</span> <span style="color:blue"><span style="color:red">"</span>+hook<span style="color:red">;</span> player_color_body</span> <span style="color:red">cyan"</span>
 
 <span style="color:purple">bind <span style="color:green">x</span> <span style="color:magenta">exec</span> <span style="color:blue">rainbow_tee_off.cfg</span>
'''rainbow_tee_off.cfg'''
 bind <span style="color:green">a</span> <span style="color:blue">+left</span>
 bind <span style="color:green">d</span> <span style="color:blue">+right</span>
 bind <span style="color:green">space</span> <span style="color:blue">+jump</span>
 bind <span style="color:green">mouse1</span> <span style="color:blue">+fire</span>
 bind <span style="color:green">mouse2</span> <span style="color:blue">+hook</span>
 
 <span style="color:purple">bind <span style="color:green">x</span> <span style="color:magenta">exec</span> <span style="color:blue">rainbow_tee_on.cfg</span>
Put both of these in the correct path, and in console:
 bind <span style="color:green">x</span> <span style="color:magenta">exec</span> <span style="color:blue">rainbow_tee_on.cfg</span>
You can of course get more creative with colors and use '''player_color_feet''' too.  To learn more about how colors work, see [https://wiki.ddnet.org/wiki/Binds#Colors colors]

您可使用多个配置文件,方便开关。以下为一组例子: rainbow_tee_on.cfg

bind a "+left; player_color_body red"
bind d "+right; player_color_body yellow"
bind space "+jump; player_color_body green"
bind mouse1 "+fire; player_color_body blue"
bind mouse2 "+hook; player_color_body cyan"

bind x exec rainbow_tee_off.cfg

rainbow_tee_off.cfg

bind a +left
bind d +right
bind space +jump
bind mouse1 +fire
bind mouse2 +hook

bind x exec rainbow_tee_on.cfg

将这两个配置文件放在恰当的配置路径,并在F1控制台输入:

bind x exec rainbow_tee_on.cfg

您也可以加入player_color_feet指令达到更有趣的变色效果。更多颜色相关的指令参见颜色