求助!怎么制作CP模组?

anyi

Newcomer
我是一个新手,只会制作美化贴图,不会制作代码.现在我想制作替换所有邮箱的模组,兼容,有人可以帮帮我吗?
 

SomeoneEls

Rancher
I dunno chinese but here is google translates translation

I have a chinese friend and he says that it is somewhat right

"I am a novice who can only make beautifying maps but not code. Now I want to make a module to replace all mailboxes and make it compatible. Can anyone help me?"
 

SomeoneEls

Rancher
使用谷歌翻译




You have to patch:

winter_town.xnb
summer_town.xnb
fall_town.xnb
spring_town.xnb

1. Unpack the xnb file using xnbcil
2. Copy the png thats inside and edit it.
3. Open the original .png in paint (new version) and import the new spritesheet.
4. Pack the files and put them in the folder with the mod name.

If you use the exact names, use this as your content json file.
JSON:
{

    "Format": "2.6.0",

    "Changes": [

        {

            "Action": "Load",

            "Target": "Maps/winter_town",

            "FromFile": "winter_town.xnb"

        },

        {

            "Action": "Load",

            "Target": "Maps/summer_town",

            "FromFile": "summer_town.xnb"

        },

       {

            "Action": "Load",

            "Target": "Maps/fall_town",

            "FromFile": "fall_town.xnb"

        },

        {

            "Action": "EditImage",

            "Target": "Maps/spring_town",

            "FromFile": "spring_town.xnb"

        }

    ]

}
 
Top