定义:修订间差异

本页面所适用的版本可能已经过时,最后更新于1.2
(建立内容为“{{version|1.2}} '''Defines''' are variables that affect certain non-scriptable game behaviors, such as army movement and schemes. ==Configuration== Vanilla de…”的新页面)
 
(咯咯炀移动页面Defines定义
(没有差异)

2020年12月31日 (四) 11:46的版本


Defines are variables that affect certain non-scriptable game behaviors, such as army movement and schemes.

Configuration

Vanilla defines are set in game\common\defines\00_defines.txt.

To modify defines, it is best not to modify the original file, but rather to use a mod. 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.

List of defines

The following is a (non-exhaustive) list of defines, organized by category.

Game

Variable Unit Notes/description
END_DATE = "1453.1.1" YYYY.M.D
GAME_SPEED_TICKS Seconds Number of seconds a day should take at every game speed (first value is speed 1, last value is speed 5).
COMBAT_TICK_LIMIT = 1
LAG_DECREASE_SPEED_DAYS = 15 Days Number of days of client lag that will cause a speed decrease in multiplayer.
LAG_PAUSE_DAYS = 30 Days Number of days of client lag that will cause a pause in multiplayer.
MULTIPLAYER_EVENT_TIME_OUT = 90 Days Number of days an event will show in multiplayer. When all time has passed, the game will automatically select an option.
BENCHMARK_TEST_DURATION = 135 Seconds 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.