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

Moddifying Stability Maps

Discussion in 'Rhye's and Fall Modmods' started by Crimson Phantom, Apr 8, 2010.

  1. Crimson Phantom

    Crimson Phantom Chieftain

    Joined:
    Jan 10, 2005
    Messages:
    54
    Location:
    Coolsylvania
    I like the whole stability thing, but not the fact that civs are limited based on historicity. If my British Empire wants to make a settler state out of Borneo, we should have the right!

    I was wondering, how difficult would it be to make a mod that turns all land for all civs into stability-neutral territory? Or does one already exist?
     
  2. Baldyr

    Baldyr "Hit It"

    Joined:
    Dec 5, 2009
    Messages:
    5,530
    Location:
    Sweden
    It would be as easy as deleting/commenting out one line of Python code, or so I believe. At least to get rid of the 32 tile limit on the number of plots allowed outside of historical area. There might be other code involved also.

    The line in question would be #456 in Stability.py. If you wanna change the tolerance value instead, then you need to change 32 into something else on line #455.
     
  3. micbic

    micbic Optimistic Pessimist

    Joined:
    Nov 9, 2008
    Messages:
    1,116
    Location:
    A bit N of 2 tiles W of Athenai
    All I can think about is the CvRhyes.cpp file on the CvGameCoreDLL folder of the mod. There are the settler/stability maps in it, listed as per civ. The maps will be totally neutral per civ, if you turn all the coded numbers to 20, 20, 20...etc. However, it would be a true timekiller.
     
  4. Leoreth

    Leoreth 心の怪盗団 Moderator

    Joined:
    Aug 23, 2009
    Messages:
    32,883
    Gender:
    Male
    Location:
    Leblanc
    Copy into notepad, search&replace, copy back :)
     

Share This Page