modtools:aieditor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
modtools:aieditor [2019/02/17 16:54] – [AI Editor] admin | modtools:aieditor [2022/02/15 18:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== Mod Tools ===== | ===== Mod Tools ===== | ||
- | To access the AI Editor, you must open the Mod Tools. See [[ModTools: | + | To access the AI Editor, you must open the Mod Tools. See [[ModTools: |
- | The AI Editor is available | + | The AI Editor is located |
\\ | \\ | ||
Line 35: | Line 35: | ||
- Lists the AI companies entered into the editor. | - Lists the AI companies entered into the editor. | ||
- Clears AI Variable data so a new AI company can be generated from scratch. | - Clears AI Variable data so a new AI company can be generated from scratch. | ||
- | - Adds/ | + | - Adds the new AI company |
- Removes selected AI from list of AI companies entered into the editor. | - Removes selected AI from list of AI companies entered into the editor. | ||
| | ||
Line 42: | Line 42: | ||
===== Files And How it Works ===== | ===== Files And How it Works ===== | ||
- | When the player starts a new game on a selected map, the // | + | When the player starts a new game on a selected map, the // |
The game can only load a random number of AI from an //AI.xml// file or all the AI from the file. With that in mind, multiple AI files may be needed. For example, Base City Map has 3 //AI.xml// files. One with 10 large companies, one with 25 large companies, and finally one that has 300 AI companies and is used for the " | The game can only load a random number of AI from an //AI.xml// file or all the AI from the file. With that in mind, multiple AI files may be needed. For example, Base City Map has 3 //AI.xml// files. One with 10 large companies, one with 25 large companies, and finally one that has 300 AI companies and is used for the " | ||
- | The //AI.xml// contains all the behaviors, data, and starting information for AI companies. The actions of the AI are based on the variables presented in the //AI.xml// file. All data is moved from the xml file to the save game. So any changes made to the //AI.xml// will require a save game. | + | The //AI.xml// contains all the behaviors, data, and starting information for AI companies. The actions of the AI are based on the variables presented in the //AI.xml// file. All data is moved from the xml file to the save game. Any changes made to the //AI.xml// will require a save game. |
- | Finally, one of the variables for an AI company is the Head Quarters ID, or hqID. The hqID value corresponds to the cityID value in the // | + | Finally, one of the variables for an AI company is the Head Quarters ID, or hqID. The hqID value corresponds to the cityID value in the // |
- | There are also some advanced options in the [[modtools: | + | There are also some advanced options in the [[modtools: |
Line 57: | Line 57: | ||
===== AI Variables ===== | ===== AI Variables ===== | ||
- | The AI has lots of variables stored in the //AI.xml// files. | + | The AI has lots of variables stored in the //AI.xml// files. |
modtools/aieditor.1550440481.txt.gz · Last modified: 2022/02/15 17:58 (external edit)