Speed Build
这是一个纯服务器端模组,提供可自定义的速建游戏功能。
在速建游戏中,玩家需要在限定时间内记忆示例并重建结构。玩家的重建与示例越一致,得分越高。如果完全匹配,得分为 1.0;如果未进行任何建造,得分为 0.0。尽可能快地完成建造也有助于获得更高的评价。
基本玩法
只有拥有数字的玩家才能参与速建。玩家的数字可以是任意整数值。你可以在下方的“命令”标题下了解如何注册数字。玩家与数字是一一映射的关系,即每个玩家只能拥有一个数字,且两个玩家不能共享同一个数字。
游戏区域可以分为示例区域和建造区域。有一个示例区域,每个玩家都有一个建造区域。建造区域按照玩家数字的自然顺序排列。示例建筑应在示例区域中构建,而玩家应各自在自己的建造区域内进行建造。速建开始后,示例区域会被清空,并在每个建造区域中出现一个示例建筑的精确副本。用于建造示例所需的材料会分发给每位玩家。随后将允许经过“记忆时间”。在此阶段,玩家可以破坏和放置方块。
倒计时结束后,建造区域会被清空。一个新的计时器将从“建造时间”开始倒计时。在此阶段,玩家应使用提供的材料,尽可能准确和快速地在自己的建造区域内完成建造。如果玩家在倒计时期间恰好完成了建造,则该玩家“完成”游戏,并向所有玩家广播一条消息。
当建造倒计时结束或所有玩家都完成建造后,示例建筑会被复制回示例区域,并根据玩家的重建与示例的一致性比例以及所用时间来计算得分。排名首先依据一致性程度,其次依据完成速度。
分析功能
除了传统的速建功能外,本模组还提供分析功能,允许你分析建造区域内的建筑。更具体地说,它通过使用不同的方块(默认为不同颜色的染色玻璃块)在分析区域中高亮显示,告诉你哪些方块是正确的、错误的、多余的、缺失的或状态错误的。
命令
| 功能 |
命令 |
| 初始化速建 |
/sb init |
| 重置速建 |
/sb reset |
| 开始速建 |
/sb start |
| 列出玩家数字 |
/sb number list |
| 注册数字 |
/sb number request <number: int> |
| 释放数字 |
/sb number release |
| 分析建筑 |
/sb analyze <number: int> |
| 配置速建 |
/sb config ... |
配置
下文中的“原点”指某个区域的西南下角方块。
| 配置项 |
描述 |
| examplePos |
示例区域的原点。 |
| buildPos |
第一个建造区域的原点。 |
| dimensions |
建筑的尺寸。 |
| buildOffset |
连续两个建造区域原点之间的偏移量。 |
| analyzeOffset |
从建造区域原点到对应分析区域原点的偏移量。 |
| memorizeTime |
玩家记忆示例建筑的时间,以刻(ticks)为单位。 |
| buildTime |
玩家完成建造的时间,以刻(ticks)为单位。 |
| floorBlock |
用于填充示例区域和建造区域地面的方块。此方块不应为可瞬间挖掘的方块。 |
| 分析配置项 |
描述 |
| correct |
表示该方块与示例建筑完全匹配的方块。 |
| missing |
表示此处示例中存在但建造中缺失方块的标记。 |
| redundant |
表示此处存在的方块在示例中不存在的标记。 |
| wrongBlock |
表示此处示例和建造中存在的方块是不同的方块的标记。 |
| wrongState |
表示此处示例和建造中存在的方块处于不同状态的标记。 |
Speed Build
This is a pure server-side mod that provides functionalities for a customizable speed build game.
In a speed build, players compete to memorize the example and rebuild the structure in a limited time. The more
consistent the player's build is with the example, the higher score the player gets. If their build matches perfectly,
they get a score of 1.0; if they build nothing, they get a score of 0.0. It is also better to complete the build as fast
as possible.
Basic Gameplay
Only players with numbers can participate in the speed build. The number of a player can take any integer value. You
can learn about how to register a number under the "Commands" title below. Player and numbers are one-to-one mapped,
that is, each player can have exactly one number, and no two players can share the same number.
The game area can be divided into the example region and the build regions. There is one example region, and each player
has a build region. The build regions are sorted by the numbers of the players in natural order. The example build
should be built in the example region, and the players should build in their own build regions. After the start of a
speed build, the example region is cleared and an exact copy of the example build would appear in every build region.
Materials it would need to build the example build would be given to each player. The "memorize time" will then be
allowed to pass. Players are able to break and place blocks during this stage.
When the countdown finishes, the build regions would be cleared. A new timer would count down from "build time". In this
stage, players are supposed to complete the build in their build regions with the materials given as accurate and as
fast as possible. If a player completes the build exactly during the countdown, the player "completes" the game and a
message would be announced to all players.
After the build countdown finishes, or every player completes their build, the example build would be pasted back to the
example region, and the scores of the players would be calculated according how much proportion of their build is
consistent with the example build and the time they spent. Player ranked based on their level of consistency first, then
based on the time they finished.
Analysis Functionality
Besides traditional speed building functionalities, this mod also provides an analysis functionality, which allows you
to analyze the build in a build region. More specifically, it tells you which blocks are correct, wrong, redundant,
missing or in a wrong state by highlighting them using different blocks (different colors of stained-glass blocks by
default) in the analysis region.
Commands
| Function |
Command |
| Initialize Speed Build |
/sb init |
| Reset Speed Build |
/sb reset |
| Start Speed Build |
/sb start |
| List Player Numbers |
/sb number list |
| Register a Number |
/sb number request <number: int> |
| Release Number |
/sb number release |
| Analyze Build |
/sb analyze <number: int> |
| Configure Speed Build |
/sb config ... |
Configurations
"Origin" below refers to the bottom northwest corner of a region.
| Configuration |
Description |
| examplePos |
The origin of the example region. |
| buildPos |
The origin of the first build region. |
| dimensions |
The dimensions of the build. |
| buildOffset |
The offset between the origins of two consecutive build regions. |
| analyzeOffset |
The offset from the origin of a build region to the origin of the corresponding analysis region. |
| memorizeTime |
The time for players to memorize the example build, in ticks. |
| buildTime |
The time for players to complete the build, in ticks. |
| floorBlock |
The block that is going to be used to fill the floor of the example region and the build regions. This should not be instant mineable. |
| Analysis Configuration |
Description |
| correct |
The block representing that this block matches exactly with the example build. |
| missing |
The block representing that a block is present here in the example, but is missing in the build. |
| redundant |
The block representing that this block present here is not present in the example. |
| wrongBlock |
The block representing that the blocks present here in the example and the build are different blocks. |
| wrongState |
The block representing that the blocks present here in the example and the build are in different states. |
评论 0
登录后参与评分
还没有评论,来抢沙发吧