常见战地风云2控制台口令集锦.docx
《常见战地风云2控制台口令集锦.docx》由会员分享,可在线阅读,更多相关《常见战地风云2控制台口令集锦.docx(9页珍藏版)》请在冰豆网上搜索。
常见战地风云2控制台口令集锦
常见战地风云2控制台口令集锦
常见战地风云2控制台口令集锦
ConsoleCommands(控制台命令)
ToopentheBF2in-gameconsolepressthe'~'key(orthekeyaboveTAB)(按~键或者TAB键)toopen/closetheconsole.ToseetheListofcommandcategories,presstheTABkeytwice.Toseeparticularsub-types,enterthestartofthecommandpressTABtwice.E.g.enterrenderer,thenpressTABtwicetoseetherenderersub-classofcommands.
要在游戏中打开控制台,按~键或者TAB键来控制开或关,要看全部命令表的话按TAB2次,要观看普通(完整)命令?
在命令开始处按TAB2次,要进入渲染选项,然后按TAB2次,来观看渲染选项。
RendererCommands(渲染命令--关系到画面)
renderer.DrawHud[0,1]-TurnstheHeadsUpDisplay(HUD)onoroff.--渲染用户界面,0,1控制开或关。
renderer.DrawConsole[0,1]-Turnsoffaccesstothein-gameconsoleifsetto0.---选0的话,会在游戏中关闭控制台renderer.DrawFps[0,1]-Displaysthecurrentandaverageframespersecond--(FPS)inthetopleftcorner------在左上角显示帧数(相同设置下,FPS越高表示你机器越NB)
GameCommands(游戏命令)
game.sayAll[string]-Saysthespecifiedtextinglobalchat----与所有玩家交谈
game.sayTeam[number][string]-Saysthespecifiedtextinteamchat--与同组玩家交谈
game.lockFps[framerate]-Capsthegame'smaximumframeratetospecifiednumber----控制游戏最大帧数
game.allowToggleFullscreen[0,1]-Ifsetto1allowstogglingoffullscreen/windowedmodegame.toggleFullscreen-Togglesbetweenfullscreenandwindowedmode----------控制是否全屏
LocalprofileCommands-----本地文件命令
localProfile.setName[name]-setsthenameforyourcurrentaccount-----更改目前帐户
localProfile.setNick[nick]-Setsthenicknameforyourcurrentaccount----更改当前帐户呢称
localProfile.setGamespyNick[GameSpyNick]-SetstheGameSpyloginnameforyouraccount---设置GAMESPY里面你的呢称
localProfile.setEmail[emailaccount]-Setstheemailaccountforthecurrentaccount---设置帐户的邮箱地址
localProfile.setPassword[password]-setsthepasswordforthecurrentaccount--为当前帐户设置密码
localProfile.setNumTimesLoggedIn[number]-Setsthenumberoftimestheplayerhasloggedinwiththecurrentaccount----
设置玩家自动登陆的次数
localProfile.setTotalPlayedTime[seconds]-Setsthetimethegamehasbeenplayedusingthecurrentaccount------设置游戏被当前帐户玩的次数
localProfile.save-存盘
localProfile.addDemoBookmark[]----增加录象的书签GlobalsettingsCommands---全局设定
globalSettings.setDefaultUser[number]-SetstheProfiletouse,thefirstonebeing0001,then0002etc.---设置要使用的档案,第一个以0001开始,第2个002,等等
SvCommands-----SV命令(一般是用来控制一些调整参数的,尤其是在服务器端在XXXX路径下)
Thesecommandsareusedtoadjustserversettings,particularlyintheServersettings.confileunderyour
\DocumentsandSettings\[username]\My
Documents\Battlefield2Demo\Profiles\[profile]\directory.sv.allowNATNegotiation[0,1]-
sv.interface-交流界面
sv.timeBeforeRestarting[0,1]----重新开局的时间
sv.autoBalanceTeam[0,1]---自动平衡
sv.teamRatioPercent[0,1]----队伍比率
sv.autoRecord[0,1]---自动记录
sv.DemoIndexURL[address]----录象的路径
sv.DemoDownloadURL[address]---录象下载路径
sv.autoDemoHook----自动切换录象
sv.demoQuality---录象质量
sv.adminScript----管理员脚本
sv.sponsorText---
sv.sponsorLogoURL[address]-
munityLogoURL[address]-交流图标地址
sv.radioSpamInterval---全局广播
sv.radioMaxSpamFlagCount-广播最大丢包数
sv.radioBlockedDurationTime[seconds]-广播被拦截时间sv.useGlobalRank[0,1]-使用全球排名
sv.useGlobalUnlocks[0,1]-使用全球解锁
GamelogicCommands--游戏逻辑命令
gameLogic.togglePause-Togglespausingthegame.--使用按键暂停游戏
settingsmanagerCommands--设置控制命令
Thesecommandssetarangeofvariables.E.g.settingsManager.boolsetGSUseObjectCache1.Thecommandusedmustmatchthetypeofvariable(e.g..boolsetforBooleanvariables,.IntSetforvariablesrequiringintegerinput,etc.)---这些命令设置了一组有范围的,多样的·#%%……—,物体缓存,基本不用管它)
SettingsManager.stringSet---
SettingsManager.boolSet-
SettingsManager.IntSet-
SettingsManager.floatSet-浮点设置
SettingsManager.u32Set-
SettingsManager.stringGet-
SettingsManager.boolGet-
SettingsManager.intGet-
SettingsManager.foatGet-
SettingsManager.U32Get-
InputdevicesCommands--输入设备控制
InputDevices.setInvertAxis-颠倒飞行遥感
InputDevices.setAxisScale-设置遥感比例
controlmapCommands---地图控制命令
Thesesettingsshouldbeusedinthecontrols.confileunderyour\Documentsandsettings\[username]\My
Documents\Battlefield2Demo\Profiles\[profile]\directory.-这些命令应该在路径XXX下面使用
controlmap.deleteControlmap---删除地图
controlMap.dump---读取地图
controlMap.setButtonRiseTime---设置底段控制时间controlMap.SetButtonFallTime---设置失败时间controlMap.SetDoubleTapTime-
controlMap.addAxisToAxisMapping[string]-
controlMap.addButtonsToAxisMapping[string]-controlMap.addKeyAndButtonToAxisMapping[string]-controlMap.addKeysToAxisMapping[string]-controlMap.addButtonToTriggerMapping[string]-controlMap.AddKeyToTriggerMapping[string]-controlMap.setAxisScale-设置比例?
controlMap.setYawFactor-
controlMap.setPitchFactor-
controlMap.addAxisToTriggerMapping-
controlMap.InvertMouse[0,1]-Setto1forinvertedmouse,0fordefaultmouse--反转鼠标,1是反,0是不反controlMap.mouseSensitivity[number]-Determinesthe
sensitivityofthemouse--鼠标灵敏度
controlmap.keyboardSensitivity[number]-Deterimesthesensitivityofthe--键盘灵敏度keyboard
mapListCommands---地图列表命令
Thesecommandsareusedtomanagelistsofmapsbyserveradministrators.
mapList.list-ListsmapIDnumbers,mapname,gamemodeandthenumberofplayersifspecified.--这些命令用来列出管理员的地图表
mapList.configfile[newlocationforfile]-Usedtospecifythelocationofthe_mapList.confile.Defaultis\MyDocuments\Battlefield2Demo\ServerConfigs\
mapList.load-Makestheserverreload_mapList.con--用这个命令来定位于XXXXXX路径的地图
mapList.save-Savesthecurrentmaplistontheservertothefile_mapList.con---保存目前地图
mapList.mapCount-Showsthetotalnumberofmapsinthecurrentmaplist--列出目前地图总数
mapList.currentMap-ShowsthemaplistIDnumberofthecurrentmapbeing--列出目前地图名称
mapList.clear-Clearsthecurrentmaplist-清空当前地图列表mapList.remove[mapIDnumber]-Removesthespecified
mapfromthemapList--删除目前选中地图
maplist.append[mapname][gamemode][numberofplayers]-AddanewmaptotheendofthemapList.Youmustspecifythemapnameandgamemode.--添加一个地图到列表末尾,你必须指明地图名称和游戏模式
maplist.insert[mapIDnumber][mapname][gamemode][numberofplayers]-SameasmapList.appendcommand,butwiththiscommandyoucanspecifyatwhatmapIDnumbertoinsertthenewmapintothelist----和添加命令一样,但是这个命令你可以指定地图添加到列表中任意位置
AdminCommands-----管理员命令
Thesecommandsareusedbyserveradministrators.--管理员专用
admin.listPlayers-Liststheplayersconnectedtotheserver,showingtheirname,IDnumberandIPnumber.----列出目前服务器上所有人员的名字,ID,和IP
admin.runNextLevel-Forcestheservertoendtheroundandstartthenextmapinthemaplist.---强制服务器结束当前局,开始下一局
admin.currentLevel-ShowsthemaplistIDnumberforthecurrentmapbeingplayed.---列出当前地图的玩家ID
admin.nextLevel-ShowsthemapListIDnumberforthenextmaptobeplayed.---列出下个地图的ID号码
admin.restartMap-Restartsthecurrentmap.--重开局admin.banPlayer[playerIDnumber][timeout]-EntertheplayerIDnumberyouwanttoban.BanstheplayerfromtheserverbyusingtheirIPaddress.Thetimeoutvaluecontrolsthelengthofthebane.g.permforpermanentban,roundtobanthemfortherestoftheround,and180is180seconds(3minutes).-----封锁某玩家ID号,封锁时间由你键如的值确定admin.banPlayerKey[playerIDnumber][timeout]-EntertheplayerIDyouwanttoban.BanstheplayerfromtheserverbyusingtheirCDkeyhash.--封锁你想封的人的CDKEY,(估计井限于当前服务器)
admin.addAddressToBanlist[IPaddress][timeout]-EntertheIPnumberyouwanttoban.--输入那个家伙的IP地址,来封锁他
admin.addKeyToBanList[CDkeyhash][timeout]-EntertheCDkeyhashyouwanttoban.---输入CD-KEY来封他
admin.removeAddressFromBanlist[IPaddress]-EntertheIPaddresstoremovefromthebanlist.---将封锁的IP地址解开admin.removeKeyFromBanList[CDkeyhash]-EntertheCDkeyhashyouwanttoremovefromthebanlist.将封锁的CDKEY
解开
admin.clearBanList-Clearsallbanlists.--清空封锁列表admin.ListBannedAddresses-DisplaysalistofthecurrentlybannedIPaddresses.--列出一张当前被封的IP地址表admin.listBannedKeys-DisplaysalistofthecurrentlybannedCDkeys.同上,CDKEY表
admin.kickPlayer[playerIDnumber]-EntertheIDnumberoftheplayeryou--wanttokick--踢人
RemoteConsole---移动控制
Thesecommandsareusedbyserveradministrators.----这些是服务器管理员命令
Tosetupremoteconsoleaccesstotheserver,ontheservercreateanewplaintextdocumentin\admin\calleddefault.cfgandenterthefollowingtextintothenewfile:
--为了建立这个能够连接到服务器的控制,在服务器端建立一个新的TEXT文档,在XXX路径,然后进入文档写下面这些命令:
port=4711
password=YourPassword---密码
Savethefile,andstarttheserver.Nowyoucanaccesstheserverremotelybyusingthefollowingcommandsfromaclient:
--保存,打开服务器,现在你可以通过这种方式,在客户
端随意进入服务器,
rconlogin[YourPassword]-Usethiscommandtologintotheserver.---连接到服务器(和CS有点象)
rconusers-ThiscommandListsalltheusersconnectedtotheserver.Verysimilartoadmin.listPlayers----列出所有用户
rconexec[commandname]-Replacewithaconsolecommandyouwouldliketoexecuteontheserver.Forexample:
rconexecadmin.kickPlayer3---使用管理员命令
Exit-Quitsthegametodesktop--退出
thereisalotmore,illgothrutherenderones,andsomebody(T0m?
)canputthemintoaprettylistlikehis.--还有许多,我将学习渲染部分的,有人会把他列成下面这张表样的
Theseareall"renderer."andsomeyouwillget"Unauthorized"youshouldknowwhattodoinsuchacase--这里是所有渲染指令有些输入后会变成《未确认》,你应该知道怎么办~~
vsync[0/1]VsyncOn/Off---垂直同步开/关
presentAsync?
presentSpinIfBusy?
clearColor?
--色彩
screenDumpPath?
---景深
dumpScreen?
--截屏
occlusionTerrainMaxFrames?
--地表最大帧数occlusionObjectsMaxFrames?
--物体最大帧数enableHWOcclusion?
allowA2M?
stopRenderMovie?
--停止渲染电影
DrawObjects[0/1]->StopsDrawingNearlyEverything--绘图---停止绘制附近物体
drawDeferred[0/1]->DidntnoticeaChange--绘图延期--忽视改变
drawBundledMeshes[0/1]->StopsDrawingGuns+SomeTinyTerrain?
--绘制材质,列如枪
draw1pZOnly[0/1]->DidntnoticeaChange----同上
draw1