Translations:Teams/6/zh: Difference between revisions

From DDraceNetwork
Darkh (talk | contribs)
Created page with "* 待办事项:快速加入分身地图。"
 
Darkh (talk | contribs)
No edit summary
Line 1: Line 1:
* 待办事项:快速加入分身地图。
通过下面介绍的方法可以一键连接分身并让它加入特定队伍。首先在游戏目录下创建一个文本文件,并在{key press|F1}控制台里将配置文件绑定在想要使用的按键上:<code>bind [按键] exec [文件名]</code>。然后将底下代码复制到文件中保存:
<syntaxhighlight lang="properties">
# 下面这句代码作用是在服务器连接分身:
dummy_connect
# 下面这句代码作用是让分身加入队伍,“队伍编号”需要改为1到63之间的任意一个数字,注意要去掉方括号
say /team [队伍编号]
# 下面这句代码作用是将视角切换回本体
cl_dummy 0
# 下面这句代码作用是让本体加入队伍,“队伍编号”和前面的一致
say /team [队伍编号]
# 下面这句代码作用是锁定队伍,其他人将无法加入这个队伍
say /lock
</syntaxhighlight>

Revision as of 06:42, 3 July 2024

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 (Teams)
Connecting a dummy and making it join a specific team can be automated with a single key press. To set it up, create a file in the game directory, paste the code below into it, and bind a key in the F1 Console to execute the file using the bind command: <code>bind [key] exec [filename]</code>. This can save you a bit of time when playing Dummy Maps.
<syntaxhighlight lang="properties">
# connect dummy to the server
dummy_connect
# make dummy join a team, replace "[team number]" with a number between 1 and 63
say /team [team number]
# switch to main player controller
cl_dummy 0
# make main player controller join a team, replace "[team number]" with a number between 1 and 63
say /team [team number]
# lock the team so that nobody else can join your team
say /lock
</syntaxhighlight>

通过下面介绍的方法可以一键连接分身并让它加入特定队伍。首先在游戏目录下创建一个文本文件,并在{key press|F1}控制台里将配置文件绑定在想要使用的按键上:bind [按键] exec [文件名]。然后将底下代码复制到文件中保存:

# 下面这句代码作用是在服务器连接分身:
dummy_connect
# 下面这句代码作用是让分身加入队伍,“队伍编号”需要改为1到63之间的任意一个数字,注意要去掉方括号
say /team [队伍编号]
# 下面这句代码作用是将视角切换回本体
cl_dummy 0
# 下面这句代码作用是让本体加入队伍,“队伍编号”和前面的一致
say /team [队伍编号]
# 下面这句代码作用是锁定队伍,其他人将无法加入这个队伍
say /lock