You are viewing a potentially older version of this package. View all versions.
HolloFox_TS-ImageToPlanePlugin-1.0.4 icon

ImageToPlanePlugin

Plugin to load an image into a plane for map builders. Pressing F1 can open dialog will occur where you can load/replace an image on a plane. Pressing F2 you can remove the plane. This currently only displays the image locally.

Date uploaded 5 years ago
Version 1.0.4
Download link HolloFox_TS-ImageToPlanePlugin-1.0.4.zip
Downloads 236
Dependency string HolloFox_TS-ImageToPlanePlugin-1.0.4

This mod requires the following mods to function

bbepisTaleSpire-BepInExPack-5.4.10 icon
bbepisTaleSpire-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.10
brcoding-SetInjectionFlagPlugin-2.3.0 icon
brcoding-SetInjectionFlagPlugin

Allows players to flag mods are installed

Preferred version: 2.3.0
PluginMasters-Winforms_Patch-1.0.0 icon
PluginMasters-Winforms_Patch

Patch to re-enable winforms

Preferred version: 1.0.0

README

Image To Plane Plugin

This is a plugin for TaleSpire using BepInEx.

Install

Go to the releases folder and download the latest and extract to the contents of your TaleSpire game folder.

Usage

After installing, you can press F1 to bring up a dialog to select an image. Upon selecting an image, a plane the with selected image will be displayed. Pressing F1 will allow to select a new image. Pressing F2 will clear the map of the displayed image. The plane currently has no networking so it is only visible locally. The plane scales the image to currently render at 40px per tile. You can change the bind keys in config editor. Image limitation is 16384x16384 pixels in size.

How to Compile / Modify

Open ImageToPlanePlugin.sln in Visual Studio.

You will need to add references to:

* BepInEx.dll  (Download from the BepInEx project.)
* Bouncyrock.TaleSpire.Runtime (found in Steam\steamapps\common\TaleSpire\TaleSpire_Data\Managed)
* UnityEngine.dll
* UnityEngine.CoreModule.dll
* UnityEngine.InputLegacyModule.dll 
* UnityEngine.UI
* Unity.TextMeshPro
* System.Windows.Forms

Build the project.

Browse to the newly created bin/Debug or bin/Release folders and copy the ImageToPlanePlugin.dll to Steam\steamapps\common\TaleSpire\BepInEx\plugins