|
《文明4》完全DEBUG手册
【2007-1-16 15:31:02】 【 http://www.ug365.net 】 【 游GO网 】 【 华夏游戏网 】
|
Xml.reloadArtDefines - Reloads Civ4ArtDefines.xml
Game.toggleTextureAccessInfo - toggles the output of texture loads/accesses to debug output
Game.AIPlay int iNumTurns - Forces the AI to play for iNumTurns
Game.createSelectedUnitKFs - Creates the sequences associated with the selected unit
Game.freeSelectedUnitKFs - Frees the sequences associated with the selected unit
Game.saveWorldBuilderSave string szWBSaveName - Saves a WorldBuilder save description file
Game.toggleAnimationTest - Will toggle the Animation Test Tool
Game.gfcDirChooser - Will show a gfc directory chooser
Game.gfcfiledlg - Will show a gfc file dlg window
Game.testGFC int iFontNum - Will show a GFC test popup
Game.testFont bool bEnable - Will show a test popup
Game.testPythonPopup - Will show the Python test popup
Game.testPopup - Will show a test popup
Game.scrollBottom - Scroll to the Bottom
Game.scrollTop - Scroll to the Top
Game.clear - Will clear the listbox below
Game.helpScreen - Will display the help popup
Game.toggleDebugMode - Toggles debug mode
Game.showWBPalette bool bCreate - debugging
App.calcFolderChechsum string dirName - Computes an md5 checksum for the directory tree specified
App.setMooseDbg2 int value - sets debugging value
App.setMooseDbg1 int value - sets debugging value
App.takeFullScreenShot - Takes a TGA FULL screen shot in .\ScreenShot. Filenames are sequential. Requires AllowScreenShots=1 in ini.
App.takeScreenShot - Takes a TGA screen shot in .\ScreenShot. Filenames are sequential. Requires AllowScreenShots=1 in ini.
App.setMaxFrameRate float framesPerSec - set the max framerate of the app, 0 to disable
App.setIniFile string groupKey, string key, string value - updates an existing value in the ini file
App.crash - cause the app to crash!
App.getBuildTime - return the application link time
Player.testUnitIter int playerIdx - test player unit iteration
Player.changeGold int playerIdx, int gold - changes a players gold - 0 is Active Player
Player.setGold int playerIdx, int gold - sets a players gold - 0 is Active Player
===============================================
全部DEBUG菜单:
SHIFT+T 打开金钱和科技菜单
CRTL+D 打开全局菜单(主要是显示和声音,适合机器配置差的人修改显示类型)
CRTL+Z 打开全地图,并且驱除地图迷雾,显示所有资源(没科技支持也显示)
ALT+D 修改控制者详细信息
ALT+Z 改变你所控制的文明
CTRL+W 这个最牛,可以修改城市,添加单位,修改资源,改变地貌,等等等等
【编辑:于翔】
|