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 a game, press ~ to display the console window. Enter one of the following codes to activate the corresponding cheat function:
| Code: |
Description: |
| help |
Display all console window codes |
| Player.changeGold [player number], [gold] |
Change players gold; 0 is active player |
| Player.setGold [player number], [gold] |
Set players gold; 0 is active player |
| Sound.noMusic |
Stop music |
| Sound.reload |
Reload audio scripts |
| Sound.stopSoundScape |
Stop Soundscape from playing |
| Sound.play string [filename] |
Play sound - AS2D, AS3D, ASSS |
| Graphics.FindBlackPlotsAndCities |
Finds entities with black emissivity |
| Graphics.HideAttachables |
Hide attachables |
| Graphics.ForceLightingUpdate |
Force light update on all entities |
| Graphics.ReBuildTerrain |
Rebuild terrain and lighting |
| Graphics.SetHillScale [floating number] |
Set Hill scale |
| Graphics.SetPeakScale [floating number] |
Set Peak scale |
| Graphics.setWaterHeight [floating number] |
Set water plane height |
| Graphics.quadTreeDepth [integer] |
Set render depth for quad tree |
| Graphics.toggleWater |
Toggle water |
| Graphics.displayTerrain bool bOn |
Display terrain |
| Graphics.toggleGridMode |
Toggle grids |
| Graphics.showTexturePalette |
Dump texture palette |
| Graphics.setTextureMode bool bOn |
Set texturing |
| Graphics.setWireframe bool bOn |
Set wireframe |
| Profile.morphGlobe [integer] |
Morph the globeview count times. |
| Profile.rebuildCity [x coordinate], [y coordinate], [integer] |
Rebuild city indicated number of times |
| Profile.rebuildPlot [x coordinate], [y coordinate], [integer] |
Rebuild plot indicated number of times |
| SHIFT+T |
CheatDialog |
| ctrl+shift+left click |
Insert Unit/City |
| App.crash |
Crashes game |
| Game.AIPlay |
Forces AI to plat a certain number of turns |
| Game.toggleTextureAccessInfo |
Toggle output of texture loads/accesses to debug output |
| Xml.reloadArtDefines |
Reload Civ4ArtDefines.xml |
| Xml.reloadLandscapeInfo |
Reload Civ4TerrainSettings.xml |
| Xml.reloadGameText |
Reload Game Text xml files |
| Console.CreateDocumentation |
Writes HTML documentation for the current console commands |
| Console.Clear |
Clear the console |
| Console.History |
Dump console command history |