User Tools

Site Tools


modtools:cityeditor

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
modtools:cityeditor [2017/05/21 21:07] – [Opening Existing City File] adminmodtools:cityeditor [2022/02/15 18:00] (current) – external edit 127.0.0.1
Line 193: Line 193:
  
 === Opening File Made From Scratch === === Opening File Made From Scratch ===
-If you're creating a Map or a Mod from scratch and haven't generated the map or mod files, then the City.xml files will be anywhere you saved them. To load them into the editor simply click "Load City List" . And then select the City.xml file you want to load. You can now continue on to editing, adding, or removing cities.   +If you're creating a Map or a Mod from scratch and haven't generated the map or mod files, then the City.xml files will be anywhere you saved them. To load them into the editor simply click "Load City List" ({{ :modtools:cityeditor_overview1.png?linkonly | #3 in this picture}}). And then select the City.xml file you want to load. You can now continue on to editing, adding, or removing cities.   
  
  
 === Opening Existing File from a Map === === Opening Existing File from a Map ===
 +It is recommended that you do not alter maps included with the default installation of the game. You should create your own map to edit, using the existing maps as a base. For more information on how to create your own map see [[modtools:make_a_map_editor|Creating a Map]]
 +
 +To open an existing city.xml file from a map, you must know where the Maps folder for the game is located. See [[modtools:file_locations|File Locations]] for the location of the Maps folder. Next simply click "Load City List" ({{ :modtools:cityeditor_overview1.png?linkonly | #3 in this picture}}). Go to the Maps folder, select the folder for the map you wish to edit. Enter the "Scripts" folder. Then select the City.xml file you wish to edit. And you're done, you may continue to add, edit, or remove cities from the file. Be sure to save when you're finished!
 +
  
  
 === Opening Existing File from a Mod === === Opening Existing File from a Mod ===
 +
 +To open an existing city.xml file from a mod, you must know where the Mod folder for the game is located. See [[modtools:file_locations|File Locations]] for the location of the Mod folder. Next simply click "Load City List" ({{ :modtools:cityeditor_overview1.png?linkonly | #3 in this picture}}). Go to the Mods folder, select the folder for the mod you wish to edit. Enter the "Scripts" folder. Then select the City.xml file you wish to edit. And you're done, you may continue to add, edit, or remove cities from the file. Be sure to save when you're finished!
 +
 +\\
 +\\
 ===== Editing A City ===== ===== Editing A City =====
  
 +The most simple action one can take with the City Editor is to edit an existing city. Simply select the city from the Current City's list ({{ :modtools:cityeditor_overview1.png?linkonly |#10 in this picture}}). Edit the data you wish to change on the left ({{ :modtools:cityeditor_overview2.png?linkonly |#8 in this picture}}).   Then hit "Save" at the bottom left of the screen ({{ :modtools:cityeditor_overview1.png?linkonly |#14 in this picture}}).     
 +
 +That's it! Click "Save City List" overwrite the file you wish to overwrite, and you've successfully edited and saved the new City.xml file.
 +
 +**Please note, you may wish to enable Interpolation tools if you are editing an existing map or mod file's Population, Per Capita, or Manufacturing skills. Otherwise the growth rates between City.xml files will be incorrect. See the [[modtools:cityeditor#Interpolation_Years_and_Values| Interpolation Helper Tool]] for more details. **
 +
 +\\
 +\\
 +\\
 ===== Adding A City ===== ===== Adding A City =====
  
 +Whether adding a new city to an existing city.xml file used in a map or mod, or adding cities to a city.xml file created from scratch, the process is the same.
 +
 +Be sure the City ID is unique value, otherwise you will be editing an existing city. To be sure, click the "New" button ({{ :modtools:cityeditor_overview1.png?linkonly | #11 in this picture}}).
 +
 +Fill out the data on the left hand side. When you're ready to add the city, click the "Save" button ({{ :modtools:cityeditor_overview1.png?linkonly | #2 in this picture}}). There you go. You've added a city to the Current Cities list.  
 +
 +**Please Note, if you're adding cities to an existing city.xml file that has other files that depend on it, you should use the Auto Adjusters to reduce your work load. See [[modtools:cityeditor#automatic_adjusters|Automatic Adjuster Helper]] for more details.**
 +\\
 +\\
 ===== Removing A City ===== ===== Removing A City =====
 +To remove a city, click the city from the current city's list ({{ :modtools:cityeditor_overview1.png?linkonly | #10 in this picture}}) then click the "Remove" button ({{ :modtools:cityeditor_overview1.png?linkonly | #13 in this picture}}). And that's it!
  
 +**Please Note, if you're removing cities to an existing city.xml file that has other files that depend on it, you should use the Auto Adjusters to reduce your work load. See [[modtools:cityeditor#automatic_adjusters|Automatic Adjuster Helper]] for more details.**
 \\ \\
 \\ \\
-===== Troubleshooting =====+====== Troubleshooting ======
  
modtools/cityeditor.1495415252.txt.gz · Last modified: 2022/02/15 17:58 (external edit)