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

Jothaka

Recruit
42 Badges
May 13, 2016
7
3
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Magicka
  • Europa Universalis IV: Res Publica
  • Crusader Kings II
  • Stellaris: Synthetic Dawn
  • Stellaris
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Stellaris: Galaxy Edition
  • Shadowrun Returns
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Necroids
  • Shadowrun: Dragonfall
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Green Cities
  • Surviving Mars
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Pillars of Eternity
  • Cities: Skylines
  • Age of Wonders III
  • Shadowrun: Hong Kong
Does someone know how the Advancement of Primitive-Civilisation works?
I would like to speed up the process of advancement between the different ages via a hidden event.

So I don't want to simply do something like
Code:
set_primitive_age = iron_age
but instead maybe add a modifier on the planet / planetowner along the lines of
Code:
#event
add_modifier = { modifier = primitive_progress_speed_up }

#static_modifier
primitive_progress_speed_up {
primitive_progress_mult = 0.5 <-- what parameter to use????
}

Anyone an idea?
 

SolarGuy

General
43 Badges
Aug 12, 2015
1.944
1.833
  • Stellaris
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Distant Stars Pre-Order
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Federations
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Cities: Skylines - After Dark
  • Stellaris: Synthetic Dawn
So far I've seen several mods where the minimum empire number in the galaxy creation was set to 0 instead of 1. Does anyone here know where to do this?
 

asnys

Second Lieutenant
29 Badges
May 23, 2016
123
12
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
  • Stellaris: Lithoids
  • Age of Wonders
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Federations
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Stellaris: Distant Stars
  • Crusader Kings II: Charlemagne
This is a question I never saw answered. Are math operations possible?

I am looking to make a terraforming mod that scales cost to planet size rather then having a flat cost..

I think this could be done with a workaround, but it would take some effort.

First step, make tons of dummy planet classes that have the same descriptions and graphics as the existing planet classes, one for every planet class of every size category. So if you want, say, three size categories, then you need ocean_1, ocean_2, ocean_3, desert_1, desert_2, desert_3, etc.

Second step, make new terraforming links files for the dummy planet classes, with cost depending on which dummy planet class the planet's in.

Third step, make a hidden event that fires on game start that goes through every planet in the galaxy and changes its planet class to the appropriate dummy planet-class based on planet size. Warning: this will probably stall the game for a bit when it fires.

ETA: Actually, you could maybe avoid the stalling problem by making the event fire for individual planets as they're colonized. So when you colonize a planet, the event fires for that particular planet.
 

dpdlc

Sergeant
48 Badges
Apr 10, 2007
82
0
  • Stellaris: Galaxy Edition
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Stellaris
  • Sword of the Stars
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris - Path to Destruction bundle
  • Age of Wonders III
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Prison Architect
  • Age of Wonders: Planetfall
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Crusader Kings II
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
Trying to get portraits to change based off ETHOS. you can change portraits due to enslavement and happiness as mentioned here:
https://forum.paradoxplaza.com/foru...-happiness-level-solved.932662/#post-21190449

"pop_has_ethic" is in the trigger list and used as an example. I get a Crash to Desktop at 82% when loading the game, with an memory violation:

[19:36:02][game_application.cpp:1022]: Initializing Database: CPortraitDatabase
######## EXCEPTION: 0xC0000005 at address: 0x00A3B998: ACCESS VIOLATION read attempt to address 0x00000014
Version: Unknown Version
06/16/16 19:36:04

I added the exists switch to make sure that the pop actually exists incase it was undefined. Compared to other variable i beleive that the ethos might be a string vs a numeric value? So at boot strcmp might cause memory issue.

Code:
portrait_groups = {
    Ethos = {
        default = giant01
        game_setup = {
            add = {
                portraits ={
                    giant01
                }
            }
        }
        species = {
            add = {
                portraits ={
                    giant01
                }
            }
        }
        pop = {
            add = {
                trigger = {
                    exists = this  
                    NOT = {
                            this  = {
                                pop_has_ethic = "ethic_fanatic_xenophobe"
                                ##is_enslaved = yes
                            }   
                        }
                }
                portraits = {
                    giant02
                }
            }
            add = {
                trigger = {
                    exists = this       
                    this  = {
                            pop_has_ethic = "ethic_fanatic_xenophobe"
                            ##is_enslaved = yes
                    }
                }
                portraits = {
                    gaint03
                }

            }
        }
    }
}
 

Mythgaard

Sergeant
26 Badges
Nov 6, 2012
74
29
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Sword of the Stars II
  • Sword of the Stars
  • Semper Fi
  • Magicka
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: Pre-order
  • 500k Club
  • Stellaris: Synthetic Dawn
So I've been working on my Star Names mod, after editing and tweaking, it's currently sitting at around 85k entries (Black Holes, Ateroids pre and post, Stars, Nebula). Trying to load the game with this list causes the game to crash with a blank exception error window. Is there a limit to the number of entries, or to the length of names?

*edit* Deleting the Asteroid entries will let it load. That's around 67k entries.
 
Last edited:

Iyur

icddppl
24 Badges
Apr 2, 2014
731
47
  • Crusader Kings II
  • Imperator: Rome
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Imperator: Rome Sign Up
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Cities: Skylines Industries
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Surviving Mars
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Cities: Skylines
  • Stellaris: Synthetic Dawn
  • Cities: Skylines Deluxe Edition
Is this a bug or I'm missing something?
At this moment you can apply a certain modifiers to the ship scope through add_modifier command. But you can't remove this later, it causes a wrong scope error. And after you've set a timed modifier it will never expire.
 
Last edited:

Chilled Legumes

Second Lieutenant
84 Badges
Jan 16, 2016
185
169
  • Arsenal of Democracy
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Reapers Due
  • Stellaris: Galaxy Edition
  • Warlock: Master of the Arcane
  • Victoria 2: A House Divided
  • Teleglitch: Die More Edition
  • Sword of the Stars
  • Ship Simulator Extremes
  • Semper Fi
  • Rome Gold
  • Victoria: Revolutions
  • Majesty 2
  • Magicka
  • The Kings Crusade
  • Leviathan: Warships
  • Impire
  • Crusader Kings II
  • Stellaris: Apocalypse
  • Stellaris: Synthetic Dawn
  • Steel Division: Normand 44 - Second Wave
  • Ancient Space
  • Europa Universalis III
  • Lead and Gold
  • For The Glory
  • Hearts of Iron III
  • Heir to the Throne
  • Steel Division: Normandy 44
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • BATTLETECH
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Stellaris: Necroids
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Crusader Kings II: Jade Dragon
  • Victoria 2
  • Supreme Ruler 2020
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
Is there a way to specify the AI personality of a prescripted country that can spawn in the game? Also, how do we force an ai personality to only use specific types of diplomacy greetings?
 
Last edited:

Das Blah

Sergeant
37 Badges
May 12, 2016
79
12
  • Cities: Skylines - Parklife Pre-Order
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Crusader Kings II: Holy Fury
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • Victoria 2
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Stellaris: Megacorp
  • Europa Universalis IV
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II
Is there a way to have armies stationed on specific planet tiles, per say? So a tile would know if an armies is present on it, and what kind, or an army could know what tile it's on.
 
Last edited:

InfinityArts

Corporal
28 Badges
May 16, 2016
41
11
  • Cities: Skylines Deluxe Edition
  • Stellaris: Galaxy Edition
  • Knights of Pen and Paper +1 Edition
  • Stellaris: Synthetic Dawn
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Stellaris: Federations
  • Age of Wonders: Planetfall - Revelations
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall Season pass
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Pillars of Eternity
  • Magicka: Wizard Wars Founder Wizard
  • Cities: Skylines
  • Majesty 2 Collection
Is there a way to decrease the odds of orbital deposits (the ones you build mining/research stations on). I thought I'd double the resources and halve the spawn chance to decrease late game lag. Is it as simple as adding
orbital_weight = { weight = 100 }
to the null_deposit entry? Looks like all the deposits are weighted against each other.

What's the difference between orbital_weight and drop_weight?
 

TehT

Private
37 Badges
May 11, 2016
20
5
  • Crusader Kings II
  • Magicka 2
  • Cities in Motion 2
  • Sword of the Stars II
  • Sword of the Stars
  • Magicka
  • Lead and Gold
  • Knights of Pen and Paper +1 Edition
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Stellaris: Necroids
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Stellaris: Megacorp
  • Prison Architect
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Humanoids Species Pack
  • Age of Wonders III
  • BATTLETECH
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Stellaris
  • Cities: Skylines - After Dark
  • Pillars of Eternity
  • Magicka: Wizard Wars Founder Wizard
  • Cities: Skylines
  • Stellaris: Synthetic Dawn
I got a bit of a weird issue.
I have a building that in theory should increase the growth speed of robots.


Code:
    pop_growth = {
        produced_growth_resources = {
            robot_food = 0.5
        }
    }

the problem is that as soon as i construct the building, random populations start spawning on the planet.
and i mean completely random, pre-sentient monkey in one tile, oceanic brainslug with 0% habitability in another.
anyone have any idea what may be causing this?
 
  • 2
Reactions:

Dell19

Major
40 Badges
Mar 21, 2005
658
247
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Res Publica
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Europa Universalis III Complete
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Europa Universalis 4: Emperor
  • Divine Wind
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Ancient Space
  • Europa Universalis IV
  • 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
  • For The Glory
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
Is it possible to reduce the initial border radius and how would I do this? Curious how the game plays out if you can't claim 5+ systems just by colonising one planet.

Thanks
 

hyme

Muscoda, WI
89 Badges
Jan 23, 2007
1.115
16.492
  • Pillars of Eternity
  • Sengoku
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Semper Fi
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis IV
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Lost Empire - Immortals
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
How do we change what building is made when a colony is made?
 

elmorteUA

Major
101 Badges
Jul 12, 2012
536
104
geks.org
  • Europa Universalis IV
  • Magicka
  • Victoria 3 Sign Up
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Horse Lords
  • Sengoku
  • March of the Eagles
  • Lead and Gold
  • Deus Vult
  • Crusader Kings II
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Surviving Mars
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Stellaris: Distant Stars
  • Crusader Kings III Referal
  • Stellaris: Ancient Relics
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Golden Century
  • Surviving Mars: First Colony Edition
  • Shadowrun Returns
  • Europa Universalis IV: Dharma
  • Stellaris: Lithoids
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Federations
  • Crusader Kings III
  • Europa Universalis IV: Cradle of Civilization
Gui question.

1) Why added containerWindowType don`t work in gui files?

I wanna add some... subwindow to main window, but there nothing happens when I add containerWindowTyped from another gui file. Like this one:

Code:
containerWindowType = {
        name = "credits_view_window"
        position = { x= -300 y = -300 }
        size = { width=780 height=400 }
        orientation = center

        background = {
            name ="background"
            quadTextureSprite = "GFX_tile_large_bg"
            position = { x = 0 y = 0 }
        }

        iconType = {
            name = "hex_bg"
            spriteType = "GFX_hex_bg"
            position = { x = -5 y = -5 }
            alwaysTransparent = yes
        }
   
        iconType = {
            name = "empire_header_line"
            quadTextureSprite = "GFX_line"
            position = { x = 10 y = 35 }
        }



2) How add random text area? Like this:

Code:
instantTextBoxType = {
            name = "text"
            font = "malgun_goth_24"
            text = ""
            position = { x = 0 y = 0 }
            maxWidth = 550
            maxHeight = 20
            fixedSize = yes
            orientation = "UPPER_LEFT"
            format = centre
        }

If I make name ="blabla" or leave blank name ="" game crush...

Thnx!
 

hadaev

Colonel
25 Badges
Sep 7, 2012
972
209
  • Europa Universalis III Complete
  • Divine Wind
  • Crusader Kings II
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Crusader Kings III
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Shadowrun: Dragonfall
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Stellaris Sign-up
  • Stellaris
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Magicka
This is a bug or am I doing something wrong?
In the game I get humans instead of synths.
Code:
country_event = {     
    id = human_fallen_empire.1
    title = OK
    desc = OK
    hide_window = yes

    fire_only_once = yes
 
 
    immediate = {
        every_owned_planet = {
            every_tile = {
                limit = {
                    has_building = yes
                    has_blocker = no
                    has_grown_pop = no
                    has_growing_pop = no
                    }
                create_pop = { species = ROBOT_POP_SPECIES_3 }                     
                }
            }
    }
}


Try to change can_pop_procreate rules.
Works fine until I add the condition to the planet, with it no one reproduce.
Code:
can_pop_procreate = {
    AND = {
        OR = {
            is_enslaved = no
            owner =    {
                NOT = {
                    has_policy_flag = slavery_procreation_not_allowed
                }
            }
        }
        NOT = {
           OR = {
                AND = {
                    NOT = { is_same_species = owner.species }
                    exists = owner
                    owner = {
                        has_policy_flag = birthcontroll_xenos
                    }
                }
                AND = {
                    is_same_species = owner.species
                    exists = owner
                    owner = {
                        has_policy_flag = birthcontroll_own
                    }
                }
                exists = pop
                exists = owner
                owner = {
                    has_policy_flag = birthcontroll_all
                }
                NOT = {
                    planet = {
                        has_planet_edict = free
                }
            }
        }
    }
}
 

Tuttu

Future ruler of my galaxy.
56 Badges
Feb 6, 2011
85
67
  • Magicka
  • Stellaris: Synthetic Dawn
  • Victoria 2
  • The Showdown Effect
  • A Game of Dwarves
  • March of the Eagles
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Heir to the Throne
  • Hearts of Iron III
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Dungeonland
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Stellaris: Ancient Relics
  • Prison Architect
  • Stellaris: Megacorp
  • BATTLETECH: Flashpoint
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Age of Wonders III
  • Stellaris: Nemesis
  • Surviving Mars
  • BATTLETECH
  • Crusader Kings Complete
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris
  • Magicka 2
  • Magicka: Wizard Wars Founder Wizard
  • War of the Roses
  • Warlock: Master of the Arcane
Do you know if there's a way to start an event after a tile blocker has been removed ? (So the tile blocker removal is a trigger condition for that event)
 

Anthropoid

Major Game Slut
58 Badges
Sep 30, 2008
3.014
1.076
  • Crusader Kings II
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Mount & Blade: Warband
  • Victoria 2: A House Divided
  • Supreme Ruler 2020
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Charlemagne
  • Arsenal of Democracy
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Deus Vult
  • East India Company Collection
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Jade Dragon
  • Stellaris: Galaxy Edition
  • Cities: Skylines - Parklife
  • Cities: Skylines - Snowfall
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Rise of Prussia
  • Cities: Skylines Industries
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Question:
Can someone point me at some guidelines for doing what "ParasiteX" refers to in the quoted post below where he refers to: "You can then either copy the existing prescripted_species_systems.txt and edit that. Which will then always override the original, even when the game is patched. Or create your own new .txt. This is a bit more advanced as you then have to create a new solar system initializer ID. And if you want it to look proper in game, you would also need to make a locilization file for it to display the name and such."

Looking at the files in the default localisations directory, it isn't clear what would need to be modified.

Background:
I'm trying to make a proper mod instead of edits to default files as I have been doing. I've got the mod folder setup and working and the edits I've made to 00_defines.lua are working.

Next I'd like to create a custom solar system, one that could be selected at game setup in the same way as "Sol" and "Deneb" I was going to do one with Norse mythos names for planets/moons

Draft of planets (obviously needs to be integrated into the proper syntax using the existing examples . . .)
Yggdrasil system

Skadi frozen

Njordr toxic or ocean (Uranus)
Skadi wife moon

Geri (pluto odins wolf) barren (extra)

Heimdall gas giant (rings) (Saturn)

Odin gas giant (Jupiter)
Hugginn crow barren
Munnin crow
Freki (another wolf) molten

Thor barren (Mars)
Sif Gaia moon

Freyja home world (Earth)
Hildisvini arid moon

Fenrir toxic (venus)

Loki molten (mercrury)

Once I get that to work, then I'll publish the mod (along with a Readme detailing the long list of small value-tweaks I've made in 00_defines.lua), and as time allows create additional "custom solar systems," maybe even 'by request.' My Java and C++ coursework is of course what I _SHOULD_ be focusing on :oops: . . . but everybody needs some fallow time right? and I figure writing this stuff is "close" to implementing a checkers game in Java or implementing the data structures my C++ mentor has me doing :D so maybe it will "osmose" into renewed enthusiasm for actual work coding!

Also if anyone has any "content" suggestion either on that set of Norse names or some other, appreciated . . .

How to modify the Sol System?
To avoid that. use the mod tools in the launcher to create a new mod. Give it name and folder name is it describes. You should then find it in your Documents\Paradox Interactive\Stellaris\mod folder

Simply create the folder structure \common\solar_system_initializers inside the custom mod folder, say let's for example have it named CustomSol.

So you would then make it look like this
Documents\Paradox Interactive\Stellaris\mod\CustomSol\common\solar_system_initializers

You can then either copy the existing prescripted_species_systems.txt and edit that. Which will then always override the original, even when the game is patched. Or create your own new .txt. This is a bit more advanced as you then have to create a new solar system initializer ID. And if you want it to look proper in game, you would also need to make a locilization file for it to display the name and such. So easist for beginners is to just edit prescripted_species_systems.txt