Victoria 3V3控制台指令 V1.0(施工中)

当前版本:1.0
翻译搬运自https://steamcommunity.com/sharedfiles/filedetails/V3%20Wiki。

前言

当前版本:1.0
翻译搬运自

点击:https://steamcommunity.com/sharedfiles/filedetails/V3%20Wiki

[vic3.paradoxwikis.com]


维多利亚3提供了调试模式(默认情况下禁用),允许输入控制台命令。

在非铁人游戏中,要访问控制台,需要在调试模式下按Shift+2、ALT+2+1、Shift+3、§、~、^、°、²或`(不同的键盘布局按键也可能不同)。若这些按键都无效,可以尝试Shift+Alt+C。对于QWERTY键盘,调试键为`(Tab键上方)。

按上下方向键,可以浏览先前执行过的命令。在输入一条命令的前几个字母后按Tab键,游戏会自动帮你填写完整命令,或者显示该命令可以包含哪些参数。很多代码可以通过再次输入来开关,但有时需要重新加载存档或重启游戏。

调试模式

调试模式是一套游戏工具,允许你修改非常规游戏行为。它包括:

  • 控制台窗口(用于输入控制台命令)
  • 调试菜单(包括GUI编辑器、脚本管理器等)
  • 调试信息
  • 在地图上,按下Ctrl并点击一个国家,可以控制该国;按下Ctrl+Alt并点击一个地区,可以获得该地区。
  • 文件观察器,自动重新加载修改过的文件(包括MOD)

如何启用调试模式


调试模式可以在启动游戏时启用,也可以在游戏中用Mod切换出来。游戏内控制台可以关闭调试模式,但关闭后不能重新启用(除非使用Mod)。

Mod
有很多Mod支持开关调试模式(如

点击:https://steamcommunity.com/sharedfiles/filedetails/list%20of%20state%20regions

[vic3.paradoxwikis.com]

particleeditor

Particle Node Editor

permitmarginalizedingovernment

toggles the cheat mode permitmarginalizedingovernment

pops_account_disconnect_steam

Disconnect Paradox account from Steam

pops_account_login [email] [password]

Login to a POPS Account

pops_account_logout

Login to a POPS Account

pops_account_status

Show whether you are currently logged into POPS or not.

popstat

Prints out amount of active pops.

portrait_editor

Open the portrait editor

print_gamestate_modifiers

Prints Gamestate Modifiers

province_borders [true/false]

Toggles showing of province borders

pseudoLoc

Enable/Disable Pseudo Localization on Text Widgets

recalc_cached_data

Recalculate cached gamestate data.

release_mode

Toggles release mode

reload [file name]

Reloads assets

rendertype

Reports what render backend is used

research

Acquire technologies

save_game_analyzer

Open the save game analyzer

screenshot

Take screenshot

script_docs

Prints script documentation

set_devastation_level [state region tag] [amount]

Set devastation level in specified state region

set_pollution_level [state region tag] [amount]

Set pollution level in specified state region

settings

Spawns a settings GUI with an optional argument for an initially selected category

shader_debug

shader_editor

Shader Editor Dockable

show_goals

Show AI goals.

skip_migration

toggles the cheat mode skip_migration

sleep

Sleep for specified amount of milliseconds

social_addfriend [Context Index] [Account ID]

Add a friend to friends list

social_debuginfo

Print debug info about the social layer

social_joinroom [Context Index] [Room Name] [Nick Name]

Join a chat room using the given social context

social_sendmessage [Context Index] [Room Name] [Message]

Send a message to a chat room.

spawnentity [<entity name>] [<state> (optional)]

Spawns specified entity at cursor position

spawnentity_at [<entity name>] [x] [y] [<state> (optional)]

Spawns specified entity at xy-position

spawnline [<line name>] [<start position 'x,y,z'> (no spaces)] [<end position x,y,z> (no spaces)]

Spawns specified line between 2 positions

spawnnotification [notificationtype] [<scopeindex>]

Spawns notification of specified type.

swapchain.buffers

Query/Set swapchain buffers

switchlanguage [language name]

Reload localization files and switch language

tag [country_tag]

Switch control to another country

testaipacts

Test whether AI would dissolve current pacts

testevent [event name] [<country_tag/province_id>]

Tests an event

testobjective [<subgoal key (optional)>]

Tests objective triggered effects

texturelist

Texture List

textureviewer

Texture Viewer

time

What time is it?

tools.skins

Skin Editor

treatyport [<state region tag>]

Takes treaty port in state region

tweak

Spawns a tweaker GUI

update_distribution

Updates garrison unit distribution in HQ of specified State ID

update_employment

Transfers employees between buildings in the specified state ID.

validate_employment

Print out unemployment in states.

validate_hubs

validate_income

Print out countries with income deficits.

validate_naval_exits

validate_pops

Ensures all pops have valid params and prints them to the error log otherwise.

version

Shows current build information, put 1 as second parameter for long version

vsync

Toggle main swapchains vsync

wagerate