• 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.

buhite2

Second Lieutenant
65 Badges
May 18, 2011
187
162
  • Europa Universalis IV: Art of War
  • Sword of the Stars II
  • Sword of the Stars
  • Europa Universalis IV: Res Publica
  • Magicka
  • King Arthur II
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Supreme Ruler: Cold War
  • Darkest Hour
  • Stellaris - Path to Destruction bundle
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings II
  • Steel Division: Normandy 44
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Dharma
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • 500k Club
  • Stellaris: Ancient Relics
  • Imperator: Rome
  • Crusader Kings II: Holy Fury
  • Prison Architect
  • Stellaris: Nemesis
  • Europa Universalis IV
  • Victoria 2
  • War of the Roses
  • Stellaris Sign-up
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: El Dorado
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Shadowrun Returns
I'm sure most of you have noticed the vassal wargoal always costs 60 warscore. I took a look at the wargoals intending to mod the vassal CB to scale with empire size, but looking at the script...why doesn't it already??? Shouldn't the "scaled_modifier" section increase the cost per pop?


Code:
vassalize_country = {
   execution_order = 1
  
   parameters = {
     country = {
       type = country
     }
   }
  
   warscore_cost = {
     base = 60  

     scaled_modifier = {
       scope = parameter:country
       add = 0.5
       calc = pop_count
     }    
    
     modifier = {
       factor = 0.5
       parameter:country = {
         exists = overlord
       }
     }
   }