
本模组允许你通过资源包为 DragonMine Z 中的不同形态添加自定义光环。
重要提示:如果你未启用包含纹理和模型的资源包,你将无法看到任何光环变化。
教程
在安装附加组件后启动游戏时,DragonMine Z 配置表单中会出现一个新选项:“dmzaurasplus$auraType”。该值默认为“classic”(对应 DragonMine Z 模组的原始纹理和模型),但你可以将其设置为任意值。
模组的工作方式如下:它会读取你在“auraType”中设置的值,并在你的资源包中查找以该 auraType 为前缀的文件。例如,如果你设置为“divine”,则前缀将为“divine_”,因此你需要在所有与该光环相关的文件开头加上此前缀。
资源包结构:
资源包应按以下结构组织:
- 一个名为
assets 的主文件夹。
- 在
assets 内,创建一个名为 dragonminez 的文件夹。
- 在
dragonminez 内,创建两个文件夹:geo 和 textures。
- 模型(geo 文件夹):
在 geo 内,创建 entity 文件夹,并在其内部再创建 race 文件夹。
- 将你想要创建的所有光环模型放入
race 文件夹中。
- 纹理(textures 文件夹):
在 textures 内,创建 entity 文件夹,并在其内部创建 ki 文件夹。
模型:
光环模型由两个模型组成:kiaura 和 kiaura2。
kiaura 是环绕玩家的主体光环模型。
kiaura2 是玩家脚下周期性出现的“扩散波纹”。
要创建自定义光环,并非必须为每个光环都创建这两个文件。如果缺少其中一个或全部两个文件,模组将使用基础模组的模型作为默认替换。这两个模型必须是导出为 .geo.json 格式的 Geckolib 动画模型。如前所述,它们必须带有相应的前缀;以上述示例为例,文件应命名为 “divine_kiaura.geo.json” 和 “divine_kiaura2.geo.json”。
纹理:
光环纹理由四个文件组成,共同构成动画效果:aura_ki_0、aura_ki_1、aura_ki_2 和 aura_ki_3。
如果你的自定义光环缺少其中任何一个文件,其他所有纹理都不会显示,并且都会被基础模组的纹理所替代。因此,必须包含全部四个文件(尽管可以将同一张图片重命名多次,但这会使光环呈现静态效果)。
这些文件必须包含前缀(在示例中为:“divine_aura_ki_0”、“divine_aura_ki_1”、“divine_aura_ki_2”、“divine_aura_ki_3”)。
纹理必须在特定区域绘制,以避免对模型进行纹理处理时出现错误。此外,为了避免因形态的光环颜色不同而导致着色问题,纹理建议使用灰度图像。
在 DragonMine Z 的 Discord 服务器中,论坛频道提供了一个包含模型和纹理的示例资源包可供下载。
Kaioken(超赛爆发):
附加组件还允许 Kaioken 光环与另一种形态的光环叠加,而不是替换其颜色。此光环也可以拥有自定义的 auraType,但它有一个专属的独特值:“stack_aura_adapt”。
使用该值会使光环复制与其叠加的形态的光环类型(auraType)。
如果不使用该值,光环的纹理将与叠加形态的光环不同,但模型将保持不变(以防止 Kaioken 光环出现在形态光环下方)。
若要使用基础模组中包含的 Kaioken 机制,请在配置文件 dmzaurasplus-client.toml 中将 enableKaiokenExtraAura 的值设置为 false。
如果你喜欢这个项目并希望支持我,可以在 Ko-fi 上进行捐赠。当然,这完全是自愿的,因为这是一个非营利项目。

This mod lets you add custom auras to the different forms in DragonMine Z using resource packs.
IMPORTANT: If you don’t have the resource pack with the textures and models enabled, YOU WILL NOT NOTICE ANY CHANGES IN THE AURA.
TUTORIAL
When you start the game with the addon installed, a new value will appear in the DragonMine Z config forms: "dmzaurasplus$auraType". This value defaults to "classic" (which corresponds to the original textures and models of the DragonMine Z mod), but you can set any value there.
The mod works as follows: it takes the value you set in "auraType" and looks in your resource pack for files with the prefix corresponding to that auraType. For example, if you set "divine", the prefix will be "divine_", so you must add that at the beginning of all files related to that aura.
Resource Pack Structure:
The resource pack should be structured like this:
- A main folder called assets.
- Inside assets, another folder called dragonminez.
- Inside dragonminez, two folders: geo and textures.
- Models (geo folder):
Inside geo, create a folder entity and inside it another folder race.
- Place all the aura models you want to create inside race.
- Textures (textures folder):
Inside textures, create a folder entity and inside it a folder ki.
- Place all the aura textures inside the ki folder.
Models:
The aura model consists of two models: kiaura and kiaura2.
kiaura is the aura model itself that surrounds the player.
kiaura2 is the “expanding wave” that appears under the player periodically.
To create a custom aura, it’s not necessary to create both files for each aura. If one or both are missing, the mod will use the base mod’s model for the missing files. Both models must be Geckolib Animated Models exported in .geo.json format. As mentioned before, they must have the corresponding prefix; for the example above, the files should be named "divine_kiaura.geo.json" and "divine_kiaura2.geo.json".
Textures:
The aura texture consists of four files, which together create an animation: aura_ki_0, aura_ki_1, aura_ki_2, and aura_ki_3.
If any of these files are missing for your custom aura, none of the other textures will be displayed, and all will be replaced by the base mod’s textures. Therefore, all four files must be included (they can be the same image renamed, though this will make the aura appear static).
These files must include the prefix (in the example: "divine_aura_ki_0", "divine_aura_ki_1", "divine_aura_ki_2", "divine_aura_ki_3").
Textures must be drawn in specific areas to avoid errors when texturing the model. Additionally, to avoid coloring issues depending on the aura color of the form, textures should be in grayscale.
On the DragonMine Z Discord, in the forums channel, there is an example resource pack available for download containing models and textures.
Kaioken:
The addon also allows the Kaioken aura to stack with the aura of another form, rather than replacing its color. This aura can also have a custom auraType, but it has a unique value specifically for it: "stack_aura_adapt".
This makes the aura copy the auraType of the form it stacks with.
If this value is not used, the aura will have a different texture than the stacked form’s aura, but the model will remain the same (to prevent the Kaioken aura from appearing beneath the form’s aura).
To use the Kaioken mechanic included in the base mod, set the value enableKaiokenExtraAura to false in the config file dmzaurasplus-client.toml.
If you enjoy the project and would like to support me, you can do so on Ko-fi. That said, there’s absolutely no obligation, since this is a non-profit project.
评论 0
登录后参与评分
还没有评论,来抢沙发吧