User Tools

Site Tools


modtools:componentseditor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
modtools:componentseditor [2017/07/12 17:57] – [Files and How it Works] adminmodtools:componentseditor [2017/07/12 21:30] – [Files and How it Works] admin
Line 345: Line 345:
 The sub-components, vehicles types, and vehicle artwork are all handled by a single file called the components.xml file. The AI Pop files are loaded through the ComponentsStartingPopularity.xml file. For more information on the location of these files, see: [[modtools:file_locations|File Locations]] The sub-components, vehicles types, and vehicle artwork are all handled by a single file called the components.xml file. The AI Pop files are loaded through the ComponentsStartingPopularity.xml file. For more information on the location of these files, see: [[modtools:file_locations|File Locations]]
  
 +Upon creating a new save game, the game will read the components.xml and save all the data into the save game database. After which, the components.xml file will not be used for the rest of the save game's life. Thus any changes made to the components.xml file requires a new save game.
  
 +The game then reads the ComponentsStartingPop.xml files and saves that information to the database. However, unlike the components.xml file, the game will read the ComponentsStartingPop.xml at the end of every game year in order to interpolate and save new popularity values. However changes to the ComponentsStartingPop.xml file will only take effect when the year values in the entries are hit.
 ===== Variables ===== ===== Variables =====
  
modtools/componentseditor.txt · Last modified: 2022/02/15 18:00 by 127.0.0.1