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 variable indicates the year in which the technology will become available for research and development in R&D centers. If it is 0, it will be available for research in the beginning of the game. |
PARENT1 | Character | 10 chars | You may define up to 2 pre-requisite technology (PARENT1 and PARENT2) and this technology will only become available for research in R&D centers when all the pre-requisite technologies have reached the required levels. |
PARENT1_LV | Numeric | 0 to 9999 | The required level for the parent technology #1. |
PARENT2 | Character | 10 chars | Pre-requisite technology #2 (optional). |
PARENT2_LV | Numeric | 0 to 9999 | The required level for the parent technology #2 (optional). |
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.