此页面正在翻译中
定义(Defines)是影响某些非脚本化游戏行为的变量,如军队移动和谋略。
Configuration
游戏本体的定义位于game\common\defines\00_defines.txt
。
要修改定义,最好不要修改原版文件,而是使用模组。To do so, create a mod, then create a text file in Documents\Paradox Interactive\mod\[mod name]\commond\defines. To change a define, use the following format in the following example, which changes the end date to 1800:
NGame = { END_DATE = "1800.1.1" }
The file only needs to contain the edited defines—ones that are not being changed can be left out.
定义列表
以下是分类列出的不完整定义列表。
游戏
变量 | 单位 | 注释/描述 |
---|---|---|
END_DATE = "1453.1.1" | YYYY.M.D 年.月.日 | |
GAME_SPEED_TICKS | 秒 | 每级游戏速度下模拟一天的实际秒数(第一个值是最慢速度,最后一个值是最快速度)。 |
COMBAT_TICK_LIMIT = 1 | ||
LAG_DECREASE_SPEED_DAYS = 15 | 天 | 在多人游戏中,将会导致游戏速度降低的玩家端延迟天数。 |
LAG_PAUSE_DAYS = 30 | 天 | 在多人游戏中,将会导致游戏暂停的玩家端延迟天数。 |
MULTIPLAYER_EVENT_TIME_OUT = 90 | 天 | 在多人游戏中,一个事件将会持续显示的天数。如果时间已过,游戏将自动选择一个选项。 |
BENCHMARK_TEST_DURATION = 135 | 秒 | Duration of a benchmark test using the "-benchmark" launch option. |
BENCHMARK_INTERFACE_INTERVAL = 5.0 | Seconds | Time before the benchmark changes the open UI window. |
BENCHMARK_OBSERVE_CHARACTER = k_england | Title | The title of the character who will be observed for the benchmark. |
BENCHMARK_WAYPOINTS | Where the camera should pan during the benchmark. |