Civilization 4



City editor

Highlight a city, then press [Ctrl] + [Alt] + Left Mouse Button.

Carrying out multiple tasks

You can order your great persons to carry out multiple tasks the same way you can order your workers by holding [Shift]. For example, you can order your great scientist to join the city as a specialist ten times, get some techs, and finally build an academy -- all that with only one scientist.

Cheat Codes

Note: This procedure involves editing a game file; create a backup copy of the file before proceeding. Use a text editor to edit the "civ4config" file in the game folder. Change the "CheatCode = 0" line to "CheatCode = chipotle". While playing the game, press ~ to display the console window. Enter one of the following codes to activate the corresponding cheat function:

Result Cheat Code
Display all console window codeshelp
Change players gold; 0 is active playerPlayer.changeGold [player number], [gold]
Set players gold; 0 is active playerPlayer.setGold [player number], [gold]
Stop musicSound.noMusic
Reload audio scriptsSound.reload
Stop Soundscape from playingSound.stopSoundScape
Play sound - AS2D, AS3D, string [filename]
Finds entities with black emissivityGraphics.FindBlackPlotsAndCities
Hide attachablesGraphics.HideAttachables
Force light update on all entitiesGraphics.ForceLightingUpdate
Rebuild terrain and lightingGraphics.ReBuildTerrain
Set Hill scaleGraphics.SetHillScale [floating number]
Set Peak scaleGraphics.SetPeakScale [floating number]
Set water plane heightGraphics.setWaterHeight [floating number]
Set render depth for quad treeGraphics.quadTreeDepth [integer]
Toggle waterGraphics.toggleWater
Display terrainGraphics.displayTerrain bool bOn
Toggle gridsGraphics.toggleGridMode
Dump texture paletteGraphics.showTexturePalette
Set texturingGraphics.setTextureMode bool bOn
Set wireframeGraphics.setWireframe bool bOn
Morph the globeview count times.Profile.morphGlobe [integer]
Rebuild city indicated number of timesProfile.rebuildCity [x coordinate], [y coordinate], [integer]
Rebuild plot indicated number of timesProfile.rebuildPlot [x coordinate], [y coordinate], [integer]
Dump animation information to debugging windowProfile.dumpAnimLog
Set minimum time to capture spikes; set to 0 to disable spikelockProfile.setSpikeThreshold [milliseconds]
Dump console command historyConsole.History
Writes HTML documentation for the current console commandsConsole.CreateDocumentation [filename]
Clear the consoleConsole.Clear
Display current logging statusLog.status
Toggle loggingLog.toggle
Clear the log fileLog.clear
Erase units and cities from mapMap.empty
Fill map with units and cities for performance testingMap.fill
Replot GoodiesMap.generateGoodies
Replot BonusesMap.generateBonuses
Replot FeaturesMap.generateFeatures
Replot RiversMap.generateRivers
Erase Rivers, Features, Bonuses and GoodiesMap.eraseGameElements
Replace Rivers, Features, Bonuses and GoodieMap.replaceGameElements
Change the active landscape infoMap.setActiveLandscapeID [landscape number]
Erase all plotsMap.erasePlots
Reload Game Text xml filesXml.reloadGameText
Reload Civ4TerrainSettings.xmlXml.reloadLandscapeInfo
Reload Civ4ArtDefines.xmlXml.reloadArtDefines
Toggle output of texture loads/accesses to debug outputGame.toggleTextureAccessInfo
Force AI to play for indicated number of turnsGame.AIPlay [integer]
Create sequences associated with the selected unitGame.createSelectedUnitKFs
Free sequences associated with the selected unitGame.freeSelectedUnitKFs
Save WorldBuilder save description fileGame.saveWorldBuilderSave [filename]
Toggle Animation Test ToolGame.toggleAnimationTest
Show GFC directory chooserGame.gfcDirChooser
Show GFC file dlg windowGame.gfcfiledlg
Show GFC test popupGame.testGFC [integer]
Show test popupGame.testFont bool bEnable
Show the Python test popupGame.testPythonPopup
Show test popupGame.testPopup
Scroll to the bottomGame.scrollBottom
Scroll to the topGame.scrollTop
Clear the listbox belowGame.clear
Display the help popupGame.helpScreen
Toggle debug modeGame.toggleDebugMode
DebuggingGame.showWBPalette bool bCreate
Compute md5 checksum for the directory tree specifiedApp.calcFolderChechsum [directory]
Set debugging valueApp.setMooseDbg2 [integer]
Set debugging valueApp.setMooseDbg1 [integer]
TGA full screen shot in .ScreenShot directory; requires "AllowScreenShots=1" in ini.App.takeFullScreenShot
TGA screen shot in .ScreenShot directory; requires "AllowScreenShots=1" in ini.App.takeScreenShot
Set maximum frame rate; 0 to disableApp.setMaxFrameRate [floating number]
Update existing value in the ini fileApp.setIniFile [group key], [key], [value]
Crash gameApp.crash
Return the application link timeApp.getBuildTime
Test player unit iterationPlayer.testUnitIter [integer]

Debug mode commands

Use the following commands after enabling the "Game.toggleDebugMode" code:

Result Command
Display debug menu[Ctrl] + D
Increase gold by 1,000[Shift] + 4
Increase highlighted unit's strength by 0.2[Shift] + ]
Decrease highlighted unit's strength by 0.2[Shift] + [
Increase highlighted city's population by 1[Shift] + [Plus]
Increase highlighted city's culture by 10[Ctrl] + [Plus]
Instant production completion for highlighted city[Plus]
Instantly finish current science being researched[Alt] + [Plus]
Level up highlighted unit[Ctrl] + [Plus]
Insert unit/city[Ctrl] + [Shift] + Left Mouse Button
World editor[Ctrl] + W

Around The Web

Around The Web

"Like" CheatCC on Facebook