File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,9 +170,9 @@ if __name__ == "__main__":
170170
171171| 命令 | 参数 | 说明 |
172172| :--- | :--- | :--- |
173- | ` set_faction` | ` {" faction" : " soviet " }` | 设置己方阵营 (soviet, allies ) |
173+ | ` set_faction` | ` {" faction" : " russia " }` | 设置国家 ( ` russia ` =苏联阵营, ` germany ` =盟军阵营 ) |
174174| ` set_team` | ` {" team" : 1}` | 设置队伍 (0=无队伍, 1-4=队伍) |
175- | ` set_spawn` | ` {" spawn" : 0}` | 设置出生点 (0-N ) |
175+ | ` set_spawn` | ` {" spawn" : 0}` | 设置出生点 (0=随机, 1=出生点A, 2=出生点B, 以此类推 ) |
176176| ` set_spectator` | ` {}` | 切换为观察者 |
177177| ` set_ready` | ` {" ready" : true}` | 设置准备状态 (true/false) |
178178
@@ -232,8 +232,8 @@ if __name__ == "__main__":
232232 info = api.send_command(" get_lobby_info" )
233233 print(" 房间信息:" , json.dumps(info, indent=2, ensure_ascii=False))
234234
235- # 2. 选择苏联阵营
236- api.send_command(" set_faction" , {" faction" : " soviet " })
235+ # 2. 选择苏联阵营国家(russia)
236+ api.send_command(" set_faction" , {" faction" : " russia " })
237237
238238 # 3. 选择队伍 1
239239 api.send_command(" set_team" , {" team" : 1})
You can’t perform that action at this time.
0 commit comments