• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

ArVass

Captain
26 Badges
Apr 4, 2016
354
1.339
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Europa Universalis IV: Common Sense
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Stellaris: Apocalypse
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Legacy of Rome
Hi everyone!

I not sure whether or not to ask this here, but I'm currently trying to make a mod about artifacts, especially crowns. It is going to have a bunch of new headgear, events and mechanics about coronation ceremonies.

But I have a little problem. When I'm trying to add an object, it doesn't use the given file, but instead it shows the file specified by GFX_no_artifact. I have no idea what's wrong.
ck2_8.png


So if someone here knows what the problem is, I would be glad to hear a solution to the problem. Also, I attached a .zip which contains a mini-mod with only one artifact so you can see my files.
 

Attachments

  • crowns_test.zip
    26,7 KB · Views: 3

SkyGreen24

Second Lieutenant
24 Badges
Nov 17, 2017
133
0
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sword of Islam
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Holy Fury Pre-order
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Magicka 2: Ice, Death and Fury
  • Crusader Kings II: Horse Lords
  • Magicka 2
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
You made an error in your code for the artifact, here's the correct version
Code:
crown_hungary = {
   monthly_character_prestige = 1.0
   monthly_character_piety = 1.0
   diplomacy = 4
   quality = 5
   church_opinion = 5
   vassal_opinion = 5
   active = {
       is_feudal = yes
       religion_group = christian
       has_landed_title = k_hungary
   }
   custom_tooltip = {
       text = crowned_by_trigger
       OR = {
               trait = crowned_by_myself
               trait = crowned_by_pope
               trait = crowned_by_bishop
               trait = crowned_by_priest
          # } <---This parentheses was uneccessary and that ought to be it.
       }
   }
   flags = { religious christian unique crown jewelry crown_jewel }
   stacking = no
   picture = "GFX_crown_hungary"
   slot = crown
   stacking = no
   indestructible = yes
   allowed_gift = {
       always = no
   }
}