Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Techtree - M2TW

From TWC Wiki
Revision as of 09:47, 15 March 2019 by Makanyane (talk | contribs) (Editing techtrees)
Jump to navigationJump to search

Techtree slots are the mechanism in M2TW where buildings such as barracks and churches appear within the 3d models of settlements that have built those buildings.

Editing techtrees

view of techtree section of .world in hex editor
view of techtree update in IWTE

The picture at the top right shows the techtree section of the .world file viewed in a hex editor.

Link to EDB

Useage

As well as the obvious use of allowing a barracks to appear as built within a settlement, a techtree can be used to load more-or-less anything! For instance in certain TATW mods a techtree is used to load a dummy settlement outside the main actual settlement, to represent a closely adjacent settlement without having to import all the models manually. To achieve this (as the dummy settlement is obviously not built via EDB) the techtree slot is set up with a unique category name and size and a .worldpkgdesc created to match that category and size but with "slot_filler" as the 'type'.

YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.