Translations:Binds/85/zh: Difference between revisions

From DDraceNetwork
Darkh (talk | contribs)
No edit summary
Darkh (talk | contribs)
No edit summary
Line 18: Line 18:
将这两个配置文件放在恰当的配置路径,并在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>指令达到更有趣的变色效果。更多颜色相关的指令参见[Special:MyLanguage/Binds#Colors 颜色]。
您也可以加入<code>player_color_feet</code>指令达到更有趣的变色效果。更多颜色相关的指令参见[[Special:MyLanguage/Binds#Colors 颜色]]。

Revision as of 06:07, 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指令達到更有趣的變色效果。更多顏色相關的指令參見Special:MyLanguage/Binds#Colors 顏色