When we find a bug, we report it. But sometimes bug reports slip under the attention of devs, sometimes a bug noted takes ages to fix. So I grow inpatient, try to fix something by myself. As fixes accumulate, I think it's time to claim the title of Unofficial Patch.
steam workshop link: Risa's Unofficial Patch to 1.9.x
Achievements and Compatibility: This mod is written to replace core game rule files (those in common and event folders), so it will disable achievements. It is compatible with any mod who does not alter game rule files. (That is, any mod that does not disable achievements.) It is also compatible with mods who only extend game rules but not alter them. It will probably conflict with mods who also alter core game rule files.
Detailed Fix List:
Legend:
[Major] means some fix I think important.
[Balance] means it is partially bug fix and partially balance change. Pure balance tweak is not in scope of this mod.
# General Mechanics #
- Apply workaround to all diplomatic events, so that clicking close button no longer breaks the event's intended functionality. The actual bug lies in hard code and is beyond power of mod.
- Fix the bug that some special projects trigger event for wrong country, if the project's assigned planet changes owner before project completion. The most serious ones includes non-syntheic-ascended country (even Contingency!) gets cybernetic / synth species change, or non-psionic-ascended country gets access to shroud. This fix is done by changing the way how those special projects are issued. So it doesn't change behaviors of those projects already issued in an ongoing game.
# [Major] Fallen Empire and War in Heaven #
- Fix oversight of possible existence of crisis defender AFE in War in Heaven events, which can lead to chaotic and erroneous WiH.
- Make sure LNAP's leader lose its right when it leaves LNAP.
- Fix some other minor errors in War in Heaven.
- Fix some minor errors in fallen empire quest events.
# [Major] Precursor quest chain #
- Fix all bugs in precursor quest chain, primarily in locating and researching their home system, and also in generating new precursor artifacts to research. This part of mod is also released separately as a mini-mod ( http://steamcommunity.com/sharedfiles/filedetails/?id=867704361 ). See there details of bugs and fixes. Subscribers of this mod have no need to use that mini-mod, as all fixes are already here.
# Crisis events #
- Fix Sentinel fleet generation and Sentinel diplomacy options. Also make Prethoryn initial warning target correct systems.
- Prethoryn now destroys habitats when purge is completed, so that it won't colonize empty habitats, to turn them into infested planets.
- Slightly alter the structure of crisis beginning and ending events, so they won't be broken by custom government forms from other mods.
- Fix some minor issues in Contingency events.
# Horizon Signal events #
- Fix Horizon Signal event chain breaking technosphere event chain.
- [Balance] Tweak reward of event chain's ending (akx.10020), so that it's more reasonable.
- Fix one option of event akx.9310 having wrong name, thus failing localization.
# Technology #
- Fix some techs' drawing weight and ai weight which check wrong scientist in wrong department of research.
- Make tech_psionic_shield unsalvageable, like other psionic techs.
- Re-enable tech_sapient_ai for machine empire, to restore their tech tree integrity.
# Solar System Initializers #
- Fix minor errors in fallen empire system initializers.
- [Balance] Make some moons in some general solar systems that are dominated by gas giants with many moons (basic_init_03) potentially habitable.
- [Balance] Make sure those habitable planets in Enigmatic Fortress system are at least size 10.
# Planet, Planet Modifier, and Megastructure #
- Fix some planet modifier missing reference to alpine and savannah planet type.
- [Balance] Tweak the cost and time of terraforming barren / cold barren planets, so that they make sense.
- Remove capital modifier when the planet is no longer capital.
- Include pc_machine in colonizeable_planet scripted trigger (because it is colonizeable), so that you can't build habitat over it.
# Building #
- Fix habitat's capital building not getting extra unity from expansion tradition.
# Ship Behavior #
- Fix battleship formation behavior so that they correctly stay at max range.
# Ethic and Pop faction #
- Fix indoctrination has wrong effects
- Fix IMPERIALIST_SLAYER, SUPREMACIST_GIANT_MASSACRE, and XENOIST_RECENT_ENLIGHTENMENT demand, so you won't lose them if you complete the last quest of their kind.
- Fix ISOLATIONIST_NO_AGGRESSIVE_WAR and ISOLATIONIST_NO_DEFENSIVE_WAR, so the effect matches their description.
# Leader #
- Fix nervous and unstable_code_base trait, so they're correctly admiral traits, as advertised.
# Species rights #
- Fix a bug on assimilation species right policy, problems including cybernetic empire able to assimilate machine units, and biological ascended empire not able to assimilate hivemind drones.
# Anomalies and their events #
- Fix anomaly Projecting Moon, The Ransomeers, and Ancient Battlefield, so that they can spawn now.
- Fix event anomaly.3127, award energy deposits instead of betharian stone.
- Fix a minor error in event anomaly.4046
- Fix the AI admiral given by anomaly.4030 not correctly classified as Synthetic.
- Rewrite Gas Giant Civilization event chain, make it more robust.
- Fix a mostly harmless bug in anomaly Crystal Manufactory chain, that admiral can get computing expertise trait.
# Other events #
- Fix no-name-no-portrait bug in pop self modification event.
- Fix some event chains not checking location of their PoIs / special projects actually exist or not.
- Fix Mining drone survey chain stuck.
- Fix event colony.183 (Asteroid impact), so that no "magical safe pop number".
- Fix some potential bugs in event chain subterranean civilization.
- Remove observation outpost when the primitive civilization it observes is destroyed.
- Fix titanic life tile blocker set-up event not firing when playing with no tutorial.
- Fix event colony.1504 adding inaccessible mineral deposits to uninhabitable moon, instead of to planet itself as event text indicated.
- Disable tomb world colony events for those being converted into tomb worlds by other events.
- Fix becoming artist's patron not gaining relation boost.
- Fix patron renewal event not scaling cost to your empire size. Also, fixed so patron renewal event won't happen if artist ignores you.
- Fixed so destroying artist's station makes them always ignore you and reduce your relation with them.
- Fix one option's condition of event guardian.1061
- Fixed so blasting enigmatic fortress won't transform your ringworld and/or habitat in that system into molten planets.
- Fix event colony.2018 (Odd factory break), so that it functions as its text indicated.
- Fix event nomad.4 (Nomad settle in) not consider hive mind correctly. Make it also exclude non-servitor machine empire.
- Prevent observation events that may change planet's class from happening on ringworlds.
- Fix some event generated leaders not getting leader traits from cybernetic / synthetic / psionic racial traits.
- Remove abandoned_terraforming modifier left by abandoned terraforming event chain, when you later manually terraform that planet. Also, make the event chain not triggerable on planet already terraformed.
- Fix a bug in cultist event chain that sometimes no cultist fleet is spawned.
- Introduce a curator research agreement renewal event, just like strategic resource trade renewal of trader enclave and patron renewal of artist enclave.
- Fix servitor's morale calculation, so that when its bio-trophy percentage is changed to between 1% and 9% from other ranges, modifiers of other ranges are correctly removed.
- Fix difficulty references in events, to accommodate new very hard difficulty.
- Fix dragon slaying event for gestalt consciousness.
- Fix enigmatic fortress chain for gestalt consciousness.
- Tweak so refugees won't move to planet under occupation. Also pop should not migrate to planet under occupation of crises.
- Fix trigger error of event syndaw.540 (in event syndaw.401), syndaw.521, syndaw.522.
- Fix so you can no longer get mining drone processing hub special project if the hub station is already gone when you first enter the system.
- Cancel shielded planet project when it's opened by another empire.
- [Balance] Add more ships to pirate fleet in ancient drone event chain (colony.1512~1514), so a lone spaceport isn't guaranteed to win any more.
==========
If you find anything wrong in my fix, please tell me in reply here. If you find bug in vanilla game, please report it to official bug report forum. I'll check there from time to time to see if there are some bugs fixable by modding.
You are welcome to merge fixes you like into your own project, as long as giving proper credit.
==========
Due to steamcommunity (therefore, steam workshop) is recently blocked in China, I have to suspend further update. I'll see if situation improves, or if I need to invest some tunneling tool.
steam workshop link: Risa's Unofficial Patch to 1.9.x
Achievements and Compatibility: This mod is written to replace core game rule files (those in common and event folders), so it will disable achievements. It is compatible with any mod who does not alter game rule files. (That is, any mod that does not disable achievements.) It is also compatible with mods who only extend game rules but not alter them. It will probably conflict with mods who also alter core game rule files.
Detailed Fix List:
Legend:
[Major] means some fix I think important.
[Balance] means it is partially bug fix and partially balance change. Pure balance tweak is not in scope of this mod.
# General Mechanics #
- Apply workaround to all diplomatic events, so that clicking close button no longer breaks the event's intended functionality. The actual bug lies in hard code and is beyond power of mod.
- Fix the bug that some special projects trigger event for wrong country, if the project's assigned planet changes owner before project completion. The most serious ones includes non-syntheic-ascended country (even Contingency!) gets cybernetic / synth species change, or non-psionic-ascended country gets access to shroud. This fix is done by changing the way how those special projects are issued. So it doesn't change behaviors of those projects already issued in an ongoing game.
# [Major] Fallen Empire and War in Heaven #
- Fix oversight of possible existence of crisis defender AFE in War in Heaven events, which can lead to chaotic and erroneous WiH.
- Make sure LNAP's leader lose its right when it leaves LNAP.
- Fix some other minor errors in War in Heaven.
- Fix some minor errors in fallen empire quest events.
# [Major] Precursor quest chain #
- Fix all bugs in precursor quest chain, primarily in locating and researching their home system, and also in generating new precursor artifacts to research. This part of mod is also released separately as a mini-mod ( http://steamcommunity.com/sharedfiles/filedetails/?id=867704361 ). See there details of bugs and fixes. Subscribers of this mod have no need to use that mini-mod, as all fixes are already here.
# Crisis events #
- Fix Sentinel fleet generation and Sentinel diplomacy options. Also make Prethoryn initial warning target correct systems.
- Prethoryn now destroys habitats when purge is completed, so that it won't colonize empty habitats, to turn them into infested planets.
- Slightly alter the structure of crisis beginning and ending events, so they won't be broken by custom government forms from other mods.
- Fix some minor issues in Contingency events.
# Horizon Signal events #
- Fix Horizon Signal event chain breaking technosphere event chain.
- [Balance] Tweak reward of event chain's ending (akx.10020), so that it's more reasonable.
- Fix one option of event akx.9310 having wrong name, thus failing localization.
# Technology #
- Fix some techs' drawing weight and ai weight which check wrong scientist in wrong department of research.
- Make tech_psionic_shield unsalvageable, like other psionic techs.
- Re-enable tech_sapient_ai for machine empire, to restore their tech tree integrity.
# Solar System Initializers #
- Fix minor errors in fallen empire system initializers.
- [Balance] Make some moons in some general solar systems that are dominated by gas giants with many moons (basic_init_03) potentially habitable.
- [Balance] Make sure those habitable planets in Enigmatic Fortress system are at least size 10.
# Planet, Planet Modifier, and Megastructure #
- Fix some planet modifier missing reference to alpine and savannah planet type.
- [Balance] Tweak the cost and time of terraforming barren / cold barren planets, so that they make sense.
- Remove capital modifier when the planet is no longer capital.
- Include pc_machine in colonizeable_planet scripted trigger (because it is colonizeable), so that you can't build habitat over it.
# Building #
- Fix habitat's capital building not getting extra unity from expansion tradition.
# Ship Behavior #
- Fix battleship formation behavior so that they correctly stay at max range.
# Ethic and Pop faction #
- Fix indoctrination has wrong effects
- Fix IMPERIALIST_SLAYER, SUPREMACIST_GIANT_MASSACRE, and XENOIST_RECENT_ENLIGHTENMENT demand, so you won't lose them if you complete the last quest of their kind.
- Fix ISOLATIONIST_NO_AGGRESSIVE_WAR and ISOLATIONIST_NO_DEFENSIVE_WAR, so the effect matches their description.
# Leader #
- Fix nervous and unstable_code_base trait, so they're correctly admiral traits, as advertised.
# Species rights #
- Fix a bug on assimilation species right policy, problems including cybernetic empire able to assimilate machine units, and biological ascended empire not able to assimilate hivemind drones.
# Anomalies and their events #
- Fix anomaly Projecting Moon, The Ransomeers, and Ancient Battlefield, so that they can spawn now.
- Fix event anomaly.3127, award energy deposits instead of betharian stone.
- Fix a minor error in event anomaly.4046
- Fix the AI admiral given by anomaly.4030 not correctly classified as Synthetic.
- Rewrite Gas Giant Civilization event chain, make it more robust.
- Fix a mostly harmless bug in anomaly Crystal Manufactory chain, that admiral can get computing expertise trait.
# Other events #
- Fix no-name-no-portrait bug in pop self modification event.
- Fix some event chains not checking location of their PoIs / special projects actually exist or not.
- Fix Mining drone survey chain stuck.
- Fix event colony.183 (Asteroid impact), so that no "magical safe pop number".
- Fix some potential bugs in event chain subterranean civilization.
- Remove observation outpost when the primitive civilization it observes is destroyed.
- Fix titanic life tile blocker set-up event not firing when playing with no tutorial.
- Fix event colony.1504 adding inaccessible mineral deposits to uninhabitable moon, instead of to planet itself as event text indicated.
- Disable tomb world colony events for those being converted into tomb worlds by other events.
- Fix becoming artist's patron not gaining relation boost.
- Fix patron renewal event not scaling cost to your empire size. Also, fixed so patron renewal event won't happen if artist ignores you.
- Fixed so destroying artist's station makes them always ignore you and reduce your relation with them.
- Fix one option's condition of event guardian.1061
- Fixed so blasting enigmatic fortress won't transform your ringworld and/or habitat in that system into molten planets.
- Fix event colony.2018 (Odd factory break), so that it functions as its text indicated.
- Fix event nomad.4 (Nomad settle in) not consider hive mind correctly. Make it also exclude non-servitor machine empire.
- Prevent observation events that may change planet's class from happening on ringworlds.
- Fix some event generated leaders not getting leader traits from cybernetic / synthetic / psionic racial traits.
- Remove abandoned_terraforming modifier left by abandoned terraforming event chain, when you later manually terraform that planet. Also, make the event chain not triggerable on planet already terraformed.
- Fix a bug in cultist event chain that sometimes no cultist fleet is spawned.
- Introduce a curator research agreement renewal event, just like strategic resource trade renewal of trader enclave and patron renewal of artist enclave.
- Fix servitor's morale calculation, so that when its bio-trophy percentage is changed to between 1% and 9% from other ranges, modifiers of other ranges are correctly removed.
- Fix difficulty references in events, to accommodate new very hard difficulty.
- Fix dragon slaying event for gestalt consciousness.
- Fix enigmatic fortress chain for gestalt consciousness.
- Tweak so refugees won't move to planet under occupation. Also pop should not migrate to planet under occupation of crises.
- Fix trigger error of event syndaw.540 (in event syndaw.401), syndaw.521, syndaw.522.
- Fix so you can no longer get mining drone processing hub special project if the hub station is already gone when you first enter the system.
- Cancel shielded planet project when it's opened by another empire.
- [Balance] Add more ships to pirate fleet in ancient drone event chain (colony.1512~1514), so a lone spaceport isn't guaranteed to win any more.
==========
If you find anything wrong in my fix, please tell me in reply here. If you find bug in vanilla game, please report it to official bug report forum. I'll check there from time to time to see if there are some bugs fixable by modding.
You are welcome to merge fixes you like into your own project, as long as giving proper credit.
==========
Due to steamcommunity (therefore, steam workshop) is recently blocked in China, I have to suspend further update. I'll see if situation improves, or if I need to invest some tunneling tool.
Last edited:
- 1
- 1