Emigration

Discussion in 'Civ5 - Mod Components' started by killmeplease, Oct 6, 2010.

  1. trystero49

    trystero49 Prince

    Joined:
    Apr 30, 2012
    Messages:
    515
    OK. Merry Christmas & Happy New Year.
     
  2. killmeplease

    killmeplease Mk Z on Steam

    Joined:
    Nov 22, 2007
    Messages:
    2,794
    Location:
    Samara
    thanks!
    merry christmas to you too
    and thanks for your help and feedback!
     
  3. Drawmeus

    Drawmeus Emperor

    Joined:
    Jul 25, 2007
    Messages:
    1,213
    If nothing else, I will likely do that within 1-3 months. If I remember (or someone reminds me), I can post those files for killmeplease to integrate.
     
  4. killmeplease

    killmeplease Mk Z on Steam

    Joined:
    Nov 22, 2007
    Messages:
    2,794
    Location:
    Samara
    i would be greateful for that
     
  5. Drawmeus

    Drawmeus Emperor

    Joined:
    Jul 25, 2007
    Messages:
    1,213
    As long as you don't mind the wait - I won't be doing it until I need it, which is quite a ways down the line.
     
  6. trystero49

    trystero49 Prince

    Joined:
    Apr 30, 2012
    Messages:
    515
    I actually already did it for myself. It works, but there may be some bugs I have missed, so I will keep on testing.
     
  7. Aerolight

    Aerolight Chieftain

    Joined:
    Sep 16, 2012
    Messages:
    45
    Mistaken.
    BTW when calcurating propersity value are the fractors add together or mutliply together?
     
  8. killmeplease

    killmeplease Mk Z on Steam

    Joined:
    Nov 22, 2007
    Messages:
    2,794
    Location:
    Samara
    great news!

    they add.
    say you have 10 happiness, 20 policies and freedom is among them, and your city has 10 avg output per citizen
    prosperity for that city will be 1+1+1+2=5
     
  9. 3335d

    3335d CCtP Player

    Joined:
    Jun 15, 2012
    Messages:
    642
    @killmeplease, would you be able to halve the prosperity value for foreign cities? Emigration to outside is much harder than movement within a country.
     
  10. killmeplease

    killmeplease Mk Z on Steam

    Joined:
    Nov 22, 2007
    Messages:
    2,794
    Location:
    Samara
    in the mod, when a citizen desides to emigrate, distance is considered for foreign cities
    while all the domestic cities are regarded as being at the minimum distance of 4.
    so internal migration is more likely (if there are worthy cities to move to)
     
  11. Victorzza

    Victorzza Chieftain

    Joined:
    Feb 27, 2012
    Messages:
    5
    Location:
    Russia
    It would be good to put the date of latest release on download page (http://forums.civfanatics.com/downloads.php?do=file&id=15736) as many modders do. Otherwise you can think that Emigration mod was uploaded on Oct 30, 2010 and never updated (thus, incompatible with later virsions and G&K).

    Thank you.
     
  12. skodkim

    skodkim Deity

    Joined:
    Jan 16, 2004
    Messages:
    2,373
    Location:
    Denmark
    Hi Killmeplease

    Just wanted to say that I'm currently playing my first game with v4 and so far enjoying it a lot (still classical age)! :king:

    Increased the cooldown turns factor a bit though as I felt it occured a bit too often. Making the setting so easlily editible is a great feature!

    Just one quesion though: Is there a way I can divide the influence from culture yields by two? The reason I'm asking is that I'm using the mod with GEM (requred a small tweak concerning ages) and GEM doubles all culture yield outputs.

    Once again :goodjob:

    \Skodkim
     
  13. killmeplease

    killmeplease Mk Z on Steam

    Joined:
    Nov 22, 2007
    Messages:
    2,794
    Location:
    Samara
    Victorzza, thanks for pointing it out! will do

    Skodkim, you should edit Emigration.lua for that, GetProsperity function. The change is very simple, find this line:
    and replace it with
    ;)
     
  14. skodkim

    skodkim Deity

    Joined:
    Jan 16, 2004
    Messages:
    2,373
    Location:
    Denmark
    Thanks!

    \Skodkim
     
  15. JA_Lamb

    JA_Lamb Warlord

    Joined:
    Aug 19, 2009
    Messages:
    250
    Location:
    The changing Dark Continent
    Hi, a bit confused, is v4 G+K compatible and not Civ5 vanilla compatible? If so the last vanilla compatible is v3, correct?
     
  16. killmeplease

    killmeplease Mk Z on Steam

    Joined:
    Nov 22, 2007
    Messages:
    2,794
    Location:
    Samara
    yes. v3 is for vanilla and v4 is for GnK. iirc there also is a GnK-compatible v3 posted somewhere at the last pages of this topic.
     
  17. Nor Me

    Nor Me Chieftain

    Joined:
    Feb 22, 2003
    Messages:
    50
    Is gold output included in the prosperity rating?

    Looking at the code, I can see where you add food, production and science but not gold.
     
  18. killmeplease

    killmeplease Mk Z on Steam

    Joined:
    Nov 22, 2007
    Messages:
    2,794
    Location:
    Samara
    0 - food
    1 - prod
    2 - gold
    3 - science
     
  19. Nor Me

    Nor Me Chieftain

    Joined:
    Feb 22, 2003
    Messages:
    50
    So it is, if I could understood lua.
     
  20. phos_hilaron

    phos_hilaron Warlord

    Joined:
    Jun 20, 2011
    Messages:
    128
    Location:
    Texas
    This is what I have been looking for and talking about in the ciV ideas sub forum. My concept was related to war and refugees, this is similar.
     

Share This Page