• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Looking for info on editing prefab .tts

Is there any information available on reading/ writing prefab .tts files? I'd like to do some poking around in my free time to understand a little bit more about how they work. Any and all information is appreciated :smile-new:

 
If you look in the game's DLL (Assembly-CSharp.dll) with a .NET decompiler you'll see a class called "Prefab". That holds the data structure of the prefab. There's a method called "read" which shows you how the data is populated.

The DLL is obfuscated so you may want to run it through a de-obfuscation tool first to help clear it up a bit.

 
Back
Top