开启左侧

自定义有base_train_type的列车贴图不生效,但LCD生效了

[复制链接]
ARE_hfL3 2024-7-14 10:15:58

还没有账号?赶快去注册吧!

您需要 登录 才可以下载或查看,没有账号?立即注册

×
本帖最后由 ARE_hfL3 于 2024-7-14 10:30 编辑

{
    "custom_trains":{
        "sp1900_AlineL1":{
            "name":"SP1900 Aline1号线版",
            "color":"FF0000",
            "base_train_type":"sp1900_small",
            "texture_id":"mtr:mytrain/sp1900_AlineL1.png.png",
            "script_files":["mtr:shlcd/main.js"]
        },
        "sp1900_Railtest":{
            "name":"SP1900 轨检黄车",
            "color":"FFFF00",
            "base_train_type":"sp1900_small",
            "texture_id":"mtr:mytrain/sp1900_Railtest.png"
        },
        "debug_train": {
            "name": "调试车",
            "color": "FFFF00",
            "door_animation_type": "STANDARD",
            "texture_id": "mtr:mytrain/debug_train",
            "model": "mtr:my/debug_train.bbmodel",
            "model_properties": "mtr:my/debug_train.json"
        }
    },
    "custom_signs":{
        "arrow_down_cross":{
            "texture_id":"mtr:sign/arrow_down_cross.png",
            "flip_texture":false,
            "custom_text":"只上不下|Up only",
            "flip_custom_text":false,
            "background_color":"000000",
            "small":true
        },
        "arrow_down_cross2":{
            "texture_id":"mtr:sign/arrow_down_cross.png",
            "flip_texture":false,
            "custom_text":"只上不下|Up only",
            "flip_custom_text":true,
            "background_color":"000000",
            "small":true
        },
        "arrow_up_cross":{
            "texture_id":"mtr:sign/arrow_up_cross.png",
            "flip_texture":false,
            "custom_text":"只下不上|Down only",
            "flip_custom_text":false,
            "background_color":"000000",
            "small":true
        },
        "arrow_up_cross2":{
            "texture_id":"mtr:sign/arrow_up_cross.png",
            "flip_texture":false,
            "custom_text":"只下不上|Down only",
            "flip_custom_text":true,
            "background_color":"000000",
            "small":true
        }
    }
}

问题如题,我添加的shlcd正常工作,可游戏内显示的车是原版base_train_type车
无模组报错
整个资源包达15.1MB,无法发送

评分

参与人数 1人气 +1 收起 理由
MCWinBuild + 1 建议用网盘发出来

查看全部评分

MCWinBuild 2024-7-19 16:21:48
你是拿资源包生成器制作的吗?JSON分级有没有分好?

官方文档教程已经基本完成了,你可以参考一下?
hmm你好
邮箱 MCWinBuild@sohu.com
楼主 ARE_hfL3 2024-8-12 15:03:33
MCWinBuild 发表于 2024-7-19 16:21
你是拿资源包生成器制作的吗?JSON分级有没有分好?

官方文档教程已经基本完成了,你可以参考一下? ...

JSON手打的,分级没问题
MCWinBuild 2024-8-20 15:41:37
那我就真不知道了...
你可以看一下贴图文件是否存在,游戏中列车是透明的还是白色(没有贴图就是白色列车)的?base_train_type不要写成base_type,否则NTE会只加载JS内容
我就只知道这么多了...
hmm你好
邮箱 MCWinBuild@sohu.com
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表