CustomDicePack

版本 v3.0.0·更新於 2023-10-01

Bring true custom dice to Talepsire.

模組介紹 作者原文

Custom Dice Pack Plugin

This unofficial TaleSpire plugin allows truely custom dice to be brought into Talespire.

Includes both cosmetic custom dice and true custom dice allowing dice which don't roll

numbers but symbols/keywords instead.

Video (Use):

Video (Config):

Change Log

3.0.0: Complete rewrite

2.0.2: Bug fix for multiple compatibility issues with proximity rolling

2.0.1: Bug fix preventing dice spawn in some cases

2.0.1: Added dice icons for demo dice

2.0.0: Added GUI for spawning custom dice in session

1.3.1: Added option to always use custom format for result for message and chat

1.3.0: Custom dice result message when a true custom die is rolled

1.3.0: Identification of custom dice while in the tray (as opposed to a weird modifier)

1.2.0: Added support for custom numeric keywords (dice with values other than the side value)

1.1.0: Added support for multiple keywords for true custom dice

1.0.1: Corrected demo save dice file. No plugin change.

1.0.0: Initial release

Install

Use R2ModMan or similar installer to install this plugin.

Usage

GUI Menu

You can pull custom dice out of the custom dice tray.

  • Open the custom dice tray (default `F11`)
  • Navigate though the collections to choose the desire dice to spawn
  • Click or LSHIFT-click to spawn the custom dice

`Click` = Spawn a single instance of the clicked die

`LShift + Click` = Open a dialog to ask how many instances of the clicked die to spawn

Talespire Protocol

Appending a hash tag followed by the customization name to the talespire dice protocol can be

used to spawn customized dice. For example:

`talespire://dice//RPS:3D6#rps-d6`

Would spawn 3 dice each with 6 sides and customized using the `rps-d6` entry in the file

named `CustomDicePacks.json` which contains all configured custom dice.

Creating Custom Dice

In order to use custom dice, we first need to create them. This is not a difficult process thanks

to the files provdied with this plugin. To create custom dice, we edit the `CustomDicePacks.json`

file found in `CustomData/CustomDicePacks` folder of the plugin install folder. The file can

be edited with any text editor.

See the follow video for configuring custom dice:

`CustomDicePacks.json` format:

{

"dd-d6":

{

"dicePack":"basedice",

"diceBase":"d6",

"diceCollection":"DD",

"diceTexture":"D6_DD.png",

"sides":

{

"1":"Attack",

"2":"Shield",

"3":"Magic",

"4":"Magic,Magic",

"5":"Attack,Shield",

"6":"Shield,Magic"

},

"images":

{

"collection": "CollectionDragonDice.png",

"icon": "Icon_DD_D6.png",

"Attack": "D6_DD_1.png",

"Shield": "D6_DD_2.png",

"Magic": "D6_DD_3.png",

"Magic,Magic": "D6_DD_4.png",

"Attack,Shield": "D6_DD_5.png",

"Shield,Magic": "D6_DD_6.png"

}

}

}

Limitations

When using the talespire protocol only the first roll is recognized by the plugin.

For example, `talspire://dice/Attack:1D20+5/Damage:1D8+4` is recognized by the talespire protocol

but not by the plugin. Only the first part of the roll would be recognized and summarized. To roll

multiple rolls at once, the Proximity Roller Plugin can be used.

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

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

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

前置依賴

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

bbepisTaleSpire-BepInExPackbrcoding-SetInjectionFlagPluginLordAshes-FileAccessPluginLordAshes-GUIMenuPlugin

檔案與校驗

檔案名稱
CustomDicePack-3.0.0.zip
檔案大小
17.4 MiB