TEdit
  • TEdit Documentation
  • Install Requirements
  • Basics
    • Getting Started
    • World Components
    • Tools
    • Active Tray
    • Menu and Info Bars
    • Tips
  • Sidebar Tools
    • World Properties
    • Clipboard
    • Chest Editor
  • Plugins
    • Plugins
    • House Generator Plugin
  • Configuration
    • Settings
    • Saves and Backups
    • Shortcuts and Keybindings
  • Advanced
    • Contributing to TEdit
    • Troubleshooting
    • Corrupted World Recovery
    • Image Schematics
Powered by GitBook
On this page

Was this helpful?

Edit on Git
  1. Plugins

House Generator Plugin

PreviousPluginsNextSettings

Last updated 4 years ago

Was this helpful?

This plugin is under development and features may change or be added.

The house gen plugin adds a system to generate random versions of structures, or other arbitrary features, from a specially formatted schematic template. The schematic template consists of two separate files, a .TEditHGSch file and a .JSON file. The files must be named identically except for their associated extension.

There are currently two provided by reddit user .

The JSON file contains the following entries:

Count - the number of variations present in the schematic.

Rooms - an array of objects with each object having the following fields. Name: room name, can be anything, currently only used in error reporting. X: the number of tiles between the left edge of the schematic and the left edge of the room. Y: the number of tiles between the top edge of the schematic and the top of the room. Width: the rooms tile width. Height: the rooms tile height.

Roofs - an array of objects representing the roof sections, roofs currently function identically to rooms. (This may change in the future.)

The .TEditHGSch files can be created in TEdit itself by creating the various versions of a schematic and then stacking the versions directly on top of one another. The combined schematic can then be exported and renamed as filename.TEditHGSch

A filename.JSON file must then be written to let the generator know where each room is located in relation to the left and top edge of a single instance of the structure.

sample schematic templates
u/Tgn2_Tgn2