1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

[BtS 3.19 Mod] Culturally Linked Starts

Discussion in 'Civ4 - Mod Components' started by Jean Elcard, Sep 10, 2008.

  1. Jean Elcard

    Jean Elcard The Flavournator

    Joined:
    Feb 26, 2006
    Messages:
    1,008
    Location:
    Leipzig, Germany
    If you know how to merge code into the dll source code files and how to compile the dll afterwards, you can add it to any mod you want.

    EDIT: If the other mod you want to use it with isn't a mod coming with its own dll you don't even need to know how to do the stuff mentioned above. To copy the CLS source files into the other mods directory would be all you would have to do to make it work (in most cases).
     
  2. Pongu

    Pongu Chieftain

    Joined:
    Dec 2, 2008
    Messages:
    23
    Fair enough.

    Rise of Mankind is meant to be active during map generation so I'm hoping somebody will do the merge and upload it.
     
  3. NP300

    NP300 Prince

    Joined:
    May 18, 2004
    Messages:
    402
    Location:
    North America
    Hi,

    This mod appears to only be available through the installer. Is there any way to look at the source code without actually installing the mod?

    Thanks.
     
  4. Jean Elcard

    Jean Elcard The Flavournator

    Joined:
    Feb 26, 2006
    Messages:
    1,008
    Location:
    Leipzig, Germany
    There is. Run the installer, but do only chose the option "Source Code" on the "Choose Components" page. It'll unzip all the files to any location you want. It doesn't change your registry or add an uninstaller or stuff like this.
     
  5. NP300

    NP300 Prince

    Joined:
    May 18, 2004
    Messages:
    402
    Location:
    North America
    Yes, that works. I have Vista and I got the elevation prompt. I was worried it would install the whole mod, and not have an option for just the source.

    Anyway, it seems like a great mod. I'll be checking it out.
     
  6. NP300

    NP300 Prince

    Joined:
    May 18, 2004
    Messages:
    402
    Location:
    North America
    Jean Elcard,

    I have also been experimenting with the Flavour mod by lumpthing:http://forums.civfanatics.com/showthread.php?t=251580

    I understand it is based on code you wrote for Fall From Heaven.

    I'm wondering what exactly happens if I use the culturally linked starts option on a map script modified for Earth Flavour. Will one of the mods undo what the other did? Or could they compliment each other? Could it result in culturally-linked starts where, for example, Arabia is more likely to start near deserts?
     
  7. Jean Elcard

    Jean Elcard The Flavournator

    Joined:
    Feb 26, 2006
    Messages:
    1,008
    Location:
    Leipzig, Germany
    Lumpthing's mod is based on a very old version of FlavourMod made originally by dreiche2. The current much improved! version of it (link) is a total rewrite done by me in spring this year.

    FlavourMod and CLS wouldn't do well together. Both run an optimization algorithm but with very different goals. As you suspected already, one mod would undo the work of the other, because both are switching around starting positions to reach their own goal. To optimize both criteria would involve a lot of heavy coding.
     
  8. Bad Player

    Bad Player Deity

    Joined:
    Oct 31, 2005
    Messages:
    3,532
    Location:
    (Bris)Vegas!
    It'd be great if you could update your mod with the latest better AI version! :please:
     
  9. Bad Player

    Bad Player Deity

    Joined:
    Oct 31, 2005
    Messages:
    3,532
    Location:
    (Bris)Vegas!
    OK I just copied and replaced most files but left the dll untouched... I'll see how that goes now...
     
  10. Jean Elcard

    Jean Elcard The Flavournator

    Joined:
    Feb 26, 2006
    Messages:
    1,008
    Location:
    Leipzig, Germany
    @BadPlayer: I promise to update it as soon as I have finsihed another project I'm still working on. The dll changes ar absolutely necessary.
     
  11. Beornhard

    Beornhard Chieftain

    Joined:
    May 16, 2009
    Messages:
    55
    Does this mod make civilizations like the Portuguese and the Deutsh to start nearer the sea, like Earth Flavour did, in order to make better use of their UUs and UBs?
     
  12. Jean Elcard

    Jean Elcard The Flavournator

    Joined:
    Feb 26, 2006
    Messages:
    1,008
    Location:
    Leipzig, Germany
    No it doesn't. It's "only" about distances and neighbourhood. Not that it would be impossible to restrict some civs to coastal starts or at least give them a tendency towards starts like this, but I have no plans to change this behaviour any time soon.
     
  13. Jean Elcard

    Jean Elcard The Flavournator

    Joined:
    Feb 26, 2006
    Messages:
    1,008
    Location:
    Leipzig, Germany
    Just uploaded an updated version of Culturally Linked Starts, which is working with the new Beyond the Sword Patch 3.19. Get it from the first post.

    EDIT1: Would somebody be interested in getting giant sized maps from any map script? I could import this from another mod of mine or release it as a stand alone.

    EDIT2: If a moderator is reading this. Would you please change the 3.17 in the thread's name to a 3.19. Thanks a lot.
     
  14. Jean Elcard

    Jean Elcard The Flavournator

    Joined:
    Feb 26, 2006
    Messages:
    1,008
    Location:
    Leipzig, Germany
    Finally done for Better BTS AI 0.78. Go to the first post to get the download link.
     
  15. LemonTea

    LemonTea Chieftain

    Joined:
    Jul 4, 2009
    Messages:
    11
    Location:
    Poland
    Thanks Jean. This mod is pretty simple but it adds so much to the atmosphere of the game. I'm hoping other mods like RevolutionDCM will incorporate it.

    Also, any chance of you releasing a version of CLS with Better AI and BUG?
     
  16. cybrxkhan

    cybrxkhan Asian Xwedodah

    Joined:
    Aug 10, 2006
    Messages:
    9,687
    Location:
    The Universe
    Thanks for this, it should have been done since the very beginning; it's definitely going into WoL.

    However, I do have a question, which may have been asked before: The culturally linked starts are based on the city culture, not the unit art culture, right? If that makes any sense? Or is it based on something else? (i.e., if I change China's city art culture to "Meditteranean" in the XML, does that mean it'd pop up with Egypt and Byzantium on the map, or do I have to go into the python or something else to change that?)
     
  17. Ninja2

    Ninja2 Great Engineer

    Joined:
    Nov 17, 2005
    Messages:
    1,142
    Location:
    Denmarkia
    It's actually based on real geography. If you want to add a new civ, you must enter the real life coordinates of the capital into a list in a python file, IIRC.
     
  18. Psycadelic_Magi

    Psycadelic_Magi Hippie/Philosopher/Peanut

    Joined:
    Apr 13, 2006
    Messages:
    237
    Location:
    Northeast England
    So if I wanted to combine this mod with say, varietas delectat, which doesnt have its own dll; would I have to just copy the files in 'assets' to their appropiate places in VD? Or would I have to do something else with the other files included in the 'CLS SDK' folder? (I'm no modder, i dont really know what im doing :p i can just about manage copy + paste most of the time)
     
  19. Jean Elcard

    Jean Elcard The Flavournator

    Joined:
    Feb 26, 2006
    Messages:
    1,008
    Location:
    Leipzig, Germany
    You are right, in case of a non-SDK mod you just have to copy the CLS SDK files to the appropriate places in the Assets folder of the mod of your liking. If it doesn't ask you to overwrite something in the process, then it should work together with this mod.
     
  20. Cybah

    Cybah Emperor

    Joined:
    Jun 22, 2007
    Messages:
    1,480
    any idea why a mod crashes when using bigger map sizes (bigger than huge) ?

    nevermind... seems to be another problem.
     

Share This Page