MirrorMiniPlugin

版本 v1.1.0·更新於 2021-05-27

Allows a specifc texture of the mini to be swapped. For mirrors, portals and open doors.

模組介紹 作者原文

Mirror Mini Plugin

This unofficial TaleSpire plugin which allows a specific texture of a mini to be swapped out. This is great for mirrors, portals, windows, and doors. Comes with a sample Mirror mini.

Now supports making the replaced texture transparent to make the surface disappear. Great for door and portals.

Install

Use R2ModMan to install the plugin.

In the plugin ZIP file you will find a TaleSpire_CustomData directory. Copy that folder into your TaleSpire game directory. Merge with other contents if the folder already exists.

Place additional mirror conetent under TaleSpire_CustomData/Minis/Mirror{Number}

Images for the mirror use the left half for one side of the mirror and the right half for the other side of the mirror.

Follow the rules for the Custom Mini Plugin

Usage

Once a board has loaded there are two triggering shortcuts.

The first sets the style and is activated by CTRL+N (Style Number) by default. In the dialog keep the Mirror prefix and then enter teh desired style number to select the desire style.

Please note that the style number has to correspond to an existing Mirror{StyleNumber} content.

The second activates the mirror effect. In the dialog enter the name of an image in the TaleSpire_CustomData\Images folder. Exclude the extension. The mirror will update to reflect the

selected content on its surface.

Mirror using the default Style Mirror01 is included with the plugin as well as a few sample images. Follow the above instructions to "install" it. You can test the plugin by CTRL+M and then

entering one of the following:

Warlock

DoorClosed

DoorOpen

Empty

If the name of the image does not correspond to a local image file in the TaleSpire_CustomData\Images folder, the surface will be made transparent instead.

Adding Custom Minis

In order for the Mirror Plugin to be able to swap a surface texture in your custom mini, one of the textures used by the mini needs to match the content name. Other textures will not be

affected. For example:

`MTL

Blender MTL File: 'None'

Material Count: 2

newmtl Base

Ns 225.000000

Ka 1.000000 1.000000 1.000000

Kd 0.800000 0.800000 0.800000

Ks 0.500000 0.500000 0.500000

Ke 0.000000 0.000000 0.000000

Ni 1.450000

d 1.000000

illum 2

map_Kd Mirror01Base.bmp

newmtl Plane

Ns 225.000000

Ka 1.000000 1.000000 1.000000

Kd 0.800000 0.800000 0.800000

Ks 0.500000 0.500000 0.500000

Ke 0.000000 0.000000 0.000000

Ni 1.450000

d 1.000000

illum 2

map_Kd Mirror01.BMP

`

In the above example, the mirror has two textures, one for the base (Mirror01Base.bmp) and one for the surface plane (Mirror01.BMP). Since the surface plane texture matches the

content name (i.e. Mirror01) it is the texture that will be replace. Since the base texture does not match the content name (has the extra "base" in the name), that texture will

remain as is.

Credit

Thanks to CariTheKitty for suggesting this plugin, providing the initial Mirror mini asset (which has been replace in this version), and for coming up with the design of the

Mirror mini (which is still referenced in the replaced mini).

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

LordAshes-CustomMiniPluginbbepisTaleSpire-BepInExPackbrcoding-SetInjectionFlagPlugin

檔案與校驗

檔案名稱
MirrorMiniPlugin-1.1.0.zip
檔案大小
4.0 MiB