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

Miles Invictus

Second Lieutenant
51 Badges
Aug 15, 2014
142
127
  • Europa Universalis III
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Stellaris: Distant Stars Pre-Order
  • Imperator: Rome
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Stellaris: Leviathans Story Pack
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Stellaris
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Pre-order
  • Stellaris: Galaxy Edition
In the title lads. I'm currently making a mod to use custom backgrounds for AI Empires in Diplomacy (instead of the room, window and city backdrop).

Take the Aquatic Species for example: I've managed to make it so that one room works for them - when entering diplomacy with an Aquatic Species, they use my mod specific room. So far so good.

However I ideally want to cycle between various rooms instead of be stuck with the one same room for all aquatic empires; e.g. "I click one aquatic empire in diplomacy - it has background #1, while aquatic empire 2 has background #2 etc.

How would I make this possible for my mod?

I've tried making the following in the room_textures file (asset_selectors);

"aquatics_room" = {
exists = owner
owner = {
NOT = { is_country_type = primitive }
is_fallen_empire = no
aquatics_portrait = yes }
room = aq1_room
OR = {
exists = owner
owner = {
NOT = { is_country_type = primitive }
is_fallen_empire = no
aquatics_portrait = yes }
room = aq2_room}
}

Any tips guys?