We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
设计文档:
http://keepwork.com/lixizhi/note/checkpoint%20block
读取[worlddir]/mod/checkpoint.xml, UI列出所有的关卡, 未来还可以加入附加属性, 例如 /checkpoint list style=imagelist
[worlddir]/mod/checkpoint.xml
/checkpoint list style=imagelist
存档列表checkpoint.xml 例如:
checkpoint.xml
- name: checkpoint1 defaultpos: 10000 5 100000 imagefilename: "" onloadcommand: "" - name: checkpoint2 defaultpos: 20000 15 100000 imagefilename: "textures/checkpoint1.png" onloadcommand: ""
保存关卡。 关卡名字,以及位置信息。 用户数据放在 temp/saves/[username]/[worldname]/checkpoint.xml
temp/saves/[username]/[worldname]/checkpoint.xml
@param -force: 如果之前已经存盘过,强制覆盖
checkpoint.xml 例如:
- name: checkpoint1 pos: 10000 5 100000 imagefilename: "temp/saves/[username]/[worldname]/autosave1.jpg" player_items: {存盘时的人物背包信息}
注意我们允许一个checkpoint name对应多个场景中的checkpoint blocks.
根据 [worlddir]/mod/checkpoint.xml 和 temp/saves/[username]/[worldname]/checkpoint.xml 做如下工作
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
LiXizhi
No branches or pull requests
设计文档:
http://keepwork.com/lixizhi/note/checkpoint%20block
/checkpoint list
读取
[worlddir]/mod/checkpoint.xml
, UI列出所有的关卡, 未来还可以加入附加属性, 例如/checkpoint list style=imagelist
存档列表
checkpoint.xml
例如:/checkpoint save [name] [x y z] [-force]
保存关卡。 关卡名字,以及位置信息。
用户数据放在
temp/saves/[username]/[worldname]/checkpoint.xml
checkpoint.xml
例如:/checkpoint load [name]
根据
[worlddir]/mod/checkpoint.xml
和temp/saves/[username]/[worldname]/checkpoint.xml
做如下工作The text was updated successfully, but these errors were encountered: