Advanced Modding – Technologies

When you have enabled Subsidiary DLC or Digital DLC, this new feature will be available in the game. It allows you to define pre-requisite technologies for individual products. For example, the following screenshot shows the pre-requisite technologies for Smart Phones.
When you define pre-requisite technologies for a product, the product’s own invention settings in Product_Types.DBF will be ignored by the game in favor of the pre-requisite technologies settings.  For example, if you defined pre-requisite technologies for Tablet Computer, Tablet Computer can no longer be researched as a product, you must research the pre-requisite technologies instead.
Define pre-requisite technologies for Smartphone
The technologies are defined in two databases: Tech_Classes.DBF and Tech.DBF, as described in detail below.

Tech_Classes.DBF

You may use this database to define technology classes for the game.

Field Type Length / Range Description
CLASS Character 10 chars The code of the technology class
NAME Character 20 chars The name of the technology class

Tech.DBF

You may use this database to define technologies for the game.

Field Type Length / Range Description
CLASS Character 10 chars The code of the technology class
CODE Character 10 chars The code of the technology
NAME Character 25 chars The name of the technology
CANINV_YR Numeric 0 OR

1990 to 2999

This field currently has no effects in the game. It is reserved for future use.
PARENT1 Character 10 chars Reserved for future use.
PARENT1_LV Numeric 0 to 9999 Reserved for future use.
PARENT2 Character 10 chars Reserved for future use.
PARENT2_LV Numeric 0 to 9999 Reserved for future uses.

Product_Tech.TXT

The above DBF files define the technologies. To associate specific technologies with individual product types, you will have to define a text file called Product_Tech.TXT under the \MOD_KIT\Data folder.

Format of Product_Tech.TXT:
[<Product Type Code>]
<Technology Code>=<Required Level>, <Weight>

You may define more than one pre-requisite technology for a product type.

To define the next product type, simply insert an empty line and add the script text for the next product type using the same format as above.

Example:
[SMARTPH]    (This line indicates that it is about the Smart Phone product)
TOUCH_SCR=30,30   (This line indicates that the Touch Screen technology is required for the Smart Phone product)
VOICE_RECO=30, 10  (30, 10 means that the required Technology Level is 30, and its Weight to the overall tech importance is 10)
GPS_NAV=20, 20
MOBILE_UI=10, 40

When you add up the Weight of the above 4 technologies (30+10+20+40), the total Weight must be 100.