Blend Tool TT2 Plugin for controlling how blocks blend together.

Mail

Official Terrarian
This is a plugin for TT2 that allows you to force blocks to blend together that are not supposed to or break apart blocks that normally connect to each other.

This plugin uses right click and drag with the Actuation Rod to change blending modes.

Use the actuator rod and Right click and drag from one block to an adjacent one (8 directions) and it will cycle blending modes for that block in that direction. To change the blending mode between two blocks you will need to click and drag between the blocks in both directions or it will only blend in one direction.

Repeated use will cycle blending modes.

Blending modes:
blend: The block will blend as though there was a block of the same type adjacent in the chosen direction.
noblend: The block will not blend in the chosen direction.
overlap: For blocks such as ore that combine with dirt or mud, this blending mode will force the block to think a block that overlaps onto it is next to it.
none: The block will blend as normal. Cycle back to this mode to undo your changes.

If you unequip the actuator rod, it will reset the blending mode overrides. This will make it so that if you break those blocks or an adjacent one they will go back to normal.

Why this plugin has limited use:
The place where the game saves tile blending information is not saved to disk and not written over the network during multiplayer. This plugin is only really useful for screenshots without further modding. In case you did not know, the game has 3 alternative graphics for most blocks, and the game will re-randomize all block graphics every time you restart the game because for most blocks only the block type is saved, and the exact graphic shown is only saved for special blocks. In order to make this a working feature, the game would need to modify the world savefile format, and the size of world savefiles would increase. (in-game memory usage might not increase)

This plugin required heavy patching of block modification code, so it should make the game run slower during world generation or when many blocks are being modified.

If you have a specific blending rule you want changed that really bothers you, this plugin would make a good starting point for creating a plugin that makes very specific blending rule changes.

Please post a screenshot if you found it useful.
 

Attachments

  • BlendTool.cs
    8.4 KB · Views: 86
Back
Top Bottom