找回密码
 点一下
查看: 3212|回复: 2

编辑器控制台命令列表~~于是顺便翻译了~~

[复制链接]
发表于 2010-5-5 15:48:06 | 显示全部楼层 |阅读模式
用Windows->Console打开控制台~~或者按Alt+`~~



!! - 重复上一个命令
bnetlogin - 登陆Battle.net (使用文件->配置中的账号资料)
bnetlogout - 登出Battle.net
bnetstatus - 汇报当前BN连接状况
browse - 打开MPQ浏览器,浏览游戏MPQ包中所有的文件
cachesize - 汇报目前用于缓存编辑器数据所消耗的内存
cliffinfo - 打开/关闭地形编辑器状态栏中的悬崖信息显示
dice (count = 1) (sides = 6) - 由给出的骰子数与面数得到一个随机值
filecount (directory) - 计算硬盘上指定文件夹中包含的文件总数(包含子目录)
game - 调用一个游戏作弊码
help - 显示本命令列表
helpmods - 显示基于模组的命令的关键字列表
locale (locale code) - 更改编辑器语种
memwin - 打开/关闭内存占用监视窗口
multcam (field) (factor) - 对于当前地图中选中的所有镜头,将它们的给定字段的值乘以参数中给定的因数(不加参数的情况下使用该命令则会显示所有镜头字段关键字的列表)
shake (amplitude) (frequency) (random factor) (duration) (direction = <x><y><z>) (position = <eye><target><both>) - 根据给定参数震动地形编辑器的镜头
spell (word) - 检查给定单词是否在拼写检测字典中
spellsize - 汇报目前拼写检测模块所占用的内存
sysmem - 实时显示系统内存占用
texuvget - 显示当前地形的贴图uv值
texuvset (scalex) (scaley) (offsetx = 0) (offsety = 0) - 改变当前地形的贴图uv值
undosize - 汇报用于保存指定模块中撤销信息所占用的内存
varget (variable) - 显示指定变量的当前值
varlist - 列出所有变量和它们的值
varset (variable) (value) - 设置指定变量的当前值
vartog (variable) - 开关指定变量
vidmem - 实时显示显存占用
注2:以上的变量是指编辑器和游戏的环境变量。至于脚本变量的追踪则是用Debug窗体来进行的。




!! - Repeat the last command
bnetlogin - Log in to Battle.net (using settings from preferences)
bnetlogout - Log out of Battle.net
bnetstatus - Report current Battle.net connection status
browse - Open the archive browser for viewing files in the game data archives
cachesize - Report current memory usage of cached editor data
cliffinfo - Toggle display of cliff information in the Terrain Editor status bar
dice (count = 1) (sides = 6) - Return a random value equivalent to rolling the given number of dice with the given number of sides
filecount (directory) - Count the total number of files contained within given directory on disk (recursive)
game - Invoke a game cheat command
help - Display this list of commands
helpmods - Display the list of module codes for use with module-based commands
locale (locale code) - Change the editor locale
memwin - Toggle display of the memory usage statistics window
multcam (field) (factor) - Multiply the camera field value by a factor for all selected cameras in the current map (use with no arguments for a list of field codes)
shake (amplitude) (frequency) (random factor) (duration) (direction = <x><y><z>) (position = <eye><target><both>) - Shake the Terrain Editor camera
spell (word) - Check if the given word is in the spell checker dictionary
spellsize - Report current memory usage of the spell checker
sysmem - Display system memory usage statistics
texuvget - Display the texture uv tiling values for the current terrain
texuvset (scalex) (scaley) (offsetx = 0) (offsety = 0) - Change the texture uv tiling values for the current terrain
undosize - Report current memory usage of undo information for the given module
varget (variable) - Display the current variable value
varlist - List all variables and their values
varset (variable) (value) - Set the current variable value
vartog (variable) - Toggle the variable on or off
vidmem - Display video memory usage statistics
发表于 2010-5-5 15:57:13 | 显示全部楼层
locale (locale code) - Change the editor locale
回复

使用道具 举报

发表于 2010-5-5 16:02:37 | 显示全部楼层
!! - 重复最后一个命令
bnetlogin - 登录到Battle.net(使用偏好设置)
bnetlogout - 登出Battle.net
bnetstatus - 报告当前Battle.net的连接状态
browse - 打开压缩文档浏览器查看游戏压缩文件内容
cachesize - 报告编辑器数据缓存的当前内存使用
cliffinfo - 切换悬崖信息在地形编辑器状态栏的显示模式
dice (count= 1) (sides= 6) - 根据参数指定的骰子个数和面数返回一个随机值,默认为1个6面骰子
filecount (directory) - 计算指定目录下的文件总数(递归)
game - 调用游戏作弊命令
help - 显示本命令列表
helpmods - 显示基于模块的命令的模块代码列表
locale (locale code) -   改变编辑器区域设置
memwin - 切换内存使用统计窗口的显示模式

shake (amplitude) (frequency) (random factor) (duration) (direction = <x><y><z>) (position = <eye><target><both>) - 按指定幅度/频率/随机因素/持续时间/方向/视角 晃动地形编辑器镜头
spell (word) - 检查指定词语是否符合拼写检查词典
spellsize - 报告拼写检查器的当前内存使用
sysmem - 显示系统内存使用统计
texuvget - 显示当前地形纹理的UV值
texuvset (scalex) (scaley) (offsetx = 0) (offsety = 0) - 按指定的缩放倍数和偏移 改变当前地形纹理的UV值
undosize - 报告指定模块的撤掉信息的内存使用
varget (variable) - 显示当前变量的值
varlist - 列出所有变量和它们的值
varset (variable) (value) - 设置当前变量的值
vartog (variable) - 切换变量开或关
vidmem - 显示显存使用统计
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-4-24 17:16 , Processed in 0.085686 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表