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

Request: the know-how to manually set a wonder cap of 3 per city.

Discussion in 'Rhye's and Fall Modmods' started by Cethegus, May 4, 2009.

  1. Cethegus

    Cethegus King

    Joined:
    Feb 28, 2008
    Messages:
    922
    Location:
    Finland
    Quite recently the cap of national wonders per city was set from 2 to 3 in RFC. I would like to know which file I need to modify to set a similiar cap to apply for world wonders too. Reasons for this are to add variety to the game and to increase the strategic value for wonders and the cities they are built in.

    All I want to know is which file this is issued in, I can figure the rest out later by myself. Thanks in advance.

    (I'm sure this isn't an issue big enough to need its own thread but I figured this would be one of the few places I could post it and be assured that it would get the coverage it needs. Besides, a smaller thread like this must liven up the board if even just a little.)
     
  2. sedna17

    sedna17 Emperor

    Joined:
    Mar 12, 2008
    Messages:
    1,091
    Assets/XML/GlobalDefines.xml, beginning at line 310:

    World Wonders at -1 means no limit.

    Code:
    <Define>
    	<DefineName>MAX_WORLD_WONDERS_PER_CITY</DefineName>
    	<iDefineIntVal>-1</iDefineIntVal>
    </Define>
    <Define>
    	<DefineName>MAX_TEAM_WONDERS_PER_CITY</DefineName>
    	<!-- Rhye -->
    	<iDefineIntVal>5</iDefineIntVal>
    </Define>
    <Define>
    	<DefineName>MAX_NATIONAL_WONDERS_PER_CITY</DefineName>
    	<!-- Rhye -->
    	<iDefineIntVal>3</iDefineIntVal>
    </Define>
    
     
  3. Cethegus

    Cethegus King

    Joined:
    Feb 28, 2008
    Messages:
    922
    Location:
    Finland
    Thanks a lot for the quick answer! :) This will be a great help to me.
     

Share This Page