安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






The equation was moved to the getter a long time ago, I didn't know how to use harmony on getter back then :P
@Cardinal_Z if your want my code, I'd be happy to give it to you.
{
double num = 4.49788037409348;
return Mathd.Max(Mathd.Clamp(num + Mathd.Max(-num, -0.418190741 * (double)this.nation.education) + -0.0624798523403752 * (double)this.nation.cohesion + 9.80843732089162E-06 * (double)Mathf.Min(180000f, this.nation.perCapitaGDP) + -0.115739931206548 * (double)Mathf.Sqrt(Mathf.Abs(this.latitude)) + (double)((this.annualPopGrowthModifier + this.nation.template.popGrowthModifier) * Mathf.Max(0f, (25f - TITimeState.CampaignDuration_years_Exact()) / 25f)) - (double)(this.xenoforming.xenoformingLevel / 200f) - (double)(this.nuclearDetonations * 4), -10.0, 10.0) - (double)(Math.Max(0f, Mathf.Abs(GameStateManager.GlobalValues().temperatureAnomaly_C) - 8f) * ((this.template.environment == EnvironmentType.Beneficiary) ? 0.5f : ((this.template.environment == EnvironmentType.Vulnerable) ? 2f : 1f))), -100.0) * 0.01;
}
also some stuff was added to the equation
The equation where the pop growth modifier is calculated has been moved to a variable with a getter function. The part where the Education modifier is calculated is done in a Mathd.Max(). You should be able to set the desired maximum by reducing the first parameter's value from:
[0 - 4.49788037409348]
to something else.
---
For the mod author. It appears that ModifyGDP() has been renamed, removed, or its parameters changed:
MissingMethodException: void PavonisInteractive.TerraInvicta.TINationState.ModifyGDP(double)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.PavonisInteractive.TerraInvicta.TIRegionState.GrowPopulationByMonth_Patch1(PavonisInteractive.TerraInvicta.TIRegionState)
at PavonisInteractive.TerraInvicta.TINationState.MonthlyNationUpdate (System.Single eyes) [0x00261] in <fc64ee07b6424672ad1bcb59c1f0c3e5>:0
at
at PavonisInteractive.TerraInvicta.Systems.PeriodicUpdates.NationPeriodicUpdate.OnUpdate () [0x00054] in <fc64ee07b6424672ad1bcb59c1f0c3e5>:0
at Unity.Entities.ComponentSystem.InternalUpdate () [0x0002b] in <71a923f2243a46869ff8bc8b0adc1c52>:0
at Unity.Entities.ScriptBehaviourManager.Update () [0x00000] in <71a923f2243a46869ff8bc8b0adc1c52>:0
at Unity.Entities.ScriptBehaviourUpdateOrder+DummyDelagateWrapper.TriggerUpdate () [0x00000] in <71a923f2243a46869ff8bc8b0adc1c52>:0
The crash that some people are experiencing should be solely due to the change in AddToEducation method. The second argument is required in the validation release but not in the official release.
I will change the description immediately...
that's not the issue of course, but you need to opt into the beta just for UMM to work properly.
I don't have this problem.
Although my game crashed on startup due to UnityModManager.
But since your game crashes on play, the file “steamapps\common\Terra Invicta\Logs\TerraInvicta.log” can help you figure out the problem. Pay special attention to the [ERROR] lines
The reason is pretty simple. Well educated people calculate costs of having kids, consider the effect those kids will have on their life, have better sex education regarding preservatives and have plenty different hobbies entertainment.
Poor people with low education usually have bad sex education, live in unstable families, and the only available free entertainment is dance and sex (And most of the poor countries dances are very sexualized)
In terms of the game, though, I like the idea of this mod.
Countries with lower political stability have a tendency to have very high birth rates (Not a rule, Iran is an easier exception to point out), though it's different across each country - sometimes to very wild degrees. That said, there's a bit of logic to it - people generally want a safety net for themselves as they get older, it's why pensions are a thing - saving up so you have something to fall back on when you get older. If you can't rely on the existing systems and government because the country is more or less at war with itself, then you rely on having kids so they can provide that safety net and take care of you when you're too old to do so yourself.