From fa41b7492f9318aa254a60db16a523af0359bde9 Mon Sep 17 00:00:00 2001 From: Thakia Date: Mon, 14 Sep 2026 00:02:30 -0300 Subject: [PATCH] AK Sceptre Artifact and Animations --- .../visuals/NEOW_artifacts_visuals.txt | 5 ++ .../07_genes_special_accessories_misc.txt | 9 ++++ .../NEOW_historical_artifact_modifiers.txt | 7 +++ ...W_historical_artifacts_creation_effect.txt | 24 ++++++++++ .../NEOW_scripted_effects.txt | 48 +++++++++++++++++++ .../00_clothing_triggers.txt | 23 +++++++++ .../NEOW_historical_artifacts_events.txt | 12 +++++ ...act_icons_unique_artifact_neow_ak_mace.dds | 3 ++ .../ak_mace/neow_ak_mace_portrait.asset | 3 ++ .../ak_mace/neow_ak_mace_portrait.mesh | 3 ++ .../ak_mace/neow_ak_mace_portrait_diffuse.dds | 3 ++ .../ak_mace/neow_ak_mace_portrait_normal.dds | 3 ++ .../neow_ak_mace_portrait_properties.dds | 3 ++ .../portraits/female_body/female_body.asset | 3 ++ ...le_body_scepter_oneHandedPassive1NEOW.anim | 3 ++ .../portraits/female_body/girl_body.asset | 3 ++ gfx/models/portraits/male_body/boy_body.asset | 3 ++ .../portraits/male_body/male_body.asset | 3 ++ ...le_body_scepter_oneHandedPassive1NEOW.anim | 3 ++ gfx/portraits/accessories/NEOW_props.txt | 8 ++++ .../animations.modifierpack | 11 +++++ .../portrait_animations/animations.txt | 14 ++++++ .../portrait_modifiers/00_animation_props.txt | 13 +++++ .../artifacts/NEOW_artifacts_l_english.yml | 4 +- .../portrait_modifiers_NEOW_l_english.yml | 9 +++- 25 files changed, 221 insertions(+), 2 deletions(-) create mode 100644 gfx/interface/icons/artifact/artefact_icons_unique_artifact_neow_ak_mace.dds create mode 100644 gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait.asset create mode 100644 gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait.mesh create mode 100644 gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait_diffuse.dds create mode 100644 gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait_normal.dds create mode 100644 gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait_properties.dds create mode 100644 gfx/models/portraits/female_body/female_body.asset create mode 100644 gfx/models/portraits/female_body/female_body_scepter_oneHandedPassive1NEOW.anim create mode 100644 gfx/models/portraits/female_body/girl_body.asset create mode 100644 gfx/models/portraits/male_body/boy_body.asset create mode 100644 gfx/models/portraits/male_body/male_body.asset create mode 100644 gfx/models/portraits/male_body/male_body_scepter_oneHandedPassive1NEOW.anim diff --git a/common/artifacts/visuals/NEOW_artifacts_visuals.txt b/common/artifacts/visuals/NEOW_artifacts_visuals.txt index 0453f05d6..a2f626972 100644 --- a/common/artifacts/visuals/NEOW_artifacts_visuals.txt +++ b/common/artifacts/visuals/NEOW_artifacts_visuals.txt @@ -24,4 +24,9 @@ st_edwards_crown = { icon = "artefact_icons_unique_artifact_neow_st_edwards_crown.dds" asset = male_headgear_neow_western_royalty_01_artifact_entity pedestal = "tall_pillow" +} + +ak_mace = { + icon = "artefact_icons_unique_artifact_neow_ak_mace.dds" + asset = neow_ak_mace_portrait_entity } \ No newline at end of file diff --git a/common/genes/07_genes_special_accessories_misc.txt b/common/genes/07_genes_special_accessories_misc.txt index cef3f4b6a..4dc4acdf5 100644 --- a/common/genes/07_genes_special_accessories_misc.txt +++ b/common/genes/07_genes_special_accessories_misc.txt @@ -2820,6 +2820,15 @@ props_left = { boy = male girl = female } + neow_ak_mace_gene = { + index = 150 + male = { + 1 = ak_mace + } + female = male + boy = male + girl = female + } } diff --git a/common/modifiers/NEOW_historical_artifact_modifiers.txt b/common/modifiers/NEOW_historical_artifact_modifiers.txt index 64857b239..661fa38a1 100644 --- a/common/modifiers/NEOW_historical_artifact_modifiers.txt +++ b/common/modifiers/NEOW_historical_artifact_modifiers.txt @@ -60,4 +60,11 @@ st_edwards_crown_modifier = { vassal_limit = 10 domain_limit = 1 naval_movement_speed_mult = 0.15 +} + +ak_mace_modifier = { + monthly_prestige = 0.2 + monthly_martial_lifestyle_xp_gain_mult = 0.15 + monthly_dynasty_prestige = 0.01 + different_faith_opinion = -10 } \ No newline at end of file diff --git a/common/scripted_effects/NEOW_historical_artifacts_creation_effect.txt b/common/scripted_effects/NEOW_historical_artifacts_creation_effect.txt index 981d8cc0c..ea3a0c8dc 100644 --- a/common/scripted_effects/NEOW_historical_artifacts_creation_effect.txt +++ b/common/scripted_effects/NEOW_historical_artifacts_creation_effect.txt @@ -282,4 +282,28 @@ create_artifact_st_edwards_crown_effect = { value = yes } } +} + +create_artifact_ak_mace_effect = { + $OWNER$ = { save_scope_as = owner } + set_artifact_rarity_masterwork = yes + create_artifact = { + name = artifact_ak_mace_name + description = artifact_ak_mace_description + type = regalia + visuals = ak_mace + wealth = scope:wealth + quality = scope:quality + template = general_unique_template + history = { + type = created_before_history + } + modifier = ak_mace_modifier + save_scope_as = newly_created_artifact + } + scope:newly_created_artifact = { + set_variable = { name = historical_unique_artifact value = yes } + set_variable = ak_mace + save_scope_as = epic + } } \ No newline at end of file diff --git a/common/scripted_effects/NEOW_scripted_effects.txt b/common/scripted_effects/NEOW_scripted_effects.txt index e1931b58d..598ce2b42 100644 --- a/common/scripted_effects/NEOW_scripted_effects.txt +++ b/common/scripted_effects/NEOW_scripted_effects.txt @@ -16,6 +16,40 @@ } } } + else_if = { + limit = { + any_equipped_character_artifact = { + has_variable = st_edwards_crown + } + } + root.primary_heir = { + add_character_flag = { + flag = st_edwards_crown + days = 3 + } + trigger_event = { + id = death_management.0151 + days = 1 + } + } + } + else_if = { + limit = { + any_equipped_character_artifact = { + has_variable = ak_mace + } + } + root.primary_heir = { + add_character_flag = { + flag = ak_mace + days = 3 + } + trigger_event = { + id = death_management.0151 + days = 1 + } + } + } } artifact_visual_after_death_dead_character_flag_effect = { @@ -47,4 +81,18 @@ artifact_visual_after_death_dead_character_flag_effect = { debug_log = "British Crown Dead Character Flag Set" } } + else_if = { + limit = { + scope:dead_artifact_visual_heir = { + has_character_flag = ak_mace + } + } + scope:dead_ruler = { + add_dead_character_flag = { + flag = ak_mace_wearer_dead + years = 400 + } + debug_log = "AK Scepter Dead Character Flag Set" + } + } } \ No newline at end of file diff --git a/common/scripted_triggers/00_clothing_triggers.txt b/common/scripted_triggers/00_clothing_triggers.txt index 207f94470..00cfe50ca 100644 --- a/common/scripted_triggers/00_clothing_triggers.txt +++ b/common/scripted_triggers/00_clothing_triggers.txt @@ -3390,4 +3390,27 @@ portrait_st_edwards_crown_trigger = { } } portrait_wear_no_crown_trigger = no +} + +portrait_ak_mace_trigger = { + exists = this + OR = { + has_dead_character_flag = ak_mace_wearer_dead + any_equipped_character_artifact = { + has_variable = ak_mace + } + } +} + +neow_one_handed_scepter_trigger = { + OR = { + any_equipped_character_artifact = { + artifact_type = regalia + has_variable = ak_mace + } + AND = { + is_alive = no + has_dead_character_flag = ak_mace_wearer_dead + } + } } \ No newline at end of file diff --git a/events/artifacts/NEOW_historical_artifacts_events.txt b/events/artifacts/NEOW_historical_artifacts_events.txt index 0f708f644..dbcc018b6 100644 --- a/events/artifacts/NEOW_historical_artifacts_events.txt +++ b/events/artifacts/NEOW_historical_artifacts_events.txt @@ -65,5 +65,17 @@ historical_artifacts.999 = { equip_artifact_to_owner = yes } } + if = { + limit = { + has_dlc_feature = royal_court + exists = character:russia_arkady_medvedev + } + character:russia_arkady_medvedev = { + create_artifact_ak_mace_effect = { OWNER = this } + scope:newly_created_artifact = { + equip_artifact_to_owner = yes + } + } + } } } \ No newline at end of file diff --git a/gfx/interface/icons/artifact/artefact_icons_unique_artifact_neow_ak_mace.dds b/gfx/interface/icons/artifact/artefact_icons_unique_artifact_neow_ak_mace.dds new file mode 100644 index 000000000..95b000186 --- /dev/null +++ b/gfx/interface/icons/artifact/artefact_icons_unique_artifact_neow_ak_mace.dds @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3502676303d2eb97b59746fcc711f55f48cf45d9265b9d0237d7cdfc4eef297 +size 230528 diff --git a/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait.asset b/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait.asset new file mode 100644 index 000000000..db8f32d26 --- /dev/null +++ b/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6eab578a5b9e167423dc7c643fd0502e59d260d360a934a54303d095c12bdae +size 523 diff --git a/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait.mesh b/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait.mesh new file mode 100644 index 000000000..c832f188b --- /dev/null +++ b/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait.mesh @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4eebf811faec8d37c764507c668b75b61b335035aa31dd5fa5bed3553c9d3cc8 +size 491025 diff --git a/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait_diffuse.dds b/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait_diffuse.dds new file mode 100644 index 000000000..33b8154fa --- /dev/null +++ b/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait_diffuse.dds @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2a18f16997f3deec0d12c68d00c469ed0c92391e7ce01795a0ef1f8980bda48 +size 699192 diff --git a/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait_normal.dds b/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait_normal.dds new file mode 100644 index 000000000..66c8e273c --- /dev/null +++ b/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait_normal.dds @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28146312ffbb932f60ef72f6039c28f043bc8cbcb794a1b257df0513b4b66ce8 +size 1398256 diff --git a/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait_properties.dds b/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait_properties.dds new file mode 100644 index 000000000..269585f9b --- /dev/null +++ b/gfx/models/artifacts/NEOW_props/ak_mace/neow_ak_mace_portrait_properties.dds @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0429887802a55881128bdfd5fe362398c9ff3233ec8e78514716bf0f5bb93ec +size 1398256 diff --git a/gfx/models/portraits/female_body/female_body.asset b/gfx/models/portraits/female_body/female_body.asset new file mode 100644 index 000000000..88afd0323 --- /dev/null +++ b/gfx/models/portraits/female_body/female_body.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89ed69c249c32c1aae6c70886c4130afa5f14faa5338b54627f6c96c1353005e +size 163164 diff --git a/gfx/models/portraits/female_body/female_body_scepter_oneHandedPassive1NEOW.anim b/gfx/models/portraits/female_body/female_body_scepter_oneHandedPassive1NEOW.anim new file mode 100644 index 000000000..e6a5890d6 --- /dev/null +++ b/gfx/models/portraits/female_body/female_body_scepter_oneHandedPassive1NEOW.anim @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e6d32b6953ce0e3644a52e940ff6492ad1f577a3b9cc473a7090613f406289b +size 1226697 diff --git a/gfx/models/portraits/female_body/girl_body.asset b/gfx/models/portraits/female_body/girl_body.asset new file mode 100644 index 000000000..bf4095679 --- /dev/null +++ b/gfx/models/portraits/female_body/girl_body.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d684acae4902ac5619210f02fd01bcde2b4e2d16dbdfb5f732b9dfbb144c697a +size 161755 diff --git a/gfx/models/portraits/male_body/boy_body.asset b/gfx/models/portraits/male_body/boy_body.asset new file mode 100644 index 000000000..1ba2943de --- /dev/null +++ b/gfx/models/portraits/male_body/boy_body.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0e8c059a3edd6cd815b8acb032508ba4f37fe0b497e564d08852cfbfa8af465 +size 153244 diff --git a/gfx/models/portraits/male_body/male_body.asset b/gfx/models/portraits/male_body/male_body.asset new file mode 100644 index 000000000..43cd3404c --- /dev/null +++ b/gfx/models/portraits/male_body/male_body.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b29a28bcf96cec2e53d8442b0adc43f4a71bd3644eb4794f5853a723350e9c84 +size 215091 diff --git a/gfx/models/portraits/male_body/male_body_scepter_oneHandedPassive1NEOW.anim b/gfx/models/portraits/male_body/male_body_scepter_oneHandedPassive1NEOW.anim new file mode 100644 index 000000000..3b3ccffa4 --- /dev/null +++ b/gfx/models/portraits/male_body/male_body_scepter_oneHandedPassive1NEOW.anim @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2180c59fb1b17cf6f5adef0c3706bea9b317dcd682033050d2c4e06ef1ca53cd +size 1226697 diff --git a/gfx/portraits/accessories/NEOW_props.txt b/gfx/portraits/accessories/NEOW_props.txt index 0f7f96802..07672ef5c 100644 --- a/gfx/portraits/accessories/NEOW_props.txt +++ b/gfx/portraits/accessories/NEOW_props.txt @@ -14,3 +14,11 @@ coronation_crown_nistrenia_imperial = { coronation_crown_britannia_imperial = { entity = { required_tags = "" node = "bn_l_prop" entity = "male_headgear_neow_western_royalty_01_portrait_entity" } } + +###################### +## Others ## +###################### + +ak_mace = { + entity = { required_tags = "" node = "bn_r_prop" entity = "neow_ak_mace_portrait_entity" } +} \ No newline at end of file diff --git a/gfx/portraits/portrait_animations/animations.modifierpack b/gfx/portraits/portrait_animations/animations.modifierpack index 380001e33..b22867a21 100644 --- a/gfx/portraits/portrait_animations/animations.modifierpack +++ b/gfx/portraits/portrait_animations/animations.modifierpack @@ -206,6 +206,17 @@ one_handed_mace = { animations = dwarf_additive animations = female_prop_fix_additive } + + portrait_modifier = { # N3OW AK Mace + trigger = { + portrait_ak_mace_trigger = yes + } + animations_props = ak_mace_prop + animations = AI_vengeful_decal + animations = fat_additive + animations = dwarf_additive + animations = female_prop_fix_additive + } } one_handed_mace_no_additives = { diff --git a/gfx/portraits/portrait_animations/animations.txt b/gfx/portraits/portrait_animations/animations.txt index bf86aab43..365795225 100644 --- a/gfx/portraits/portrait_animations/animations.txt +++ b/gfx/portraits/portrait_animations/animations.txt @@ -534,6 +534,20 @@ idle = { } } + idle_scepter_one_handed = { + animation = { head = "scepter" torso = "scepter_oneHandedPassive1NEOW" } + portrait_modifier = { + animations_props = ak_mace_prop + } + weight = { + base = 0 + modifier = { + add = 150 + neow_one_handed_scepter_trigger = yes + } + } + } + # idle_emperor = { # animation = { head = "emperor" torso = "emperor" } # portrait_modifier_pack = hu diff --git a/gfx/portraits/portrait_modifiers/00_animation_props.txt b/gfx/portraits/portrait_modifiers/00_animation_props.txt index bbe8b7953..4bc1d6d78 100644 --- a/gfx/portraits/portrait_modifiers/00_animation_props.txt +++ b/gfx/portraits/portrait_modifiers/00_animation_props.txt @@ -3252,4 +3252,17 @@ } } } + + # N3OW - Other Props + + ak_mace_prop = { + dna_modifiers = { + accessory = { + mode = add + gene = props_right + template = neow_ak_mace_gene + range = {0 1} + } + } + } } diff --git a/localization/english/replace/artifacts/NEOW_artifacts_l_english.yml b/localization/english/replace/artifacts/NEOW_artifacts_l_english.yml index 3a6c6dea7..2bc84947c 100644 --- a/localization/english/replace/artifacts/NEOW_artifacts_l_english.yml +++ b/localization/english/replace/artifacts/NEOW_artifacts_l_english.yml @@ -17,4 +17,6 @@ artifact_pedestal_reliquary_fracture_name:0 "[SCOPE.Custom('FractureRelicName')|U]" artifact_pedestal_reliquary_fracture_description:1 "An elegant reliquary containing a holy relic: [SCOPE.Custom('FractureRelic')|l]." artifact_pedestal_amethyst_name:0 "Radiant Amethyst" - artifact_pedestal_amethyst_description:0 "An amethyst with a deep purple hue, from having been touched by the Fracture" \ No newline at end of file + artifact_pedestal_amethyst_description:0 "An amethyst with a deep purple hue, from having been touched by the Fracture" + artifact_ak_mace_name:0 "Kalasnikov's Blessing" + artifact_ak_mace_description:0 "Deep Lore" \ No newline at end of file diff --git a/localization/english/replace/portraits/portrait_modifiers_NEOW_l_english.yml b/localization/english/replace/portraits/portrait_modifiers_NEOW_l_english.yml index 846ab100a..3686e5e1a 100644 --- a/localization/english/replace/portraits/portrait_modifiers_NEOW_l_english.yml +++ b/localization/english/replace/portraits/portrait_modifiers_NEOW_l_english.yml @@ -17,4 +17,11 @@ PORTRAIT_MODIFIER_custom_headgear_male_headgear_neow_western_royalty_01: "@neow_icon! Crown of St-Edward" ## Female ## PORTRAIT_MODIFIER_custom_headgear_female_headgear_neow_eastern_royalty_01: "@neow_icon! Pearl Crown of Nistrenia" - PORTRAIT_MODIFIER_custom_headgear_female_headgear_neow_western_royalty_01: "@neow_icon! Crown of St-Edward" \ No newline at end of file + PORTRAIT_MODIFIER_custom_headgear_female_headgear_neow_western_royalty_01: "@neow_icon! Crown of St-Edward" + +################## +### ANIMATIONS ### +################## + +# One Handed Scepter + idle_scepter_one_handed: "Holding Short Scepter" \ No newline at end of file