王国风云3控制台代码怎么用??

hsk1011 4小时前

在Steam上打开游戏属性。

点击设置启动项。

输入命令“ -debug_mode”(不带引号)。

这样就可以了,然后在游戏中按 [〜] 键即可打开控制台,这样就可以输入指令了。

王国风云3控制台代码大全(输入ctrl+F搜索你想要的指令代码)

开启教程:tutorial.enable [gamestate/global/all (default: global)] - Enable the tutorial

关闭教程:tutorial.disable [gamestate/global/all (default: global)] - Disable the tutorial

显示教程调试窗口:tutorial.debugwindow - Shows the tutorial debug window

为角色触发事件:event [eventid] [character] - Trigger an event for a character

为角色触发事件。此选项还会显示事件触发器,但是可能会导致误报错误日志。:debug_event [eventid] [character] - Trigger an event for a character. It will also print the event trigger, which can however cause some false positive error logs.

评估是否可以为角色触发事件。此选项还会将事件触发器传至控制台,但是可能会导致误报错误日志。:test_event [eventid] [character] - Evaluate if an event can be triggered for a character. It will also print the event trigger to the console, which can however cause some false positive error logs.

探索角色文化的创新:discover_innovation(add_innovation) - Discover an innovation for a character's culture

探索当前对角色文化着迷的创新:discover_fascination(add_fascination) [character (optional)] - Discover the innovation that is the current fascination for a character's culture

加入一个时代(以及之前的所有时代):join_era(unlock_era) [era] [character (optional)] - Join a certain era (and all previous ones)

发现一个时代(以及时代本身)的所有创新:discover_era [era (optional, default is current era)] [character (optional)] - Discover all innovations of a certain era (and the era itself)

探索所有时代和所有创新:discover_all_eras [character (optional)] - Discover all eras and all innovations

设定角色的信仰:set_faith [faith] [character (optional)] - Sets the faith of a character

在所处的朝代中提升声望:dynasty_prestige [amount (optional, default: 1000)] [dynasty ID (optional, default: player dynasty)] - Adds prestige to the given dynasty

赋予王朝所有特权(默认为当前所扮演角色的王朝):gain_all_dynasty_perks [character (optional)] - Gives a dynasty (currently played character's dynasty by default) all perks

记录所有尚未定义loc键的游戏概念:log_missing_game_concept_loc - Logs all game concepts that have not had their loc key defined

杀死一名角色(默认为当前扮演角色):kill(die) [character (optional)] - Kill a character (currently played character by default)

赋予一名角色所有特权(默认为当前扮演角色):gain_all_perks [character (optional)] - Gives a character (currently played character by default) all perks

赋予一名角色一项特权(默认为当前扮演角色):add_perk [perk] [character(optional)[- Gives a character (currently played character by default) a specific perk

开/关是否要立即或正常生育子女:instant_birth - Toggles if children should be born instantly or as normal

使AI宣战(根据正常权重),绕过所有步调检查等:AI.declare_war [character(optional)] - Causes the AI to declare a war (according to normal weighting), bypassing all pacing checks and the like

为此角色生成一个CoA,将其视为王朝替补:generate_cadet_coa [character (optional)] - Generate a CoA for this character as if they were a cadet of their dynasty

在一种信仰中加入一项教义:add_doctrine [doctrine] [faith(optional)] - Adds a given doctrine to a faith

从一种信仰中移除一项教义:remove_doctrine [doctrine] [faith(optional)] - Removes a given doctrine from a faith

增加一项领域法:add_realm_law [law] [character(optional)] - Adds a realm law

增加一项领域法,跳过成本和效果,以及当前法律的废除效果:add_realm_law_skip_effects [law] [character(optional)] - Adds a realm law, skips the cost and the pass effect, and the revoke effects of the current law

设定角色的文化:set_culture [culture] [character(optional)] - Sets the culture of a character

改变信仰的热情:change_fervor [amount(optional)] [faith(optional)] - Changes the fervor of a faith

向角色透露一项机密(默认为当前扮演角色):add_secret [type] [target(optional)] [character(optional)] - Gives a character (currently played character by default) a specific secret

更改一个县的发展水平,默认为首都:change_development_level [amount] [province_id(optional)] - Changes the development level of a county, defaults to capital

产生指定类型的派系:faction_spawn [faction_type] - Spawns a faction of the specified type

设置指定类型的首个派系的不满:faction_discontent [faction_type] [discontent_value]- Sets discontent of the first faction of the specified type

指定类型的首个派系发出其需求:faction_demand [faction_type] - The first faction of the specified type sends its demand

将该池有关的统计信息转存至'logs/pool_stats.csv':dump_pool_stats - Dump statistics about the pool to 'logs/pool_stats.csv'

将该池有关的统计信息转存至'logs/character_creation_stats.csv':dump_character_creation_stats - Dump statistics about the pool to 'logs/character_creation_stats.csv'

每天加快(帧率降低):fast_tick - Faster ticking (lower frame rate)

一个省的单位移动:instamove(quickmove) - units move one province each day

开/关是否要屏蔽所有消息(提示/通知):supress_messages - Toggle if all messages (toasts/notifications) should be suppressed

开/关是否要压缩存档:force_save_compression - Toggle if saves should be compressed

为当前日期的所有书签字符写入人像数据:dump_bookmark_portraits - Writes portrait data for all bookmark characters at current date

显示关于ai的分析数据:print_ai_timings - Prints profiling data about ai

清除人像缓存。强制所有人像刷新:Portrait.ClearCache - Clears the portrait cache. Forces all portraits to refresh

打开人像编辑器:portrait_editor(pe) - Open the portrait editor

在光标位置生成指定实体:spawnentity [entity name] [state (optional)]- Spawns specified entity at cursor position

清除使用spawnentity命令生成的实体:clearspawnedentities - Clears entities spawned with spawnentity command

为游戏的地图对象生成定位器:MapObjects.GenerateGameLocators [type] ]filename (optional)] - Generates locators for the game's map objects

显示地图对象调试信息:MapObjects.Debug - Prints out map object debug information

显示相机调试信息:Camera.Debug - Prints out camera debug information

保存相机位置:Camera.Save - Save camera position

加载相机位置:Camera.Load - Load camera position

使用特定的颜色模式保存地图的png:Map.SavePNG [map mode] [file name] [yes/no Should render flat (optional)] - Save a png of the map with a specific color mode

重建所有邻接关系:Adjacencies.Rebuild - Rebuild all adjacencies

在2个位置之间生成指定的行:spawnline [line name] [start position 'x,y,z' (no spaces)] [end position x,y,z (no spaces)]> - Spawns specified line between 2 positions

清除行:clearlines - Clear lines

未定义:SplineNetwork.GenerateAssets - Undefined

未定义:shader_debug - Undefined

复合节点编辑器:compoundnodeeditor - Compound Node Editor

粒子节点编辑器:particleeditor - Particle Node Editor

显示脚本文档:script_docs(script_documentation) - Prints script documentation

生成设置GUI:settings - Spawns a settings GUI

屏幕截图:screenshot - Take screenshot

生成系统优化GUI:tweak - Spawns a tweaker GUI

纹理查看器:textureviewer - Texture Viewer

纹理列表:texturelist - Texture List

皮肤编辑器:tools.skins - Skin Editor

开/关3D统计:3dstats - Toggles 3D Stats

列出音频事件:audio.list_events - List audio event

播放音频事件:audio.play_event [Audio event] - Play audio event

显示当前的CPU使用情况:audio.cpu_info - Shows current cpu usage

切换主交换链垂直同步:vsync - Toggle main swapchains vsync

重新加载纹理:gfx.reloadtexture - Reload textures

报告所使用的渲染后端:rendertype - Reports what render backend is used

设置或获取任务线程数:Threading.TaskThreadCount [The number of task threads] - Set or get the number of task threads

模拟崩溃(会导致游戏退出)。:CrashReporter.SimulateCrash - Simulates a crash (resulting in the game exiting).

删除X天前的本地崩溃转储。:CrashReporter.DeleteCrashData - Delete local crash dumps older than X days.

选择现存gfx皮肤:gfx.skin - Select active gfx skin

创建可停靠:Dockables.Create [Dockable name] - Create dockable

创建可停靠布局:Dockables.CreateLayout [Dockable layout name] - Create dockable layout

生成GUI编辑器:gui_editor - Spawns gui editor

转储已注册的数据类型:DumpDataTypes - Dumps the registered data types

开/关地图编辑器:map_editor - Toggle map editor

停止当前播放的曲目:Music.StopTrack - Stops the currently playing track

显示或设置音乐系统的当前权重:Music.Weight - Shows or sets the current weight of the music system

播放指定的曲目:Music.PlayTrack [track name] - Plays the specified track

重置音乐系统:Music.Reset - Resets the music system

再次锁定所有成就:Debug.Achievements.ResetAll - Locks all achievements again

显示一个对象浏览器窗口:explorer - Shows an object explorer window

将xp添加到所有生活方式中:add_lifestyle_xp_all [amount(optional)] [character(optional)] - Adds xp all lifestyle

将xp添加到指定生活方式中:add_diplomacy_lifestyle_xp [amount(optional)] [character(optional)] - Adds xp to the given lifestyle

将xp添加到指定生活方式中:add_martial_lifestyle_xp [amount(optional)] [character(optional)] - Adds xp to the given lifestyle

将xp添加到指定生活方式中:add_stewardship_lifestyle_xp [amount(optional)] [character(optional)] - Adds xp to the given lifestyle

将xp添加到指定生活方式中:add_intrigue_lifestyle_xp [amount(optional)] [character(optional)] - Adds xp to the given lifestyle

将xp添加到指定生活方式中:add_learning_lifestyle_xp [amount(optional)[ [character(optional)] - Adds xp to the given lifestyle

重新加载本地化文件并切换语言:switchlanguage [language name] - Reload localization files and switch language

重新载入assets文件:reload [file name] - Reloads assets

现在是几点?:time - What time is it?

创建一个小型转储:minidump [file path] - Creates a minidump

导致应用程序崩溃:crash - Cause the application to crash

切换调试模式:debug_mode - Toggles debug mode

切换释放模式:release_mode - Toggles release mode

创建虚拟小部件。参数为0时,文件名将为gui/debug/test_gui.gui,小部件名称将为test_window:GUI.CreateWidget(gui_test,test_gui) [File name] [Widget name] - Create dummy widget. With 0 arguments the file name will be gui/debug/test_gui.gui, and the widget name will be test_window

清除虚拟小部件:GUI.ClearWidgets - Clear dummy widget

在game.log文件中显示所有控制台命令。:helplog - Print out all console commands to game.log file.

显示所有控制台命令或特定的命令描述。:help [command name] - Print out all console commands or a specific command description.

双彩虹协助。:helphelp - Double Rainbow help.

在控制台和游戏日志中显示版本。:version - Prints the version to the console and the game log.

勾选任意天数:tick_day [number of days] - Ticks any number of days

日志统计:statistics - Logs statistics

从磁盘上的savegame加载gamestate:load [file name] - Load gamestate from savegame on disk

检查存档和读档持久性:test_save - Check save and load persistence

将当前的游戏状态保存到磁盘:save [file name] - Saves current gamestate to disk

重新计算修改器:recalculate_modifiers [{if an argument is given, ALL modifiers will be calculated}] - Recalculates modifiers

执行效果:effect [{effect script}] - Execute effect

在/run中执行效果文件:run [{effect file}] - Execute effect file in /run

测试触发脚本:trigger [{trigger script}] - Test trigger script

发送聊天消息:chat [Message] - Send chat message

更改扮演的角色:play [Character ID] - Change played character

开始观看比赛:observe(ob) - Start observing the game

显示角色:hello [Character ID] - Show a character

显示历史人物:hello_history [Scripted history character ID] - Show a character from history

显示头衔:show_title [Title tag] - Show a title

查找头衔:find_title [Title name] - Find a title

选择一个省:select_province [Province Id] - Select a province

改变一个县的文化:change_culture [province id] [culture] - Change culture of a county

将同一种文化的所有县合并为一种新文化:merge_culture [from culture] [to culture] - Merge all counties of one culture into another culture

增加黄金:gold(cash,dough) [Amount] - Add gold

增加虔诚:add_piety(piety) [Amount] - Add piety

增加声望:add_prestige(prestige) [Amount] - Add prestige

将头衔赋予指定角色:give_title(gt) [Title] [Character ID (optional, the player by default)] - Gives the title to the specified character

宣布该角色获得该头衔:add_claim(ac) [Character ID (optional, the player by default)] [Title] - Gives the character a claim on the title

在当前年龄基础上增加年龄:age() [Age] [Character ID] - Adds age to the current age

显示角色的历史:IDhistorical_id(hist) [Character ID] - Shows the historical id of a character

为角色添加特质:add_trait(at) [Trait] [Character ID (optional, applies to player character otherwise)] - Adds trait to a character

设置角色的性别:set_sexuality [sexuality] [Character ID (optional, applies to player character otherwise)] - Sets the sexuality of a character

显示有关角色所涉及的所有秘密的所有信息:secret_info(si) [character ID (optional)] - Shows all info about all secrets that the character is involved in

移除角色的特质:remove_trait(rt) [Trait] [Character ID (optional, applies to player character otherwise)] - Removes trait from a character

使角色怀孕:pregnancy(child_birth,impregnate) [mother id] [father id (0 or empty for no father)] [instant birth (yes/no)] - Make a character pregnant

重绘纹章:redraw_coa - Redraw coat of arms

一天之内AI会肯定所有事件:yesmen(yesman,debug_yesmen,ym) - AI will always say yes to everything within a day

一天之内AI会否定所有事件:nomen(noman,debug_nomen,nm) - AI will always say no to everything within a day

启用监视窗口:watch(ww) - Enables watch windows

启用AI监视窗口:aiwatch - Enables ai watch windows

启用AI战争协调员监视窗口:ai_war_coordinator_watch - Enables AI war coordinator watch window

停留在下一个加载屏幕上:loading_screen(ls) - Stays on the next load screen

在日志中显示错误:error - Show errors in log

测试发送消息:test_message [type] [char_id/title_key/goto province_id] - Test sending a message

显示游戏日志:gamelog - Show game log

发现所有针对该玩家的阴谋:know_schemes - Discovers all schemes target to the player

结束所有针对该玩家的阴谋:end_schemes - Ends all schemes target to the player

运行脚本测试:scripted_tests [pattern (optional)] - Run scripted tests

强制:OoSforce_oos - Force OoS

显示事件队列调试:event_queue - Print event queue debug

显示事件调试计数:event_counts - Print event debug counts

生成战斗场景中的攻击或防御方:spawn_combat_army [scenario] [combat side] - Spawns attacking or defending side of a combat scenario

测试脚本化的战斗场景:combat [scenario] - Test a scripted combat scenario

测试脚本化的战斗场景:combat_test [scenario] [iterations] - Test a scripted combat scenario

切换角色调试信息的可见性:charinfo - Toggles the visibility of the character debug info.

显示当前的随机日志:print_randomlog - Prints the current randomlog.

转储OOS信息。:oos_dump - Dumps OOS info.

输出行省地形文件。:output_terrain - Outputs province terrain file.

勾选展开X刻度延展:tick_development [Number of ticks] - Tick the spreading of development for X ticks

列出服务器上的所有玩家:players - Lists all players on server

踢出指定名字的玩家:kick [Player name] - Kicks a player with the given name

添加脚本化关系:add_relation [relation name] [char01] [char02] - Adds a scripted relation

删除脚本化关系:remove_relation [relation name] [char01] [char02] - Removes a scripted relation

增加现有压力值:add_stress [stress] [character id (optional)] - Add the value to existing stress

将角色所有基本技能归零,并模拟成长到特定年龄(将改变年龄):simulate_child_skills [age] [character id (optional)] [iterations] - Zeroes all base skills and simulate growth to a specific age of character (will change age)

将压力更改为该值:set_stress [stress] [character id (optional)] - Change stress to the value

将值添加至现有恐惧:add_dread [dread] [character id (optional)] - Add the value to existing dread

将恐惧更改为该值:set_dread [dread] [character id (optional)] - Change dread to the value

为角色设定焦点:set_focus [focus] ]character] - Set a focus for the character

为角色添加一个被甲武士团:add_maa [MAA type] [character] [banner_index] - Add an men-at-arms regiment to the character

清除控制台:clear(clr) - Clear console.

重新计算角色的继承:recalculate_succession [Character ID] - Recalculates the succession of a character

启用角色的:AIAI.Enable [Character ID] - Enables the AI of a character

禁用角色的:AIAI.Disable [Character ID] - Disables the AI of a character

设定角色的外交:set_diplomacy [value] [character (optional)] - Sets the diplomacy of a character

设置角色的武术:set_martial [value] [character (optional)] - Sets the martial of a character

设置角色的管理:set_stewardship [value] [character (optional)] - Sets the stewardship of a character

设置角色的谋略:set_intrigue [value] [character (optional)] - Sets the intrigue of a character

设定角色的学问:set_learning [value] [character (optional)] - Sets the learning of a character

设置角色的勇猛:set_prowess [value] [character (optional)] - Sets the prowess of a character

改变角色的外交:change_diplomacy [value] [character (optional)] - Changes the diplomacy of a character

改变角色的武术:change_martial [value] [character (optional)] - Changes the martial of a character

更改角色的管理:change_stewardship [value] [character (optional)] - Changes the stewardship of a character

改变角色的谋略:change_intrigue [value] [character (optional)] - Changes the intrigue of a character

改变角色的学问:change_learning [value] [character (optional)] - Changes the learning of a character

改变角色的勇猛:change_prowess [value] [character (optional)] - Changes the prowess of a character

删除角色的所有特质:clear_traits [character (optional)] - Removes all the traits of a character

删除角色的所有修改器:clear_character_modifiers [character (optional)] - Removes all the modifiers of a character

为角色设置指定绰号:set_nick(set_nickname) [nick_key] [character (optional)] - Sets the specified nickname to a character

删除角色的绰号:remove_nick(remove_nickname) [character (optional)] - Removes the nickname of a character

显示调试计时信息:timer - Prints out debug timing info

开始调试计时:timer_start - Starts debug timing

重新启动(重置并启动)调试计时:timer_restart - Restarts (resets and starts) debug timing

重置调试计时:timer_reset - Resets debug timing

停止调试计时:timer_stop - Stops debug timing

转储调试计时信息:timer_dump - Dumps debug timing info

将计时器信息放入剪贴板:Ct - Puts timer info in clipboard

玩家立即建造:instabuild(quickbuild) - Players build things instantly

验证AI单位路径:verify_ai_path - Verify an AI unit's path


编辑 举报 2024-02-06 14:30

0个评论

暂无评论...
验证码 换一张
相关内容