您现在的位置:网侠>专栏>游戏秘籍>正文
正文

《文明4》完全DEBUG手册

文章来源: 文章作者: 发布时间:2006-12-22 【字体:
收藏本文】 【推荐好友】 【进入博客】 【进入论坛
本来想做个《文明4》修改器的,结果把这个跟踪出来了。。。。修改器都不用做了~~~~

  ================================================ 字串9

  修改“我的文档\My Games\Civilization 4\CivilizationIV.ini”中; Move along 字串7

  CheatCode = 0 字串1

  为:; Move along 字串4

  CheatCode = chipotle

字串4

  =================================================

字串7

  在游戏中“~”呼出控制台 字串7

  全部DEBUG命令: 字串7

  Sound.noMusic - Stop the Music 字串8

  Sound.reload - Reloads Audio Scripts

字串5

  Sound.stopSoundScape - Stops Soundscape from playing 字串8

  Sound.play string fileName - Play Sound - AS2D, AS3D, ASSS 字串8

  Graphics.FindBlackPlotsAndCities - Finds entities with black emissivity

字串8

  Graphics.HideAttachables - Hide Attachables.

字串6

  Graphics.ForceLightingUpdate - Forces a light update on all entities. 字串1

  Graphics.ReBuildTerrain - Rebuild Terrain and Lighting 字串2

  Graphics.SetHillScale float scale - set Hill scale 字串4

  Graphics.SetPeakScale float scale - set Peak scale 字串1

  Graphics.setWaterHeight float height - set water plane height

字串2

  Graphics.quadTreeDepth int depth - set render depth for quad tree 字串5

  Graphics.toggleWater - show/hide water 字串4

  Graphics.displayTerrain bool bOn - Display terrain

字串9

  Graphics.toggleGridMode - show/hide grids 字串4

  Graphics.showTexturePalette - dump texture palette 字串8

  Graphics.setTextureMode bool bOn - set texturing 字串1

  Graphics.setWireframe bool bOn - set wireframe

字串2

  Profile.morphGlobe int count - Morphs the globeview count times. 字串9

  Profile.rebuildCity int plotX, int plotY, int count - Rebuilds plot at (plotX,plotY) count times.

字串9

  Profile.rebuildPlot int plotX, int plotY, int count - Rebuilds plot at (plotX,plotY) count times. 字串4

  Profile.dumpAnimSetPalette - Dumps animation set info to animationset.log 字串5

  Profile.dumpTexturePalette - Dumps texture info to texture.log

字串1

  Profile.dumpScenePalette - Dumps scene info to scene.log 字串6

  Profile.dumpAnimLog - Dumps animation info to anim.log

字串3

  Profile.setSpikeThreshold int millis - set the min time to capture spikes, 0 to disable spikelock 字串4

  Console.History - Dump the console command history

字串7

  Console.CreateDocumentation string fileName - Writes HTML documentation for the current console commands

字串5

  Console.Clear - Clears the console

字串7

  Log.status - Displays current logging status 字串2

  Log.toggle - Toggles logging

字串3

  Log.clear - Clears the log file

字串2

  Map.empty - Erases units and cities from map 字串7

  Map.fill - Fills map with units and cities for performance testing 字串3

  Map.generateGoodies - Replots Goodies 字串5

  Map.generateBonuses - Replots Bonuses

字串8

  Map.generateFeatures - Replots Features

字串5

  Map.generateRivers - Replots Rivers 字串3

  Map.eraseGameElements - Erases Rivers, Features, Bonuses and Goodies

字串7

  Map.replaceGameElements - Replaces Rivers, Features, Bonuses and Goodie

字串4

  Map.setActiveLandscapeID int iLandscapeID - Changes the active landscape info

字串9

  Map.erasePlots - Erases all plots

字串7

  Xml.reloadGameText - Reloads Game Text xml files

字串2

  Xml.reloadLandscapeInfo - Reloads Civ4TerrainSettings.xml 字串5

  Xml.reloadArtDefines - Reloads Civ4ArtDefines.xml

字串3

  Game.toggleTextureAccessInfo - toggles the output of texture loads/accesses to debug output 字串4

  Game.AIPlay int iNumTurns - Forces the AI to play for iNumTurns 字串8

  Game.createSelectedUnitKFs - Creates the sequences associated with the selected unit

字串1

  Game.freeSelectedUnitKFs - Frees the sequences associated with the selected unit 字串9

  Game.saveWorldBuilderSave string szWBSaveName - Saves a WorldBuilder save description file

字串4

  Game.toggleAnimationTest - Will toggle the Animation Test Tool

字串8

  Game.gfcDirChooser - Will show a gfc directory chooser 字串1

  Game.gfcfiledlg - Will show a gfc file dlg window

字串8

  Game.testGFC int iFontNum - Will show a GFC test popup 字串6

  Game.testFont bool bEnable - Will show a test popup

字串3

  Game.testPythonPopup - Will show the Python test popup 字串1

  Game.testPopup - Will show a test popup

字串3

  Game.scrollBottom - Scroll to the Bottom

字串2

  Game.scrollTop - Scroll to the Top 字串6

  Game.clear - Will clear the listbox below

字串1

  Game.helpScreen - Will display the help popup 字串4

  Game.toggleDebugMode - Toggles debug mode

字串1

  Game.showWBPalette bool bCreate - debugging

字串2

  App.calcFolderChechsum string dirName - Computes an md5 checksum for the directory tree specified

字串9

  App.setMooseDbg2 int value - sets debugging value

字串2

  App.setMooseDbg1 int value - sets debugging value

字串5

  App.takeFullScreenShot - Takes a TGA FULL screen shot in .\ScreenShot. Filenames are sequential. Requires AllowScreenShots=1 in ini.

字串7

  App.takeScreenShot - Takes a TGA screen shot in .\ScreenShot. Filenames are sequential. Requires AllowScreenShots=1 in ini.

字串3

  App.setMaxFrameRate float framesPerSec - set the max framerate of the app, 0 to disable 字串8

  App.setIniFile string groupKey, string key, string value - updates an existing value in the ini file

字串4

  App.crash - cause the app to crash! 字串8

  App.getBuildTime - return the application link time 字串8

  Player.testUnitIter int playerIdx - test player unit iteration 字串2

  Player.changeGold int playerIdx, int gold - changes a players gold - 0 is Active Player

字串2

  Player.setGold int playerIdx, int gold - sets a players gold - 0 is Active Player 字串6

  =============================================== 字串2

  全部DEBUG菜单:

字串7

  SHIFT+T 打开金钱和科技菜单 字串9

  CRTL+D 打开全局菜单(主要是显示和声音,适合机器配置差的人修改显示类型)

字串6

  CRTL+Z 打开全地图,并且驱除地图迷雾,显示所有资源(没科技支持也显示)

字串2

  ALT+D 修改控制者详细信息 字串5

  ALT+Z 改变你所控制的文明

字串2

  CTRL+W 这个最牛,可以修改城市,添加单位,修改资源,改变地貌,等等等等

字串4




上一篇:《哥特王朝3》秘籍  下一篇:《实况足球10》角球进球大法
推荐新闻
     
 
邮箱:ewind@qq.com
建议您使用:1024*768以上分辩率浏览本站 如果你喜欢本站 请收藏本站 并推荐给你的朋友一起分享
免责声明:本站部分内容收集于网络,版权归原作者及出版社所有!如果您觉得侵犯了您的版权请来信告诉我们,我们会尽快删除其内容!