Giter Site home page Giter Site logo

[Compatable Problem] Incompatable with CIVITAS City-States Expanded, breaking the city states panel about cqui_community-edition HOT 3 CLOSED

wzy9607 avatar wzy9607 commented on August 28, 2024
[Compatable Problem] Incompatable with CIVITAS City-States Expanded, breaking the city states panel

from cqui_community-edition.

Comments (3)

alexeyOnGitHub avatar alexeyOnGitHub commented on August 28, 2024

I am not sure it is practically possible to maintain CQUI compatibility with multiple other plugins.
I believe the mod maintainers should focus on the mod itself and its compatibility with the base game.
as much as I would want to have peace in the world and all mods to play together nicely,
attempting to support a combinatoric explosion of possible mods combinations would be cost-prohibitive.

tagging @alimulhuda and @the-m4a - what is your opinion, guys?

from cqui_community-edition.

alimulhuda avatar alimulhuda commented on August 28, 2024

I agree that it is not going to be practical to maintain compatibility with everything. Right now I think we can look at requests like this on a case-by-case basis and if we have time see if we can sometimes at least offer some help.

In the case of this one, I'm not sure if we should do anything on CQUI to fix it. It appears there's two things that conflict between CQUI and CIVITAS. The city state screen and the trade route overview screen. It might be possible to fix things by changing the order in which the mod files get loaded. The CQUI will load those conflicting files after CIVITAS and this seems to be causing the issue. I don't think CQUI load order should be lowered enough for CIVITAS to work, but it is possible to increase the load order for CIVITAS to maybe fix things. I only quickly tried this out so there might be issues.

  1. Edit CIVITAS City-States.modinfo (If installed via workshop it should be in C:\Program Files (x86)\Steam\steamapps\workshop\content\289070\1331757859)
  2. Find the section that looks like the part below (the only difference should be the LoadOrder values) and modify LoadOrder to match the section below
    <ImportFiles id="CSE_Import">
      <Properties>
        <LoadOrder>250</LoadOrder>
      </Properties>
      <File>Core/Utilities/UI Replacements/CityStates.lua</File>
      <File>Core/Utilities/UI Replacements/CivilopediaPage_CityState.lua</File>
      <File>Core/Utilities/UI Replacements/CityStates.xml</File>
    </ImportFiles>
    <ReplaceUIScript id="CSE_CityStates_UI">
      <Properties>
        <LoadOrder>250</LoadOrder>
        <LuaContext>CityStates</LuaContext>
        <LuaReplace>Core/Utilities/UI Replacements/CityStates.lua</LuaReplace>
      </Properties>
    </ReplaceUIScript>
    <ReplaceUIScript id="CSE_TradeOverview_UI">
      <Properties>
        <LoadOrder>250</LoadOrder>
        <LuaContext>TradeOverview</LuaContext>
        <LuaReplace>Core/Utilities/UI Replacements/TradeOverview.lua</LuaReplace>
      </Properties>
    </ReplaceUIScript>
    <ImportFiles id="CSE_Import_Gov">
      <Properties>
        <LoadOrder>251</LoadOrder>
      </Properties>
      <Criteria>XP1</Criteria>
      <File>Core/Utilities/UI Replacements/XP1/CityStates_Expansion1.lua</File>
      <File>Core/Utilities/UI Replacements/XP1/CityStates.xml</File>
    </ImportFiles>
    <ReplaceUIScript id="CSE_CityStates_UI_Gov">
      <Properties>
        <LoadOrder>251</LoadOrder>
        <LuaContext>CityStates</LuaContext>
        <Criteria>XP1</Criteria>
        <LuaReplace>Core/Utilities/UI Replacements/XP1/CityStates_Expansion1.lua</LuaReplace>
      </Properties>
    </ReplaceUIScript>

I tried it with this change and I was not able to reproduce the issue mentioned. Personally I think that CQUI might be too big to accommodate changes like this. It might be better for the people having issues to contact CIVITAS and ask them if it's possible for the load order to be increased.

from cqui_community-edition.

wzy9607 avatar wzy9607 commented on August 28, 2024

Thanks. It works for me, too. I'll try reach CIVITAS team to see if it's possible for them to increase load order.

from cqui_community-edition.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.