Advanced Modding – Technologies
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, 20 (30, 20 means that the required Technology Level is 30, and its Weight to the overall tech importance is 20)
MOBILE_UI=10, 50
When you add up the Weight of the above 3 technologies (30+20+50), the total Weight must be 100.
Note that the maximum number of technologies per product is 3. If you add more than 3 technologies, the game will disregard the excessive ones.