HolloFox_TS-ImageToPlanePlugin 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.

Last updated 3 weeks ago
Total downloads 790
Total rating 0 
Categories Tweaks Networked Tools
Dependency string HolloFox_TS-ImageToPlanePlugin-2.1.2
Dependants 0 other mods depend on this mod

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
HolloFox_TS-Photon_Universal_Plugin_PUP-1.0.3 icon
HolloFox_TS-Photon_Universal_Plugin_PUP

Base plugin used to synchronize mods over photon network. Provides messaging between TaleSpire clients without a need of a private server for mods.

Preferred version: 1.0.3

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 request to select an image either via url or dial. 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.
  • Pressing F3 will prompt a vector to move the image over time.

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.

Input formatting supports vector and CSV, following are examples of inputs:

[x,y,z,t]
[x,y,z]
x,y,z,t
x,y,z

If t is not supplied, transition occurs instantly.

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
* PhotonUtil (found https://github.com/brajm008/PhotonUtilPlugin)

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

Changelog

  • 2.1.2: Doc update, Repo Moved
  • 2.1.1: Doc update
  • 2.1.0: Added ability to move plane using 4D vector e.g. [0,10,0,5] will move the plane x=0, y=10, z=0, over 5 seconds. (time is optional and defaults to 0)
  • 2.0.0: Last Change Logged

Shoutouts

Shoutout to my Patreons on https://www.patreon.com/HolloFox recognising your mighty contribution to my caffeine addiction:

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2021-11-6 2.1.2 153 Version 2.1.2 Install
2021-11-6 2.1.1 4 Version 2.1.1 Install
2021-11-6 2.1.0 3 Version 2.1.0 Install
2021-5-25 2.0.0 467 Version 2.0.0 Install
2021-5-17 1.0.4 42 Version 1.0.4 Install
2021-5-17 1.0.3 32 Version 1.0.3 Install
2021-5-17 1.0.2 27 Version 1.0.2 Install
2021-5-17 1.0.1 28 Version 1.0.1 Install
2021-5-17 1.0.0 34 Version 1.0.0 Install