在自建国家设置旗帜时,我们知道旗帜分为三部分:图标(icon)、背景图形(background)和颜色(color),这些图像和颜色的名称均在游戏根目录的flags\目录下。其中背景图形在backgrounds\文件夹中,颜色名称列在colors.txt中,其余的子文件夹里都是图标。
将你选择的图标名称及其对应文件夹名、背景图形名称和背景主次颜色分别填入上述代码中,复制粘贴输入~控制台执行效果即可。
如改成镇楼图中乌和波旗帜的代码分别为
effect = { change_country_flag = { icon = {category = "human" file = "flag_human_15.dds" } background={ category = "backgrounds" file = "flag_BG_21.dds" }colors={ "red" "sky_blue" "null" "null"} } }
(图标为human文件夹里的flag_human_15.dds,背景为backgrounds 文件夹里的flag_BG_21.dds,主要颜色红色,次级颜色天蓝)
和
effect = { change_country_flag = { icon = {category = "human" file = "flag_human_4.dds" } background={ category = "backgrounds" file = "horizontal.dds" }colors={ "white" "red" "null" "null" }} }
(图标为human文件夹里的flag_human_4.dds,背景为horizontal.dds,主要颜色白色,次级颜色红色)

————————————————
由于这些图标和背景图形的图像都为dds贴图文件,一般的图片查看器或浏览器无法打开显示。为方便吧友们查看,下面我使用XnConvert列出各子文件夹中包含的图样和对应名称。