zh:mtr_extra:resourcepack:make
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
zh:mtr_extra:resourcepack:make [2023/07/27 02:44] – 创建 apg_doors | zh:mtr_extra:resourcepack:make [2024/10/21 03:13] (current) – apg_doors | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | 等待修复 | ||
- | |||
====== 制作一个自定义列车资源包 ====== | ====== 制作一个自定义列车资源包 ====== | ||
这个页面会教你如何去创建一个自定义的列车资源包。 | 这个页面会教你如何去创建一个自定义的列车资源包。 | ||
- | 资源包制作建议使用Windows 10 21H1及以上,以下版本建议使用第三方软件打包zip。 | + | 资源包制作建议使用 Windows 10 21H1 及以上,以下版本建议使用第三方软件打包 zip。 |
+ | |||
+ | <WRAP center round tip 90%> | ||
- | <WRAP center round important 90%> | + | **您可以 [[https:// |
- | **您可以观看视频来制作资源包(需要科学上网): | + | |
</ | </ | ||
- | ===== Guide ===== | + | ===== 教程 |
- | | + | (PS:本教程分为两种方法) |
- | - Then find the //resourcepacks// folder | + | |
- | - Create a folder with a name that you want (for example: My custom M-Train) | + | ==== 1、在内置列车的基础上进行修改 ==== |
- | - Create a new folder inside of the existing folder called | + | |
- | - Upload a pack.png | + | |
- | - Download this template | + | - 找到 |
- | <file json pack.mcmeta> | + | - 新建一个文件夹,文件夹名称取决于你要给资源包取什么名 |
+ | - 进入文件夹后,再新建一个文件夹,名称为 | ||
+ | - 粘贴或新建制作一个名叫 | ||
+ | - 下载一个示范 | ||
+ | |||
+ | <code json pack.mcmeta> | ||
{ | { | ||
" | " | ||
- | " | + | " |
" | " | ||
} | } | ||
} | } | ||
- | </file> | + | </code> |
<WRAP center round info 60%> | <WRAP center round info 60%> | ||
- | The pack format is what version of Minecraft the pack is for. If you are only adding MTR models or textures, this is not important then. | ||
- | </ | ||
+ | pack_format 表示资源包支持的 Minecraft 版本,**一般可以向上支持,但不能向下支持**。 | ||
- | then create a new folder named MTR in the assets folder. | + | 可参照 [[https:// |
- | Create a text file inside the folder named '' | + | |
- | copy, paste & edit some of the values. The main code is here: | + | | 编号 | 版本 |
+ | | 6 | 1.16.2(1.16.2-rc1)→ 1.16.5 | ||
+ | | 7 | 1.17(20w45a)→ 1.17.1(21w38a) | ||
+ | | 8 | 1.18(21w39a) → 1.18.2 | ||
+ | | 9 | 1.19(22w11a) → 1.19.2 | ||
+ | | 15 | 1.20(23w17a) → 1.20.1 | ||
+ | | 22 | 1.20.3(1.20.3-pre1) → 1.20.4(23w51b) | | ||
+ | | 32 | 1.20.5(1.20.5-pre4) → 1.20.6 | ||
- | for one train: | + | </ |
- | <file json mtr_custom_resources.json> | + | 如果要添加一个自定义列车请在 '' |
+ | |||
+ | 复制粘贴并修改下面代码里的配置,即可添加列车。 | ||
+ | |||
+ | 添加单个列车: | ||
+ | |||
+ | <code json mtr_custom_resources.json> | ||
{ | { | ||
" | " | ||
- | "{Base_Train_Name_here}": { | + | "{列车 ID(必须为英文)}": { |
- | " | + | " |
" | " | ||
" | " | ||
Line 53: | Line 68: | ||
} | } | ||
} | } | ||
- | </file> | + | </code> |
- | for more than one (here for 2 trains) | + | 添加多个列车 |
- | <file json mtr_custom_resources.json> | + | |
+ | <code json mtr_custom_resources.json> | ||
{ | { | ||
" | " | ||
- | "{Base_Train_Name_here}": { | + | "{列车 ID(必须为英文)}": { |
- | " | + | " |
- | " | + | " |
" | " | ||
" | " | ||
}, | }, | ||
- | + | "{列车 ID(必须为英文)}": { | |
- | "{Base_Train_Name_here}": { | + | " |
- | " | + | " |
- | " | + | |
" | " | ||
" | " | ||
- | } | + | }, |
+ | ... | ||
} | } | ||
} | } | ||
- | </file> | + | </code> |
+ | |||
+ | <WRAP center round important 100%> | ||
+ | |||
+ | 确保你的文件名和 ID 内不包含任何大写字母。使用它们通常会导致 Minecraft 忽略这些文件,并使其回滚至默认材质。 | ||
+ | |||
+ | </WRAP> | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Also for more help check out the MTR Github Wiki [[https:// | + | |
+ | 同样请参考 | ||
</ | </ | ||
<WRAP center round box 60%> | <WRAP center round box 60%> | ||
- | **Json explanation: | ||
- | * ** " | + | | 配置项 |
- | * **" | + | | '' |
- | | + | | '' |
- | | + | | '' |
- | + | | '' | |
- | ***required** | + | |
- | {{ : | + | **这应看起来像这样: |
- | {{ : | + | |
+ | {{ : | ||
+ | |||
+ | {{ : | ||
- | {{ : | ||
- | {{ : | ||
</ | </ | ||
- | **How to edit the textures? | + | **怎么修改原版列车贴图? |
- | ** | + | |
- | - Download Paint 3D [Because it supports transparency] | + | - 安装 画图 |
- | - go to [[https:// | + | - 进入 |
- | - open Paint 3D and select Open | + | - 启动 画图 |
- | - go to you´r folder where you have saved the texture | + | - 找到你想要修改的贴图,选择并打开; |
- | - start editing | + | - 开始编辑; |
- | - after painting put the textures into you´r image folder in the RP | + | - 编辑后将贴图保存在资源包上文的文件夹中; |
- | - and you´re done! | + | - 贴图制作完成,开始使用资源包吧! |
+ | |||
+ | 因为 Windows 11 已经废弃 画图 3D,而 画图 已经完成更新,可以直接使用 画图 并且开启透明背景,进行编辑。 | ||
+ | |||
+ | 恭喜你,你已经完成了资源包的制作步骤,你可以继续制作来加深印象。 | ||
<WRAP center round box 60%> | <WRAP center round box 60%> | ||
- | And you are done with the basics! | + | |
- | you can now download the example resource pack! | + | 下面是一个示例资源包,您可以通过点击下面的链接来下载。 |
<WRAP center round download 60%> | <WRAP center round download 60%> | ||
- | https:// | + | |
+ | [[https:// | ||
</ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== 2、使用资源包创建器 ==== | ||
+ | |||
+ | <WRAP center round info 60%> | ||
+ | |||
+ | 这是一个较为简单的方法,不需要自己创建资源包 | ||
+ | |||
+ | 并且它没有局限性!你可以制作地铁、公交、轮船、飞机、缆车各种追加包! | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round important 60%> | ||
+ | |||
+ | **本方法难度系数较高,初学者暂时不要使用!** | ||
+ | |||
+ | </ | ||
+ | |||
+ | 为了追求真实感,大部分追加都是使用资源包创建器进行制作的。你可以自己建模、自己画贴图!不再受原版列车的拘束! | ||
+ | |||
+ | - 首先进入 [[https:// | ||
+ | - 然后新建项目,选择「模组版实体」。 | ||
+ | - 创作资源包内容。对于资源包的创作可在各网站内自行搜索查看教程。 | ||
+ | - 接下来进入游戏,从物品栏里取出资源包创建器。 | ||
+ | - 导入 Blockbench 文件和纹理文件。 | ||
+ | - 添加全部可用的模型部件 | ||
+ | - 设置模型部件的**外部**、**内部**和**灯** | ||
+ | - 设置显示屏等物件 | ||
+ | - 导出! | ||
+ | |||
+ | <WRAP center round info 60%> | ||
+ | |||
+ | 外部:车辆外壳,不发光 | ||
+ | |||
+ | 灯、灯(常亮):灯(常亮)永远发光,灯在运行时发光,在车厂时熄灭 | ||
+ | |||
+ | 内部:运行时亮,在车厂时为正常亮度 | ||
+ | |||
</ | </ | ||
zh/mtr_extra/resourcepack/make.1690425867.txt.gz · Last modified: 2023/07/27 02:44 by apg_doors