Technology Trees: Difference between revisions

From Total War Modding
(Modding Technology Trees in the TWW trilogy)
 
No edit summary
Line 18: Line 18:
=== Technology Node Sets ===
=== Technology Node Sets ===


 
Technology Node Sets table junctions a Technology Node Set Key with a Culture or Subculture, this is start possed?


=== Technology Table ===
=== Technology Table ===


The Technologies table defines the technology key used in the other tables, the icon shown in the tech tree and it also contains a unique identifier.
The Technologies table defines the Technology Key used in the other tables, the icon shown in the tech tree and it also contains a unique identifier.


=== Technology Effects ===
=== Technology Effects ===


The Technology Effects table is where you junction the technology key from the Technologies Table with the effect key from the effects table, alongside an effect scope and the value of the effect.
The Technology Effects table is where you junction the Technology Key from the Technologies Table with the Effect Key from the Effects table, alongside a scope and a value for the effect.


=== Technology Nodes and Node Links ===
=== Technology Nodes and Node Links ===


Technology nodes is where the technology key from Technologies table is junctioned to a faction’s technology node set key which defines the culture which will use the corresponding node set key.
Technology nodes is where the technology key from the Technologies Table is junctioned to a faction’s technology node set key which defines.
 
The technology node set key is sadly, at this point of writing, locked behind the compiled startpos and it is not possible to change it, or assign different keys to different cultures or factions.
The technology node set key is sadly, at this point of writing, locked behind the compiled startpos and it is not possible to change it, or assign different keys to different cultures or factions.
This poses a problem if you were interested in editing technology trees in such a way that different factions, within the same culture, have a different tree. There are some workarounds for this which will be described later on in the guide.
This poses a problem if you were interested in editing technology trees in such a way that different factions, within the same culture, have a different tree. There are some workarounds for this which will be described later on in the guide.
Line 40: Line 41:
As an example if we look at the vanilla technology tech_vmp_bones_02a we can see that in the local_en.pack it is the Risen Standard Bearers technology, also further hinted at by the use of the icon wh_main_vmp_risen_standard_bearers.
As an example if we look at the vanilla technology tech_vmp_bones_02a we can see that in the local_en.pack it is the Risen Standard Bearers technology, also further hinted at by the use of the icon wh_main_vmp_risen_standard_bearers.
If we look in the technology nodes table, we can see it is positioned in Indent -1, Tier 1.
If we look in the technology nodes table, we can see it is positioned in Indent -1, Tier 1.
[[File:https://i.imgur.com/PGrUFDh.jpg|thumbnail|Indent & Tier overview]]
Similarly we can find tech_vmp_bones_06 aka Distribute Grave Gifts at 1,2.
If we look at the node links we can see tech_vmp_bones_06 points to tech_vmp_bones_05, with a Parent Link Position of 3 and a Child Link Position of 1, which in the image above creates that line between them.
The Link Positions goes from 1 on the top, 2 on the right, 3 on the bottom and 4 on the left.
If you start editing a technology tree, it’ll change for all factions which utilize that tree, because they are all sharing the same culture. That’s how it is defined in technology_node_sets_tables.

Revision as of 08:50, 22 January 2021

THIS ENTRY IS WORK IN PROGRESS

Modding technologies in TWW is very similar to modding Skills for agents.


Overview of the tables

technology_node_sets_tables

technologies_tables

technology_effects_junction_tables

technology_node_links_tables

technology_nodes_tables

Technology Node Sets

Technology Node Sets table junctions a Technology Node Set Key with a Culture or Subculture, this is start possed?

Technology Table

The Technologies table defines the Technology Key used in the other tables, the icon shown in the tech tree and it also contains a unique identifier.

Technology Effects

The Technology Effects table is where you junction the Technology Key from the Technologies Table with the Effect Key from the Effects table, alongside a scope and a value for the effect.

Technology Nodes and Node Links

Technology nodes is where the technology key from the Technologies Table is junctioned to a faction’s technology node set key which defines.

The technology node set key is sadly, at this point of writing, locked behind the compiled startpos and it is not possible to change it, or assign different keys to different cultures or factions. This poses a problem if you were interested in editing technology trees in such a way that different factions, within the same culture, have a different tree. There are some workarounds for this which will be described later on in the guide.

Technology nodes is also where we junction the technology key to a unique node key, which is used for the technology node links and technology ui groups to node junction table.

Technology node links is where we link technology node keys together, to create dependencies between various technologies in the tree.

As an example if we look at the vanilla technology tech_vmp_bones_02a we can see that in the local_en.pack it is the Risen Standard Bearers technology, also further hinted at by the use of the icon wh_main_vmp_risen_standard_bearers. If we look in the technology nodes table, we can see it is positioned in Indent -1, Tier 1.

Similarly we can find tech_vmp_bones_06 aka Distribute Grave Gifts at 1,2. If we look at the node links we can see tech_vmp_bones_06 points to tech_vmp_bones_05, with a Parent Link Position of 3 and a Child Link Position of 1, which in the image above creates that line between them.

The Link Positions goes from 1 on the top, 2 on the right, 3 on the bottom and 4 on the left.

If you start editing a technology tree, it’ll change for all factions which utilize that tree, because they are all sharing the same culture. That’s how it is defined in technology_node_sets_tables.