Talk:Empire modding

From Stellaris Wiki
Jump to: navigation, search

Assessment

Outliner top.png
C - This article is considered a C-class article on the wiki quality scale

Custom AI personalities for AI-controlled custom empires[edit]

- How do I assign custom Personality to custom Empire?[edit]

I'm guessing this is where you do it (99_personalities.txt):

        ...
        allow = {
               has_country_flag = custom_empire_flag
        }
        weight_modifier = {
               weight = 1000			
        }
        ...

So how do I set the flag on my custom empire? This is what I expected it to be (99_prescripted_countries.txt):

        custom_empire = {
               name = "Custom Empire"
               ...
               flags = { custom_empire_flag }
               ...
               }
        }

--81.233.61.103 14:55, 25 June 2016 (CEST)