Stellaris

Stellaris

Multiple Crises - Cepheus Edition (3.4.5)
 此主题已被置顶,因此可能具有重要性
Ryuichiro  [开发者] 2017 年 9 月 28 日 下午 4:24
How to force all crises in one playthrough
DISCLAIMER:
The following modifications will allow multiple crises at the same time which can lead to gamebreaking bugs, as there are no features for them to interact with, e.g. the other crises may not be able to "clean" Prethoryn planets.



All the modifications are done in the following files:
events/crisis_trigger_events.txt

1. Enable multiple crises by commenting line 29:
#NOT = { has_global_flag = galactic_crisis_happened }


2. Remove all 0 factor modifiers:
Line 50:
modifier = { factor = 0 has_country_flag = only_unbidden_this_time }
Line 58:
modifier = { factor = 0 OR = { allowed_crisis_type = contingency allowed_crisis_type = unbidden } }
Line 113:
modifier = { factor = 0 OR = { allowed_crisis_type = contingency allowed_crisis_type = prethoryn } }
Line 160:
modifier = { factor = 0 has_country_flag = only_unbidden_this_time }
Line 168:
modifier = { factor = 0 OR = { allowed_crisis_type = prethoryn allowed_crisis_type = unbidden } }

3.a If you want that each crisis triggers as early as possible you can comment line 214:
### Nothing #120 = {}

3.b If you want the crises to happen no later than a specific year, you have to add a timer in the #Nothing block at the bottom of the file (line 214+).
### Nothing 120 = { modifier = { factor = 0 years_passed >= 300 #from this year on the crises will happen with minimum requirements } }

Be aware that you still have to fulfill the minimum requirements for the events like a jump drive for the Unbidden.
最后由 Ryuichiro 编辑于; 2021 年 4 月 21 日 下午 2:46
< >
正在显示第 1 - 8 条,共 8 条留言
Dr.Salt 2017 年 9 月 29 日 上午 10:21 
Good stuff thank you Ryuichiro. What if I don't want to change any mechanics with the crisis in terms of "forcing them" early or by a specific time, but rather just make sure they inevitably occur naturally.
Ryuichiro  [开发者] 2017 年 9 月 30 日 上午 9:08 
This will not change the mechanics, that's why the crises won't all happen when the added timer is reached. It will only make sure they will happen the moment there requirements/mechanics are fulfilled from this time onwards.

The #Nothing block normally adds a chance, that a crisis won't happen even when its triggers are true. This cahnge will just remove that chance.
最后由 Ryuichiro 编辑于; 2017 年 9 月 30 日 上午 9:11
plutonianempire 2020 年 4 月 12 日 下午 6:48 
Are these changes save game compatible?
Ryuichiro  [开发者] 2020 年 4 月 13 日 上午 10:57 
Yes, but some triggers are delayed, so even when you disable the mod you may encounter a second crisis. If you enable it for a game you started without it it "should" take effect but again it may take some time until the delayed triggers actually start a crisis.
最后由 Ryuichiro 编辑于; 2020 年 4 月 14 日 上午 7:00
plutonianempire 2020 年 4 月 13 日 下午 8:25 
Ja thank you!
slightly bad 2021 年 4 月 18 日 下午 8:30 
As of 3.0, this no longer works.
Dath 2021 年 4 月 21 日 上午 11:32 
Doesn't the "only_unbidden_this_time" flag disable the other two crises from happening? Or am I reading it wrong here?

As well as the factor = 0 on allowed_crisis_type = contingency and allowed_crisis_type = unbidden in the trigger for Prethoryn for example?
最后由 Dath 编辑于; 2021 年 4 月 21 日 上午 11:34
Ryuichiro  [开发者] 2021 年 4 月 21 日 下午 2:32 
True, the current crisis_trigger_events.txt is a bit weird with multiple 0 factor checks, which look like they try to catch the same cases. I updated the mod and simply removed them, lets hope it will not go up in flames. ^^

I updated the Head post with the info from your comment, @Dath.
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50