Cheat Mode:
Note: This procedure involves editing a game file; create a backup copy of the file before proceeding.1.) Use a text editor to edit the "civ4config" file in the game folder.
2.) Change the "CheatCode = 0" line to "CheatCode = chipotle".
3.) Press ~ during game play to display the console window. Enter one of the following codes:
help | Display all console window codes |
Player.changeGold, |
Change players gold; 0 is active player |
Player.setGold, |
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 | 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 | Set Hill scale |
Graphics.SetPeakScale | Set Peak scale |
Graphics.setWaterHeight | Set water plane height |
Graphics.quadTreeDepth | 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 | Morph the globeview # times. |
Profile.rebuildCity, | Rebuild city # times |
Profile.rebuildPlot, | Rebuild plot # times |
Profile.dumpAnimLog | Dump animation information to debugging window |
Profile.setSpikeThreshold | Set min. time to capture spikes; set to 0 to disable spikelock |
Console.History | Dump console command history |
Console.CreateDocumentation | Writes HTML documentation for the current console commands |
Console.Clear | Clear the console |
Log.status | Display current logging status |
Log.toggle | Toggle logging |
Log.clear | Clear the log file |
Map.empty | Erase units and cities from map |
Map.fill | Fill map with units and cities for performance testing |
Map.generateGoodies | Replot Goodies |
Map.generateBonuses | Replot Bonuses |
Map.generateFeatures | Replot Features |
Map.generateRivers | Replot Rivers |
Map.eraseGameElements | Erase Rivers, Features, Bonuses and Goodies |
Map.replaceGameElements | Replace Rivers, Features, Bonuses and Goodies |
Map.setActiveLandscapeID | Change the active landscape info |
Map.erasePlots | Erase all plots |
Xml.reloadGameText | Reload Game Text xml files |
Xml.reloadLandscapeInfo | Reload Civ4TerrainSettings.xml |
Xml.reloadArtDefines | Reload Civ4ArtDefines.xml |
Game.toggleTextureAccessInfo | Toggle output of texture loads/accesses to debug output |
Game.AIPlay | Force AI to play for #turns |
Game.createSelectedUnitKFs | Create sequences associated with the selected unit |
Game.freeSelectedUnitKFs | Free sequences associated with the selected unit |
Game.saveWorldBuilderSave | Save WorldBuilder save description file |
Game.toggleAnimationTest | Toggle Animation Test Tool |
Game.gfcDirChooser | Show GFC directory chooser |
Game.gfcfiledlg | Show GFC file dlg window |
Game.testGFC | Show GFC test popup |
Game.testFont bool bEnable | Show test popup |
Game.testPythonPopup | Show the Python test popup |
Game.testPopup | Show test popup |
Game.scrollBottom | Scroll to the bottom |
Game.scrollTop | Scroll to the top |
Game.clear | Clear the listbox below |
Game.helpScreen | Display the help popup |
Game.toggleDebugMode | Toggle debug mode |
Game.showWBPalette bool bCreate | Debugging |
App.calcFolderChechsum | Compute md5 checksum for the directory tree specified |
App.setMooseDbg2 | Set debugging value |
App.setMooseDbg1 | Set debugging value |
App.takeFullScreenShot | TGA full screen shot in .ScreenShot directory; requires "AllowScreenShots=1" in ini. |
App.takeScreenShot | TGA screen shot in .ScreenShot directory; requires "AllowScreenShots=1" in ini. |
App.setMaxFrameRate | Set maximum frame rate; 0 to disable |
App.crash | Crash game |
App.getBuildTime | Return the application link time |
Player.testUnitIter | Test player unit iteration |
Player.changeGold, |
Change players gold; 0 is active player |
Player.setGold, |
Set players gold; 0 is active player |
Thanks to Revolution readers urungusamongus, theBIT, and Johan Stevenson!