Translations:Binds/85/zh: Difference between revisions
Created page with "绑定到不同的移动和操作键上,达到循环变色的效果,并且使用配置文件,方便开关。以下为一组例子: '''rainbow_tee_on.cfg''' bind {{color|green|a}} {{color|blue|{{color|red|"}}+left{{color|red|;}} player_color_body}} {{color|red|red"}} bind {{color|green|d}} {{color|blue|{{color|red|"}}+right{{color|red|;}} player_color_body}} {{color|red|yellow"}} bind {{color|green|space}} {{color|blue|{{color|red|"}}+jump{{color|red|;}} player..." |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
您还可使用多个配置文件,方便开关。以下为一组例子: | |||
'''rainbow_tee_on.cfg''' | '''rainbow_tee_on.cfg''' | ||
bind {{color|green|a}} {{color|blue|{{color|red|"}}+left{{color|red|;}} player_color_body}} {{color|red|red"}} | bind {{color|green|a}} {{color|blue|{{color|red|"}}+left{{color|red|;}} player_color_body}} {{color|red|red"}} | ||
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控制台输入: | ||
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>指令达到更有趣的变色效果。更多颜色相关的指令参见[[Special:MyLanguage/Binds#Colors|颜色]]。 |
Latest revision as of 06:16, 3 July 2023
您还可使用多个配置文件,方便开关。以下为一组例子: 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
指令达到更有趣的变色效果。更多颜色相关的指令参见颜色。