1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

Merge with K-Mod

Discussion in 'Civ4 - Final Frontier Plus' started by DarkLunaPhantom, Apr 16, 2017.

  1. DarkLunaPhantom

    DarkLunaPhantom Chieftain

    Joined:
    Feb 4, 2013
    Messages:
    275
    I've successfully merged Final Frontier Plus with K-Mod (more precisley with my modmod based on it). In case there is somebody else who is interested in trying this out, I'll upload the code soon after I finish a few more things.
    There are still a few minor issues that I want to take care of first, but currently it is fully playable and stable.

    For some time I've wanted to move solar systems from Python to DLL, so I'll probably try to do that next. I did this first because it seemed pointless to go through all that trouble only to end up with bad BTS AI. This way I can try to adjust karadoc's AI to solar systems.
    (Benefits of K-Mod are numerous even when it doesn't control solar systems; not only does it have much better AI, but also its DLL runs significantly faster, it contains countless OOS bugfixes and a large number of adjustments intended to make the interface, automation and other aspects of the game more player friendly and much less frustrating.)

    I'm actually posting this to try to get some help about one minor thing. K-Mod includes BBAI features including civ leaders' victory weights, so I need to enter some numbers for FFP leaders. For reference, here under "BBAI Victory Strategy" are BBAI/K-Mod victory weight's for BTS leaders. Those numbers influence how likely the leader is to go after specific victory condition. I think that all those weights follow the convention that their sum is 150 (except barbarian leader who has sum 0) and that they are a multiple of 5 between 0 and 70. I don't really know what should I pick there for FFP leaders so that it makes some ingame-universe-sense. Maybe finding a BTS leader with "similar" personality would be a good idea? I would appreciate some suggestions as they will probably be better than what I would pick myself.
     
    Last edited: Apr 23, 2017 at 10:41 PM
    Imp. Knoedel likes this.
  2. Imp. Knoedel

    Imp. Knoedel That's Imperator Knoedel.

    Joined:
    Nov 11, 2011
    Messages:
    7,560
    Location:
    Bergdeutschland
    I can't be bothered to come up with exact numbers, but I will give you my opinion on which victories at least should be favored and which put on the back-burner by each leader:

    Catherine Shapiro:
    To be honest, I think Shapiro is pretty opportunistic and wouldn't explicitly favor one victory over another. I don't think anything really fits her espionage theme, except maybe Influence to represent indirect cultural control over anyone else? Then again, her Civilopedia article (which is really all I have as a source) makes it pretty clear that she likes being in charge, and would probably favor being openly in power over just remaining the shadowy figure behind the scenes. Eh, just make her favor everything roughly equally and rank Human Ascendancy slightly below the rest, it's the only victory I can think of that can't somehow be handwaved as indirect behind-the-scenes or direct top-to-bottom control of the other factions. But then again, I guess it could be justified in a sort of Area 51 top secret science project to gain ultimate control over everything and everyone. So yeah, Conquest>Domination>Influence>Diplomatic>Human Ascendancy makes the most sense I think, but the differences should be pretty low, maybe just 5 or 10 between each.

    Hector Alvarez:
    I think he should be similar to Shapiro in that he has no clear preference, as there are many ways to demonstrate the superiority and universal right to rule that New Earth claims for itself. In fact, give him the same ranking and low differences as Shapiro, but with Conquest and Domination switched.

    John Richards:
    Domination>Conquest>Human Ascendancy>Influence>Diplomatic; He should have slightly greater differences between each victory than the previous two leaders, with the biggest jump from Influence to Diplomatic.

    Kanji Takeno:
    Same order as Richards but with Influence and Diplomatic switched; relatively even and low jumps between each as with Shapiro and Alvarez.

    Leonard Pritchard:
    Finally, a little variation! Clearly favors Diplomatic, followed by Influence and Human Ascendancy, then a very big drop down to Domination and Conquest, maybe even a 0 for both of them.

    Lu Tianqu:
    Human Ascendancy heads and shoulders above the rest, the ranking of the others doesn't really matter except perhaps that the peaceful ones should be slightly above Domination and Conquest.

    Lukas von Reuther:
    Domination>Influence>Conquest>Human Ascendancy>Diplomatic; again with pretty minor jumps between each.

    Raul Colombo:
    Give Conquest a very high value and Domination a slightly lower one, Influence and Human Ascendancy extremely low and Diplomatic a zero.

    Vladimir Korovin:
    Domination>Conquest>Influence>Diplomatic>Human Ascendancy; with small differences between each again.

    This was more difficult than I imagined, only 3 of 9 leaders seem to have a very clear preference, the rest is pretty muddy and will just go for whatever seems opportune I feel.
     
    DarkLunaPhantom likes this.
  3. DarkLunaPhantom

    DarkLunaPhantom Chieftain

    Joined:
    Feb 4, 2013
    Messages:
    275
    Thanks for your input! I'll reply to it soon, but first I want to share one of the weirdest thing I've ever seen in civ. I run automated games to see will they trigger any bugs/exceptions etc. and for days everything was ok, but this happened today:
    Spoiler :

    That's a 271GB save file.
     
    Imp. Knoedel likes this.
  4. Imp. Knoedel

    Imp. Knoedel That's Imperator Knoedel.

    Joined:
    Nov 11, 2011
    Messages:
    7,560
    Location:
    Bergdeutschland
    Wow, I knew Kmod AI was clever, but I didn't expect it to become the origin of the singularity. :lol: Oh well, time to welcome our new robot overlords. :borg:
     
  5. DarkLunaPhantom

    DarkLunaPhantom Chieftain

    Joined:
    Feb 4, 2013
    Messages:
    275
    I'll post what I picked (before reading your answer). I don't think that these influence AI strategy too much, AI will still go for victory conditions with 0 weight if it thinks that that is its best chance. It's better to think of weight 5 as 105% chance of normal likelihood of picking that victory condition than as 5% chance. So, these are not too important, but they add a nice additional flavor to AI personalities.

    First choice I made is that every leader will have one very high weight (70) victory condition to make it easier for me. I also understood Influence as "cultural influence" like in regular BTS.

    "... Catherine Shapiro shares a desire to see a strong human race, united and protected in the shadows by the technology her scientists are developing-- she just believes that the Watchers should be directly in charge rather than answerable to some government."

    I understood this as diplomatic solution being preferable as long as she is in charge and if that fails then domination/conquest.
    Code:
               <iCultureVictoryWeight>5</iCultureVictoryWeight>
               <iSpaceVictoryWeight>5</iSpaceVictoryWeight>
               <iConquestVictoryWeight>30</iConquestVictoryWeight>
               <iDominationVictoryWeight>40</iDominationVictoryWeight>
               <iDiplomacyVictoryWeight>70</iDiplomacyVictoryWeight>
    


    "... Alvarez believes that New Earth represents the true legitimate authority in the universe as a part of the Earth itself. As such, he feigns diplomacy with rebels over a more direct approach... non-loyal factions are in the way and require elimination.
    ... his goal is to make New Earth into a model society: an advanced bastion of technological research, with a universally-recognized culture and - if necessary - military might."

    Again, it sounds like he would be happy to be recognized as "the legitimate authority" and diplomatic vote for victory is exactly that.
    Code:
               <iCultureVictoryWeight>15</iCultureVictoryWeight>
               <iSpaceVictoryWeight>15</iSpaceVictoryWeight>
               <iConquestVictoryWeight>5</iConquestVictoryWeight>
               <iDominationVictoryWeight>45</iDominationVictoryWeight>
               <iDiplomacyVictoryWeight>70</iDiplomacyVictoryWeight>
    


    If influence is understood as cultural influence, I think that we're in agreement here.
    Code:
               <iCultureVictoryWeight>5</iCultureVictoryWeight>
               <iSpaceVictoryWeight>30</iSpaceVictoryWeight>
               <iConquestVictoryWeight>40</iConquestVictoryWeight>
               <iDominationVictoryWeight>70</iDominationVictoryWeight>
               <iDiplomacyVictoryWeight>5</iDiplomacyVictoryWeight>
    


    Influence is 0 because of the -50% influence penalty in leader trait.
    Code:
               <iCultureVictoryWeight>0</iCultureVictoryWeight>
               <iSpaceVictoryWeight>35</iSpaceVictoryWeight>
               <iConquestVictoryWeight>35</iConquestVictoryWeight>
               <iDominationVictoryWeight>70</iDominationVictoryWeight>
               <iDiplomacyVictoryWeight>10</iDiplomacyVictoryWeight>
    


    I think we're in agreement here.
    Code:
               <iCultureVictoryWeight>50</iCultureVictoryWeight>
               <iSpaceVictoryWeight>25</iSpaceVictoryWeight>
               <iConquestVictoryWeight>0</iConquestVictoryWeight>
               <iDominationVictoryWeight>5</iDominationVictoryWeight>
               <iDiplomacyVictoryWeight>70</iDiplomacyVictoryWeight>
    


    I think we're in agreement here.
    Code:
               <iCultureVictoryWeight>25</iCultureVictoryWeight>
               <iSpaceVictoryWeight>70</iSpaceVictoryWeight>
               <iConquestVictoryWeight>0</iConquestVictoryWeight>
               <iDominationVictoryWeight>5</iDominationVictoryWeight>
               <iDiplomacyVictoryWeight>50</iDiplomacyVictoryWeight>
    


    "... has brought him to the conclusion that the evils in this world can only be vanquished in bloody conflict where one side must be destroyed."

    This makes conquest a priority and influence is again understood as cultural influence.
    Code:
               <iCultureVictoryWeight>5</iCultureVictoryWeight>
               <iSpaceVictoryWeight>30</iSpaceVictoryWeight>
               <iConquestVictoryWeight>70</iConquestVictoryWeight>
               <iDominationVictoryWeight>45</iDominationVictoryWeight>
               <iDiplomacyVictoryWeight>0</iDiplomacyVictoryWeight>
    


    I gave ascendancy a higher weight because it is a corporation doing advanced research.
    Code:
               <iCultureVictoryWeight>5</iCultureVictoryWeight>
               <iSpaceVictoryWeight>35</iSpaceVictoryWeight>
               <iConquestVictoryWeight>70</iConquestVictoryWeight>
               <iDominationVictoryWeight>35</iDominationVictoryWeight>
               <iDiplomacyVictoryWeight>5</iDiplomacyVictoryWeight>
    


    "...he is known to be very friendly and accommodating, most likely for the purposes of convincing his potential business partners to want what he wants."

    This is why I gave a higher diplomatic weight.
    Code:
               <iCultureVictoryWeight>5</iCultureVictoryWeight>
               <iSpaceVictoryWeight>10</iSpaceVictoryWeight>
               <iConquestVictoryWeight>20</iConquestVictoryWeight>
               <iDominationVictoryWeight>70</iDominationVictoryWeight>
               <iDiplomacyVictoryWeight>45</iDiplomacyVictoryWeight>
    

    Again, these numbers are not too important, they're almost not worth writing a post as long as this one, but I'm more than willing to spend time on these kind of things.
     
    Imp. Knoedel likes this.
  6. Imp. Knoedel

    Imp. Knoedel That's Imperator Knoedel.

    Joined:
    Nov 11, 2011
    Messages:
    7,560
    Location:
    Bergdeutschland
    AstroTech Corporation is a weapons research and development corporation though, not just science in general.
     

Share This Page