Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KSP 原版控制台命令 #52

Open
tinygrox opened this issue Nov 9, 2024 · 0 comments
Open

KSP 原版控制台命令 #52

tinygrox opened this issue Nov 9, 2024 · 0 comments
Labels
记录 Mod问题(非本项目导致)相关或解决办法

Comments

@tinygrox
Copy link
Owner

tinygrox commented Nov 9, 2024

游戏是有控制台命令的:

  • \help : 列出所有可用命令,同时 /help xxx 还可以列出 xxx 命令的帮助信息
  • \time : 列出当前 Kerbal 所处时间以及系统的现实时间
  • \comment : 在日志文件中输出一则信息,如 \comment 这是一则明显的信息!
  • \info : 输出一些游戏信息,里面有安装的 DLL 列表,存档名称,游戏模式,当前场景
  • \stacktrace : 输出最后一次抛出的错误信息
  • \vessels : 输出指定名称航天器的简略信息,\vessels xxx 将会输出所有名字为 xxx 的航天器信息,未指定名称则输出游戏所有的航天器的信息
  • \switch : 切换到指定名称的航天器,如 \switch xxx 将会切换到第一个匹配 xxx 名称的航天器
  • \waypoint : 手动添加导航点。用法 \waypoint Kerbin 52.8 22.5 Waypoint Name 或将当前航天器位置设置为导航点 \waypoint
  • \ksc : 添加 KSC 为导航点
  • \funds : 设置当前游戏资金,\funds 123456 将游戏资金设置为 123456
  • \science : 设置当前科技点数,\science 123456 将科技点数设置为 123456
  • \reputation : 设置当前声望点数,\reputation 123 将声望设置为 123
  • \rendezvous : 与指定航天器交会,用法为 /rendezvous vslidx posx posy posz velx vely velz,参数分别是 vessel index, relative position 和 relative velocity.
  • \targetv : 设置航天器为目标,用法 /targetv vslidx,参数是 vessel index
  • \b4d455 : 将游戏资金设置为 31415926,科技点数设置为 1337 声望最大(1000),并弹出信息 "That's one small step for a kerbal, one giant leap for kerbalkind"
  • \settingsload : 重新加载 settings.cfg 的设置
  • \settingssave : 将游戏设置强制写入到 settings.cfg

来源:System.Void ConsoleCommands::AddStockCommands()

@tinygrox tinygrox added the 记录 Mod问题(非本项目导致)相关或解决办法 label Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
记录 Mod问题(非本项目导致)相关或解决办法
Projects
None yet
Development

No branches or pull requests

1 participant