Skip to content

You can use this to start your new mod for TerraTech!

License

Notifications You must be signed in to change notification settings

jamioflan/Block-Mod-Example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlockMod-Example

This is for use with the Nuterra BlockInjector Library to create your own modded block using code.

Preparation

Open up the project in Visual Studio.

In the Solution Explorer commonly to the right, find the References folder and right-click it. Click Add Reference...

In the new window, click Browse at the bottom right. Go to your TerraTech_Data/Managed folder in the install directory, and select the Unity files.

Make sure that they do not copy on build: Select all of the new references (shift-click), and in the properties window set Copy Local to false

Add the files, and re-open Browse. Find the Block Inject Mod in the QMods folder.

Remember to modify the mod.json to make it unique!

Using

To compile / build your mod, press CTRL SHIFT B. The compiled mod folder will be in a folder called Built at the base of the repository. (If unchanged in Properties, it will be called A Block Mod.) Take that folder and put it in QMods.

If all goes well, your mod should load in to the game

About

You can use this to start your new mod for TerraTech!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%