Pre-defined traits are located in game/common/traits/
folder. Traits can be separated into four categories.
Traits can be categorized into one of four categories:
- Personality defined in
00_personality.txt
- Military defined in
00_military.txt
- Health defined in
00_health.txt
- Status defined in
00_status.txt
See more at Traits
Personality traits
The most general type of trait that describes the character's personality, such as being Brave or Coward(ly), or Cruel or Merciful. Personality traits typically have the widest variety of effects, and almost all characters have at least one or two of these.
Example:
abrasive = { # type = personality opposites = { good_natured } character_loyalty = -5 senate_influence = -0.15 max_rivals = 1 great_work_total_workrate_character_modifier = negative_gw_workrate_percent_svalue_minor country = { subject_opinions = -5 } }
Attribute | Description | Example |
---|---|---|
type | type of trait | type = personality |
opposites | traits which are the complete opposite of the trait |
opposites = { good_natured } |
To see modifiers that could be added to the trait, see here
Military traits
Typically given to commanders and admirals during battle events and give often give various combat modifiers. Usually a character has a maximum of one of those, that may give a bonus or penalty.
Example:
original_thinker = { # type = military martial = 1 unit = { siege_ability = 0.1 } }
Attribute | Description | Example |
---|---|---|
type | type of trait | type = military |
opposites | traits which are the complete opposite of the trait |
opposites = { coward } |
To see modifiers that could be added to the trait, see here
Health traits
Represents a medical condition that a character has, such as Stressed, Maimed, Lunatic, etc. Not beneficial to the character in most cases, usually reduces a character's attributes and often has an impact on health as well, sometimes being fatal. Many of these traits can be treated (except for congenital traits), but as characters get older it will be increasingly difficult to avoid.
Example:
hunchback = { type = health congenital = yes martial = -1 }
Attribute | Description | Example |
---|---|---|
type | type of trait | type = health |
congenital | trait can pass down descendants | congenital = yes |
opposites | traits which are the complete opposite of the trait |
opposites = { one_eyed } |
To see modifiers that could be added to the trait, see here
Status traits
Status traits represent a character's current activities, lifestyle, reputation, or heritage. They include bloodline traits as well as those given for more personal military or oratory successes.
If they do not already have one, Hellenistic culture monarchs have a small chance of getting a random bloodline trait every time the Prove Legitimacy scheme is completed.
Example:
victorious = { # type = status monthly_oligarchic_party_conviction = 0.025 monthly_populares_party_conviction = 0.05 support_for_character_as_heir = 2 monthly_character_popularity = 0.1 senate_influence = 0.15 country = { stability_monthly_change = 0.08 } }
Attribute | Description | Example |
---|---|---|
type | type of trait | type = status |
To see modifiers that could be added to the trait, see here
GFX
Trait icons are stored at gfx\interface\icons\traits
. Icon has to be stored as a .dds file and must be named as the same as the trait.
It is recommended that the icon be 54x54 in size
文檔 | 效果指令 • 觸發條件 • 修正列表 • 作用域 • 變量 • 數據類型 • 本地化 • 可自定義的本地化 |
腳本 | AI • 建築 • 宣戰理由 • 人物 • 人物互動 • 戰術 • 國家 • 文化 • 決議 • Defines • 經濟政策 • 事件 • 淵源 • 政府 • 總督政策 • 理念 • 修正 • 軍事傳統 • 官職 • 行動 • 派系 • 價格 • 人口 • 宗教 • 省份 • Script Values • Scripted Modifiers • 附屬國類型 • 科技 • 商品 • 特質 • 單位 |
地圖 | 地圖 • 地形 • 地圖定位器 |
圖形 | 3D模型 • 界面 • 盾徽 • 圖形資產 • 字體 • 粒子效果 • 著色器 • 單位模型 |
音頻 | 音樂 • 音效 |
其他 | 控制台命令 • 校驗和 • 模組結構 • 錯誤調試 |