Portraits used by random country leaders and military leaders are specified in /Hearts of Iron IV/portraits. It is necessary to specify the files in /Hearts of Iron IV/interface/_random_portraits.gfx, otherwise the game will not display the images.
Portraits
File:Ambox outdated info.png | 这部分内容可能已不适合当前版本,最后更新于1.5。 |
Portraits are used to assign a pool of images to specific groups of countries, or a specific country that will then be used when the player generates a military leader or through an effect their country leader or military leader is replaced.
It follows this format:
default = { # ... } continent = { name = <continent> # ... } <tag> = { # ... }
default is the fallback portraits used when no other definition matches the current scope.
continent defines the portraits per continent, meaning they apply to any nation with their capital in the specified continent.
tag defines the portraits for the specified tag, overriding the continent definition if it also matches one.
The actual portrait definitions are as follows:
male = { <path> } female = { <path> } army = { male = { <path> } female = { <path> } } navy = { male = { <path> } female = { <path> } } political = { <ideology> = { male = { <path> } female = { <path> } } }
Multiple paths can be used to add a pool of portraits to each definition.
The top male and female paths may be used for any type of leader.
The army paths are used for Field Marshals and Corps Commanders.
The navy paths are used for Naval Commanders.
The political paths are used for country leaders of the specified ideologies.
文件 | 效果 • 条件 • 定义 • 修正 • 修正列表 • 作用域 • 本地化 • on action • 数据结构 (标记, 临时标记, 国家别名, 变量, 数组) |
脚本 | 成就修改 • AI修改 • AI focuses • 自治领修改 • 权力平衡修改 • 剧本/标签 (游戏规则)• 建筑修改 • 人物修改 • 修饰性TAG修改 • 国家创建 • 军队修改 • 决议制作 • 装备修改 • 事件修改 • Idea修改 • 意识形态修改 • 军工商修改 • 国策制作 • 资源修改 • Scripted GUI • 科技制作 • 单位修改 |
地图 | 地图 • 省份 • 补给区域 • 战略区域 |
图形图像 | 界面 • 图形资产 • 实体模型 • 后期特效 • 离子效果 • 字体 |
装饰性 | 肖像 • 命名列表 • 音乐 • 音效 |
其他 | 控制台指令 • 故障排除 • 模组结构 • 成就代码分析 • Mod相关 • Nudger修改 |